/* 86 EVERYTHING — Shop Page Styles */

/* NAV */
.shop-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 64px);
  height: 56px;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1917;
}

.shop-nav__brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ivory);
  text-decoration: none;
}

.shop-nav__links {
  display: flex;
  gap: 32px;
}

.shop-nav__link {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.shop-nav__link:hover,
.shop-nav__link.active {
  color: var(--ivory);
}

/* HEADER */
.shop-header {
  padding: 96px clamp(24px, 5vw, 64px) 64px;
  border-bottom: 1px solid #1a1917;
}

.shop-header__inner {
  max-width: 680px;
}

.shop-header__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.shop-header__sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
}

/* COLLECTIONS GRID */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1px;
  background: #1a1917;
  border-bottom: 1px solid #1a1917;
}

.col-card {
  background: var(--bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s ease;
}

.col-card:hover {
  background: #0f0f0f;
}

.col-card__accent {
  height: 2px;
  width: 100%;
  flex-shrink: 0;
}

.col-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 32px 0;
}

.col-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.col-card__desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 240px;
}

.col-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 4px;
}

.col-card__count {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brass);
  text-transform: uppercase;
}

.col-card__range {
  font-size: 13px;
  color: var(--text-dim);
}

.col-card__sold-out-notice {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 16px 32px 0;
  padding: 8px 12px;
  background: #1a1510;
  border: 1px solid #3a3020;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #C8A96E;
  text-transform: uppercase;
}

/* PRODUCT LIST */
.col-card__products {
  list-style: none;
  margin: 24px 0 0;
  padding: 0 32px;
  border-top: 1px solid #1a1917;
  flex: 1;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #1a1917;
  gap: 16px;
}

.product-item:last-child {
  border-bottom: none;
}

.product-item__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.product-item__name {
  font-size: 13px;
  color: var(--text);
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-item__type {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.product-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.product-item__price {
  font-size: 13px;
  color: var(--ivory-dim);
}

.product-item__note {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.product-item__note--sale {
  color: var(--brass-light);
}

.product-item--sold-out .product-item__name,
.product-item--sold-out .product-item__price {
  color: var(--text-dim);
  text-decoration: line-through;
}

.product-item--sold-out .product-item__note {
  color: #C8A96E;
}

/* CTA */
.col-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 32px 32px;
  padding: 12px;
  border: 1px solid #2a2826;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.col-card__cta:hover {
  border-color: var(--brass);
  color: var(--ivory);
}

/* SHOP LAYOUT */
.shop-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1px;
  background: #1a1917;
  align-items: start;
}

/* SIDEBAR */
.shop-sidebar {
  background: var(--stone);
  padding: 32px 24px;
  border-right: 1px solid #1a1917;
  position: sticky;
  top: 56px;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.shop-search {
  width: 100%;
  background: var(--bg);
  border: 1px solid #2a2826;
  color: var(--ivory);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  margin-bottom: 32px;
}

.shop-search::-webkit-search-cancel-button {
  display: none;
}

.shop-search::placeholder {
  color: var(--text-dim);
}

.shop-search:focus {
  border-color: var(--brass);
}

.filter-section-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
  display: block;
}

.filter-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 0;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: none;
  border: none;
  border-bottom: 1px solid #1a1917;
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-btn:hover {
  color: var(--ivory);
}

.filter-btn--active {
  color: var(--brass);
  border-left: 2px solid var(--brass);
  padding-left: 8px;
}

.col-card[data-hidden],
.product-item[data-hidden] {
  display: none;
}

/* SOLD OUT SECTION */
.sold-out-section {
  padding: 80px clamp(24px, 5vw, 64px);
  border-bottom: 1px solid #1a1917;
  background: #0c0c0c;
}

.sold-out-section__inner {
  max-width: 600px;
}

.sold-out-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.sold-out-section__body {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.6;
}

.sold-out-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #1a1917;
}

.sold-out-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg);
}

.sold-out-item__name {
  font-size: 14px;
  color: var(--text);
}

.sold-out-item__col {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sold-out-item__price {
  font-size: 13px;
  color: var(--text-dim);
}

/* SHOP FOOTER */
.shop-footer {
  padding: 64px clamp(24px, 5vw, 64px);
  background: var(--stone);
}

.shop-footer__inner {
  max-width: 600px;
}

.shop-footer__brand {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ivory);
  text-decoration: none;
  margin-bottom: 12px;
}

.shop-footer__tagline {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 32px;
  font-style: italic;
}

.shop-footer__links {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.shop-footer__links a {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.shop-footer__links a:hover {
  color: var(--ivory);
}

.shop-footer__copy {
  font-size: 11px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .shop-nav__links {
    gap: 20px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    max-height: none;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #1a1917;
    padding: 20px clamp(24px, 5vw, 64px);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .shop-sidebar .filter-section-label {
    display: none;
  }

  .filter-btn {
    border: none;
    border-bottom: none;
    padding: 6px 12px;
    background: #1a1917;
    white-space: nowrap;
  }

  .filter-btn:hover,
  .filter-btn--active {
    padding-left: 12px;
    border-left: none;
  }

  .filter-btn--active {
    background: var(--brass);
    color: var(--bg);
  }

  .shop-search {
    margin-bottom: 0;
    width: 140px;
    flex-shrink: 0;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .col-card__header {
    flex-direction: column;
    gap: 8px;
  }

  .col-card__meta {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .col-card__desc {
    max-width: none;
  }

  .sold-out-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .shop-nav {
    padding: 0 20px;
  }

  .shop-nav__links {
    gap: 16px;
  }

  .shop-nav__link {
    font-size: 10px;
  }

  .shop-header {
    padding: 64px 20px 48px;
  }

  .col-card__header,
  .col-card__products {
    padding-left: 20px;
    padding-right: 20px;
  }

  .col-card__cta {
    margin-left: 20px;
    margin-right: 20px;
  }
}