/* ══ PIECE PAGE ══ */
#piece-page { background: #fff; }
.piece-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 52px 0;
  position: relative;
}
.piece-topbar .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.back-btn {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #000;
  cursor: pointer;
  background: none;
  border: none;
  text-transform: uppercase;
}
.back-btn:hover { opacity: 0.4; }
.piece-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  padding: 52px;
  gap: 64px;
  align-items: start;
}
.model-side { display: flex; align-items: center; justify-content: center; }
.model-box {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.model-box p {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #bbb;
  text-align: center;
  text-transform: uppercase;
  line-height: 2;
}
.story-side { display: flex; flex-direction: column; padding-top: 10px; }
.p-num {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #aaa;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.p-title {
  font-family: 'YeTest';
  font-size: 68px;
  line-height: 1;
  color: #000;
  margin-bottom: 6px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.p-sub {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.p-story {
  font-family: 'YeezyTstar';
  font-size: 17px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 48px;
}
.p-story p + p { margin-top: 18px; }
.p-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid #e8e8e8;
  padding-top: 28px;
  margin-bottom: 32px;
}
.meta-l {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.meta-v {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #000;
}
.buy-btn {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 18px;
  font-family: 'YeezyTstar', sans-serif;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}
.buy-btn:hover { opacity: 0.65; }

/* ══ INFO PAGES (support, licensing, gallery) ══ */
.info-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 52px 0;
  position: relative;
}
.info-topbar .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.info-body { padding: 80px 52px; max-width: 720px; }
.info-tag {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.info-heading {
  font-family: 'YeTest';
  font-size: 60px;
  line-height: 1;
  margin-bottom: 40px;
  color: #000;
}
.info-p {
  font-family: 'YeTest';
  font-size: 18px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 22px;
}

/* ══ ABOUT PAGE ══ */
.about-layout {
  display: flex;
  flex: 1;
  overflow-y: auto;
}
.about-left {
  width: 55%;
  padding: 80px 52px;
  order: 1;
}
.about-right {
  width: 45%;
  padding: 80px 52px;
  order: 2;
}

/* ══ SHOP PAGE ══ */
.shop-body {
  flex: 1;
  padding: 48px 52px;
  overflow-y: auto;
}
.shop-header { margin-bottom: 24px; }
.shop-controls {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shop-search-wrap { display: flex; }
.shop-search {
  width: 100%;
  max-width: 360px;
  padding: 10px 16px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-family: 'YeezyTstar', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  outline: none;
  transition: border-color 0.2s;
}
.shop-search::placeholder { color: #bbb; }
.shop-search:focus { border-color: #000; background: #fff; }
.shop-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.filter-label {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #aaa;
  min-width: 80px;
}
.filter-options {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid #ddd;
  background: transparent;
  color: #888;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: #000; color: #000; }
.filter-btn.active {
  background: #000;
  border-color: #000;
  color: #fff;
}
.filter-collection-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.filter-dropdown-btn {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid #ddd;
  background: transparent;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.filter-dropdown-btn:hover,
.filter-dropdown-btn.open { border-color: #000; color: #000; }
.filter-dropdown-arrow {
  font-size: 9px;
  transition: transform 0.2s;
}
.filter-dropdown-btn.open .filter-dropdown-arrow { transform: rotate(-90deg); }
.filter-dropdown-panel {
  display: none;
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px;
  gap: 6px;
  flex-direction: row;
  white-space: nowrap;
  z-index: 100;
}
.filter-dropdown-panel.open { display: flex; }
.filter-dropdown-close {
  background: none;
  border: none;
  font-size: 11px;
  color: #aaa;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 2px;
  transition: color 0.15s;
}
.filter-dropdown-close:hover { color: #000; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.shop-item { cursor: pointer; }
.shop-item:hover .shop-img-placeholder { opacity: 0.7; }
.shop-item-locked { cursor: default; opacity: 0.4; }
.shop-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #f0f0f0;
  border: 1px solid #e4e4e4;
  margin-bottom: 14px;
  transition: opacity 0.2s;
}
.shop-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
}
.shop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}
.shop-img-back { opacity: 0; }
.shop-item:hover .shop-img-back.revealed { opacity: 1; }
.shop-item:hover .shop-img-front.revealed { opacity: 0; }
.shop-item-name {
  font-family: 'YeTest';
  font-size: 18px;
  color: #000;
  margin-bottom: 4px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.shop-item-collection {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 4px;
}
.shop-item-sub {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
}

/* ══ PRODUCT VIDEO ══ */
.product-video {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  display: block;
  background: #f4f4f4;
  object-fit: cover;
}

/* ══ SIZE SELECTOR ══ */
.size-selector { margin-bottom: 32px; }
.size-label {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 10px;
}
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid #ddd;
  background: transparent;
  color: #888;
  cursor: pointer;
  transition: all 0.15s;
}
.size-btn:hover { border-color: #000; color: #000; }
.size-btn.active { background: #000; border-color: #000; color: #fff; }

/* ══ CONFIRMATION PAGE ══ */
#confirm-page { background: #fff; }
.confirm-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 52px;
  text-align: center;
}
.confirm-tag {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 20px;
}
.confirm-heading {
  font-family: 'YeTest';
  font-size: 56px;
  line-height: 1;
  color: #000;
  margin-bottom: 24px;
}
.confirm-order-num {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.confirm-email-note {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 48px;
  line-height: 1.8;
}
.confirm-back-btn {
  font-family: 'YeezyTstar', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  border: none;
  padding: 18px 52px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.confirm-back-btn:hover { opacity: 0.7; }

/* ══ MOBILE ══ */
@media (max-width: 768px) {
  .piece-topbar,
  .info-topbar {
    flex-wrap: wrap;
    padding: 20px 20px 0;
    gap: 8px;
  }
  .piece-topbar .logo,
  .info-topbar .logo {
    position: static;
    transform: none;
    order: -1;
    width: 100%;
  }
  .piece-layout {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 32px;
  }
  .p-title { font-size: 48px; }
  .shop-grid { grid-template-columns: 1fr; gap: 24px; }
  .shop-body { padding: 36px 20px; }
  .info-body { padding: 48px 20px; }
  .info-heading { font-size: 44px; }
  .about-layout {
    flex-direction: column-reverse;
    overflow-y: unset;
  }
  .about-left,
  .about-right {
    width: 100%;
    padding: 40px 20px;
    border: none;
  }
}