/* ── Shop Layout ────────────────────────────────────────────────────────────── */
.shop-page {
  min-height: 100vh;
  padding-top: 80px;
}

.shop-header {
  padding: 4rem 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.shop-header .section-label {
  margin-bottom: 0.5rem;
}

.shop-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.shop-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ── Product Grid ─────────────────────────────────────────────────────────────── */
.product-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
}

.product-card-full {
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.product-card-full:hover {
  background: #2A2720;
}

.product-card-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.product-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.product-card-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,169,110,0.1);
}

.product-card-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
}

/* ── Product Detail ───────────────────────────────────────────────────────────── */
.product-detail {
  min-height: 100vh;
  padding-top: 80px;
}

.product-detail-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 3rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.product-detail-image-wrap {
  position: sticky;
  top: 100px;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.product-detail-info {
  padding-top: 1rem;
}

.product-detail-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product-detail-name {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.product-detail-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.product-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-detail-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text);
}

.product-detail-shipping {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-add-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.btn-add-cart {
  background: var(--accent);
  color: #1A1814;
  border: none;
  padding: 1rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
}

.btn-add-cart:hover {
  background: #D4B87A;
}

.btn-add-cart:active {
  transform: scale(0.98);
}

/* ── Specs Table ──────────────────────────────────────────────────────────────── */
.product-specs {
  border-top: 1px solid rgba(201,169,110,0.1);
  padding-top: 2rem;
}

.product-specs-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(201,169,110,0.08);
}

.spec-row {
  background: var(--bg-card);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  font-size: 0.9rem;
  color: var(--text);
}

/* ── Cart ─────────────────────────────────────────────────────────────────────── */
.cart-page {
  min-height: 100vh;
  padding-top: 80px;
}

.cart-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 3rem 6rem;
}

.cart-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-muted);
}

.cart-empty p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(201,169,110,0.08);
  margin-bottom: 2rem;
}

.cart-item {
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text);
}

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

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(201,169,110,0.3);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.qty-btn:hover {
  border-color: var(--accent);
}

.qty-value {
  font-size: 0.9rem;
  color: var(--text);
  min-width: 24px;
  text-align: center;
}

.cart-item-subtotal {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  min-width: 70px;
  text-align: right;
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.5rem;
  transition: color 0.2s;
}

.cart-remove-btn:hover {
  color: var(--accent);
}

.cart-summary {
  background: var(--bg-card);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.cart-total-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 500;
}

.cart-total-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-checkout {
  background: var(--accent);
  color: #1A1814;
  border: none;
  padding: 1rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
}

.btn-checkout:hover {
  background: #D4B87A;
}

.btn-continue-shopping {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 0.75rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: block;
}

.btn-continue-shopping:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── Checkout Success ─────────────────────────────────────────────────────────── */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

.success-inner {
  max-width: 600px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.success-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 1rem;
}

.success-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.success-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 2rem auto;
  opacity: 0.5;
}

/* ── 404 ──────────────────────────────────────────────────────────────────────── */
.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

.not-found-inner {
  text-align: center;
}

.not-found-code {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  font-weight: 300;
  color: rgba(201,169,110,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.not-found-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.not-found-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Nav Extensions (shop pages) ───────────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--text);
}

.nav-cart-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-cart-link:hover {
  color: var(--text);
}

.nav-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #1A1814;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .product-grid-full {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem 4rem;
  }

  .product-detail-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem 4rem;
  }

  .product-detail-image-wrap {
    position: static;
  }

  .cart-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .cart-item-qty,
  .cart-item-subtotal {
    grid-column: 2;
  }

  .cart-remove-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .cart-item {
    position: relative;
  }

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

@media (max-width: 600px) {
  .product-grid-full {
    grid-template-columns: 1fr;
  }

  .shop-header {
    padding: 3rem 1.5rem 1.5rem;
  }
}