* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body, html {
  margin: 0;
  padding: 0;
}

.shirt-page {
  min-height: 100vh;
  background: #ffffff;
}

.shirt-content {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  margin-top: 10px;
  margin-left: 2rem;
  margin-right: 2rem;
}

.shirt-image-wrap {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shirt-main-image {
  width: 77%;
  border-radius: 20px;
}

.shirt-chart {
  height: 50px;
}

.shirt-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.shirt-details h2 {
  font-size: 2.5rem;
}

.shirt-details p {
  color: #6b7280;
  line-height: 1.7;
  font-size: 1.05rem;
}
.shirt-details h6 {
  color: #6b7280;
  font-weight:normal;
  font-size: 0.6rem;
}
.mon {
  color: #059669;
  font-size: 40px;
  font-weight: 700;
}

/* ── Nav ───────────────────────────────────────────────────── */
.shirt-nav {
  background-color: #333132;
  padding: 1.5rem 4rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shirt-nav a.nav-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #f5900b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.shirt-nav a.nav-logo .dr {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.shirt-nav a.nav-logo .bcc {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #d0d6e0 !important;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-cart:hover { color: #fff; background: rgba(138, 135, 135, 0.08) !important; }
.nav-cart svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #3b82f6;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform 0.2s;
}
.cart-badge.hidden { display: none; }
.cart-badge.bump   { transform: scale(1.35); }

/* ── Gallery ───────────────────────────────────────────────── */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 6px;
  z-index: 10;
  transition: background 0.2s;
}
.gallery-btn:hover { background: rgba(0,0,0,0.7); }
.gallery-btn.left  { left: 120px; }
.gallery-btn.right { right: 120px; }
.shirt-image-wrap:hover .gallery-btn { opacity: 1; }

/* ── Order controls ────────────────────────────────────────── */
.order-controls {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.size-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.size-qty-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.select-wrapper {
  position: relative;
  width: 180px;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  background: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.select-wrapper select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}
.select-wrapper select:hover { border-color: #9ca3af; }

.select-wrapper svg.select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 16px;
  height: 16px;
  color: #6b7280;
}

/* ── Qty picker ────────────────────────────────────────────── */
.qty-wrapper {
  display: flex;
  width: 180px;
}
.qty-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  background: #fff;
  height: 47px;
  width: 90px;
  margin: 0 auto;
  
}

.qty-wrap .qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #374151;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.15s;
}
.qty-wrap .qty-btn:hover { background: #f3f4f6; }

.qty-wrap #qty-display {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  min-width: 20px;
  text-align: center;
}

/* ── Size hint ─────────────────────────────────────────────── */
.size-hint {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.25rem;
  transition: opacity 0.3s;
}

/* ── Buttons ───────────────────────────────────────────────── */
.add-to-cart-btn {
  width: 180px;
  height: 70px;
  padding: 0.8rem;
  border: none;
  background: #06be84;
  color: #ffffff;
  border-radius: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 0.3rem;
}
.add-to-cart-btn:hover:not(:disabled) { background: #059669; }
.add-to-cart-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.add-to-cart-btn.added {
  background: #059669;
  color: #fff;
}

.checkout-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.go-checkout-btn {
  width: 100px;
  height: 40px;
  margin-left: 40px;
  justify-content: center;
  padding: 0.1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid #111827;
  background: transparent;
  color: #111827;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.go-checkout-btn:hover:not(:disabled) {
  background: #f3f4f6;
  transform: translateY(-1px);
}
.go-checkout-btn:active:not(:disabled) { transform: translateY(0); }
.go-checkout-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #111827;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Progress bar ──────────────────────────────────────────── */
.progress-container {
  width: 100%;
  height: 40px;
  background: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: #7a89e0;
  width: 0%;
}

.progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 0;
  left: 0;
  line-height: 40px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  z-index: 2;
  pointer-events: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .shirt-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .size-qty-row {
    flex-direction: column;
    align-items: center;
  }
  .qty-wrapper {
    display: flex;
    width: 180px;
  }
  .shirt-chart {
    width: auto;
    max-width: 100%;
    height: 50px;
    object-fit: contain;
    margin-top: 1rem;
  }

  .shirt-image-wrap {
    width: 90%;
    margin: 0 auto;
    justify-content: center;
  }

  .shirt-nav { padding: 1rem; }

  .shirt-details {
    align-items: center;
    text-align: center;
    width: 90%;
  }

  .order-controls {
    align-items: center;
    width: 100%;
  }

  .select-wrapper { width: 200px; }

  .gallery-btn { padding: 0.4rem 0.7rem; font-size: 1.2rem; }
  .gallery-btn.left  { left: -15px; }
  .gallery-btn.right { right: -15px; }

  .go-checkout-btn {
    margin-left: 0;
    margin-bottom: 20px;
  }
}