/* ═══════════════════════════════════════════════
   GITTER KONFIGURATOR UI (Modern Redesign)
   ═══════════════════════════════════════════════ */

/* ── WRAPPER ──────────────────────────────────── */
.gk-wrap {
  margin: 0;
  padding: 0; /* Handled by the parent wrapper in the new design */
  background: transparent;
  color: #1a1f2e; /* dark text */
  font-family: inherit;
  width: 100%;
}

.gk-wrap *, .gk-wrap *::before, .gk-wrap *::after {
  box-sizing: border-box;
}

.gk-title {
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--r-dark, #121c2e);
  display: none; /* Hide default title, parent handles it now */
}

/* ── GRID LAYOUT ──────────────────────────────── */
.gk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

/* ── FORM FIELDS ──────────────────────────────── */
.gk-field {
  display: flex;
  flex-direction: column;
}

.gk-field label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.3rem;
  margin-bottom: .8rem;
  color: var(--r-dark, #121c2e);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.gk-field label i {
  color: var(--r-red, #9b1b1b);
  font-size: 1.8rem;
}

.gk-field input[type="text"],
.gk-field input[type="number"],
.gk-field select {
  width: 100%;
  padding: 1.2rem 1.4rem;
  font-size: 1.45rem;
  color: #111;
  background-color: #f7f7f8;
  border: 1px solid #eaeaec;
  border-radius: .8rem;
  outline: none;
  transition: all .3s cubic-bezier(.22,1,.36,1);
  font-family: inherit;
  appearance: none; /* For selects */
}

/* Custom dropdown arrow for selects */
.gk-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 16l-6-6h12z' fill='rgba(18,28,46,0.5)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 2rem;
  padding-right: 3.6rem;
}

.gk-field input:hover,
.gk-field select:hover {
  background-color: #fff;
  border-color: #d1d1d5;
  box-shadow: 0 4px 12px rgba(0,0,0,.03);
}

.gk-field input:focus,
.gk-field select:focus {
  background-color: #fff;
  border-color: var(--r-red, #9b1b1b);
  box-shadow: 0 0 0 4px rgba(155, 27, 27, 0.12), 0 4px 16px rgba(155, 27, 27, 0.08);
}

.gk-note, .gk-help {
  margin-top: .6rem;
  font-size: 1.2rem;
  color: #666;
  line-height: 1.4;
}

.gk-note strong {
  color: var(--r-red, #9b1b1b);
}

/* ── RAL COLOR SECTION ────────────────────────── */
.gk-ral-wrap {
  margin-top: 1.6rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,.03);
}

.gk-ral-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: .05em;
  font-weight: 700;
  text-transform: uppercase;
}

.gk-infobox {
  margin-top: 1.2rem;
  padding: 1.2rem 1.6rem;
  border-radius: .8rem;
  background: rgba(18, 28, 46, 0.04);
  border-left: 3px solid var(--r-red, #9b1b1b);
  font-size: 1.3rem;
  line-height: 1.45;
  color: #444;
}

.gk-infobox a {
  color: var(--r-red, #9b1b1b);
  text-decoration: none;
  font-weight: 600;
  transition: all .2s;
}

.gk-infobox a:hover {
  text-decoration: underline;
  color: var(--r-dark, #121c2e);
}

/* ── SHIPPING SECTION ─────────────────────────── */
.gk-shipping-wrap {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,.03);
}

.gk-shipping-wrap .gk-field label {
  color: var(--r-red-glow, #c0392b);
}
.gk-shipping-wrap .gk-field label i {
  font-size: 1.8rem;
}

/* ── PRICE BOX ────────────────────────────────── */
.gk-pricebox {
  margin-top: 2.4rem;
  padding: 2.4rem 0 1rem;
  border-top: 2px solid #eaeaec;
  text-align: left;
}

.gk-price-label {
  font-size: 1.4rem;
  font-weight: 700;
  color: #8a8d93;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .8rem;
}

.gk-price-value {
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 900;
  color: black;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.gk-price-note {
  font-size: 1.25rem;
  color: #666;
}

.gk-price-note a {
  color: var(--r-red, #9b1b1b);
  text-decoration: underline;
  font-weight: 600;
}
.gk-price-note a:hover {
  text-decoration: none;
  color: var(--r-dark, #121c2e);
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 600px) {
  .gk-grid { 
    grid-template-columns: 1fr; 
    gap: 1.2rem;
  }
}
