/* =====================================================
   LOVING TOYS — CONTACT PAGE CSS (SIMPLE VERSION)
   ===================================================== */

/* ===================== BREADCRUMB ===================== */
.ct-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--gray3);
  padding: 9px 0;
}
.ct-breadcrumb .breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--gray4);
}
.ct-breadcrumb .breadcrumb-nav a { color: var(--gray5); transition: color var(--trans); }
.ct-breadcrumb .breadcrumb-nav a:hover { color: var(--gold); }
.ct-breadcrumb .bc-sep { font-size: .6rem; color: var(--gray3); }
.ct-breadcrumb .bc-current { color: var(--gold); font-weight: 600; }

/* ===================== SIMPLE CONTACT LAYOUT ===================== */
.ct-simple-section {
  background: #fafafa;
  padding: 60px 0 80px;
}

.ct-simple-header {
  text-align: center;
  margin-bottom: 40px;
}
.ct-simple-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  font-family: serif;
  margin-bottom: 15px;
}
.ct-simple-header p {
  font-size: 0.95rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.ct-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
}

/* ===================== MAP BOX ===================== */
.ct-map-box {
  width: 100%;
  min-height: 400px;
  background: #eaeaea;
}

/* ===================== FORM BOX ===================== */
.ct-simple-form-box {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ct-sf-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.ct-simple-form-box h2 {
  font-size: 1.8rem;
  font-family: serif;
  color: #111;
  margin-bottom: 25px;
}

.ct-simple-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-sf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-sf-field {
  position: relative;
}

.ct-sf-field input,
.ct-sf-field select,
.ct-sf-field textarea {
  width: 100%;
  background: #f7f7f7;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-family: inherit;
  color: #333;
  transition: all 0.2s;
  outline: none;
}

.ct-sf-field input::placeholder,
.ct-sf-field textarea::placeholder {
  color: #888;
}

.ct-sf-field select {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23888" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
}
.ct-sf-field select:invalid {
  color: #888;
}

.ct-sf-field input:focus,
.ct-sf-field select:focus,
.ct-sf-field textarea:focus {
  background: #fff;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.ct-sf-field input.error,
.ct-sf-field select.error,
.ct-sf-field textarea.error {
  border-color: #ef4444;
  background: #fef2f2;
}

.ct-sf-field textarea {
  resize: vertical;
}

.ct-err {
  display: block;
  font-size: 0.7rem;
  color: #ef4444;
  margin-top: 4px;
  min-height: 14px;
}

.ct-submit-btn {
  background: #22c55e;
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  align-self: flex-start;
  min-width: 150px;
}
.ct-submit-btn:hover {
  background: #16a34a;
}
.ct-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ct-btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin-left: 10px;
}
.ct-submit-btn.loading span {
  opacity: 0.5;
}
.ct-submit-btn.loading .ct-btn-loader {
  display: block;
}

@keyframes spin { 
  to { transform: rotate(360deg); } 
}

/* Success State */
.ct-success {
  text-align: center;
  padding: 30px 20px;
}
.ct-success-icon {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 15px;
}
.ct-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.ct-success p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 25px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .ct-simple-grid {
    grid-template-columns: 1fr;
  }
  .ct-map-box {
    min-height: 300px;
  }
  .ct-simple-form-box {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .ct-sf-row {
    grid-template-columns: 1fr;
  }
  .ct-simple-header h1 {
    font-size: 2rem;
  }
  .ct-submit-btn {
    width: 100%;
  }
}
