/* Product Detail Page Styles */
/* Center the main content */
.sheet {
  max-width: 1100px;
  margin: 0 auto !important; /* Force center alignment */
  background: white;
  box-shadow: 0 8px 30px rgba(17,24,39,0.08);
  padding: 2rem;
  border-radius: 8px;
}

/* Ensure body content is centered */
body {
  padding-top: 120px; /* Prevent navbar overlap */
  background-color: #f3f4f6;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Container centering */
.container, .nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive padding */
@media (min-width: 768px) {
  .sheet {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .sheet {
    margin: 20px;
    padding: 1.5rem;
  }
}

/* Button styles */
.primary-btn {
  display: inline-block;
  background: #f6c600;
  color: #111827;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.primary-btn:hover {
  background: #e6b800;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Spacing utilities */
.my-4 { margin: 1rem 0; }
.my-10 { margin: 2.5rem 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.text-center { text-align: center; }

/* Typography */
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-sm { font-size: 0.875rem; }
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }

/* Colors */
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4b5563; }
.text-gray-500 { color: #6b7280; }
.text-black { color: #000; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-900 { background-color: #111827; }

/* Responsive design */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:p-10 { padding: 2.5rem; }
}

/* Table styles */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.spec-table th,
.spec-table td {
  border: 1px solid #d1d5db;
  padding: 0.75rem;
  text-align: left;
}

.spec-table th {
  background: linear-gradient(90deg, #f6c600, #ffd94d);
  font-weight: 600;
  color: #111827;
}

/* Checkbox styles */
.spec-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid #111827;
  display: inline-grid;
  place-items: center;
  margin-right: 0.5rem;
  background: white;
  border-radius: 3px;
}

.spec-checkbox:checked {
  background: #111827;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.629 13.184a1 1 0 01-1.415 0L3.3 10.27a1 1 0 111.415-1.415l1.657 1.657 5.596-5.596a1 1 0 111.415 1.415L7.63 13.184z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.65rem;
  border-color: #111827;
}

/* Header styles */
header {
  margin-bottom: 2rem;
}

/* Decorative elements */
.bg-yellow {
  background-color: #f6c600;
  color: #111827;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Ensure proper spacing */
* {
  box-sizing: border-box;
}

/* Fix any potential overflow issues */
img {
  max-width: 100%;
  height: auto;
}
