/* ==========================================================================
   Atelier Noir - Fashion Store Concept Demo Stylesheet
   Palette: Stark Monochrome (#09090b, #ffffff, #27272a, #71717a)
   ========================================================================== */

:root {
  --fsh-bg: #09090b;
  --fsh-surface: #18181b;
  --fsh-card: #121215;
  --fsh-border: #27272a;
  --fsh-border-hover: #52525b;

  --fsh-text: #fafafa;
  --fsh-text-muted: #a1a1aa;
  --fsh-text-dim: #71717a;

  --font-fashion: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--fsh-bg);
  color: var(--fsh-text);
  font-family: var(--font-fashion);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.fsh-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.fsh-header {
  border-bottom: 1px solid var(--fsh-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 38px;
  z-index: 100;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(12px);
}

.fsh-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fsh-brand {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.fsh-nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.fsh-nav-links a {
  color: var(--fsh-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.fsh-nav-links a:hover {
  color: #fff;
}

.fsh-cart-trigger {
  background: transparent;
  border: 1px solid var(--fsh-border);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.fsh-cart-trigger:hover {
  border-color: #fff;
}

.fsh-cart-badge {
  background: #fff;
  color: #09090b;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.72rem;
}

/* Editorial Hero */
.fsh-hero {
  padding: 6rem 0 5rem 0;
  border-bottom: 1px solid var(--fsh-border);
}

.fsh-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.fsh-collection-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fsh-text-muted);
  margin-bottom: 1rem;
}

.fsh-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.fsh-hero-desc {
  font-size: 1.05rem;
  color: var(--fsh-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.fsh-hero-visual {
  height: 380px;
  background: #141416;
  border: 1px solid var(--fsh-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.fsh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: #fff;
  color: #09090b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.fsh-btn:hover {
  background: transparent;
  color: #fff;
}

/* Catalogue Section */
.fsh-section {
  padding: 5rem 0;
}

.fsh-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.fsh-section-title {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.fsh-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.fsh-filter-btn {
  background: transparent;
  border: none;
  color: var(--fsh-text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.fsh-filter-btn.active, .fsh-filter-btn:hover {
  color: #fff;
}

.fsh-filter-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
}

.fsh-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.fsh-product-card {
  background: var(--fsh-card);
  border: 1px solid var(--fsh-border);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.fsh-product-card:hover {
  border-color: var(--fsh-border-hover);
}

.fsh-product-thumb {
  height: 280px;
  background: #141418;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-bottom: 1px solid var(--fsh-border);
  color: #52525b;
}

.fsh-product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fsh-product-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fsh-text-dim);
  margin-bottom: 0.35rem;
}

.fsh-product-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}

.fsh-product-price {
  font-size: 0.95rem;
  color: var(--fsh-text-muted);
  margin-bottom: 1.25rem;
}

.fsh-add-btn {
  margin-top: auto;
  width: 100%;
  padding: 0.7rem;
  background: transparent;
  border: 1px solid var(--fsh-border);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.fsh-add-btn:hover {
  background: #fff;
  color: #09090b;
}

/* Slide-out Cart Drawer */
.fsh-cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #09090b;
  border-left: 1px solid var(--fsh-border);
  z-index: 10000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fsh-cart-drawer.open {
  right: 0;
}

.fsh-cart-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--fsh-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fsh-cart-title {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.fsh-cart-close {
  background: transparent;
  border: none;
  color: var(--fsh-text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.fsh-cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fsh-empty-cart {
  color: var(--fsh-text-dim);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 3rem;
}

.fsh-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--fsh-border);
}

.fsh-cart-item-name {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.fsh-cart-item-price {
  font-size: 0.82rem;
  color: var(--fsh-text-muted);
}

.fsh-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fsh-qty-btn {
  background: var(--fsh-surface);
  border: 1px solid var(--fsh-border);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fsh-cart-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--fsh-border);
  background: #0d0d10;
}

.fsh-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.fsh-cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
}

.fsh-cart-backdrop.open {
  display: block;
}

/* Footer */
.fsh-footer {
  border-top: 1px solid var(--fsh-border);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--fsh-text-dim);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .fsh-hero-grid {
    grid-template-columns: 1fr;
  }
  .fsh-nav-links {
    display: none;
  }
}
