/*
Theme Name: Qichen Child
Description: O’Panama child theme for safe WooCommerce and location customizations.
Author: O’Panama
Template: qichen
Version: 1.0.0
Text Domain: qichen-child
*/

:root {
  --opanama-color-ink: #111111;
  --opanama-color-brand: #f47a20;
  --opanama-color-surface: #ffffff;
  --opanama-color-muted: #6b6b6b;
  --opanama-radius: 12px;
  --opanama-space: 16px;
}

.opanama-location-selector,
.opanama-product-modifiers {
  margin: 1.5rem 0;
}

.opanama-location-selector fieldset,
.opanama-modifier-group {
  border: 1px solid #e5e5e5;
  border-radius: var(--opanama-radius);
  padding: var(--opanama-space);
  margin-bottom: var(--opanama-space);
}

.opanama-location-selector label,
.opanama-modifier-option {
  display: block;
  margin: 0.5rem 0;
}

.opanama-location-selector button {
  background: var(--opanama-color-brand);
  color: var(--opanama-color-ink);
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
}

.opanama-modifier-rule,
.opanama-location-meta {
  color: var(--opanama-color-muted);
  font-size: 0.9em;
}

.opanama-branch-bar {
  background: var(--opanama-color-ink);
  color: var(--opanama-color-surface);
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}

.opanama-branch-bar a {
  color: var(--opanama-color-surface);
  margin-left: 0.75rem;
  text-decoration: underline;
}

.opanama-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--opanama-space);
}

.opanama-location-card {
  border: 1px solid #e5e5e5;
  border-radius: var(--opanama-radius);
  padding: clamp(1rem, 3vw, 2rem);
}

.opanama-location-card h3 {
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .opanama-location-grid {
    grid-template-columns: 1fr;
  }
}
