/* StoreMedica Features – Frontend */

/* Call for Price */
.smf-call-for-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #0952a5;
}
.smf-call-for-price .smf-call-link {
  color: #f52f2f;
  text-decoration: none;
  font-weight: 700;
}
.smf-call-for-price .smf-call-link:hover {
  text-decoration: underline;
}
.smf-single-call-wrap {
  margin: 16px 0;
}
.smf-call-btn {
  display: inline-block !important;
  margin-top: 12px !important;
  background: #0952a5 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.smf-call-btn:hover {
  background: #073d7a !important;
  color: #fff !important;
}

/* Search bar */
.smf-home-search-bar {
  max-width: 720px;
  margin: 16px auto;
  padding: 0 16px;
  position: relative;
  z-index: 50;
}
.smf-search-form {
  position: relative;
  width: 100%;
}
.smf-search-inner {
  display: flex;
  gap: 0;
  background: #fff;
  border: 2px solid #0952a5;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(9, 82, 165, 0.12);
}
.smf-search-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  padding: 14px 20px !important;
  font-size: 15px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.smf-search-btn {
  border: none !important;
  background: #0952a5 !important;
  color: #fff !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  cursor: pointer;
  white-space: nowrap;
}
.smf-search-btn:hover {
  background: #073d7a !important;
}
.smf-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 6px;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  max-height: 360px;
  overflow-y: auto;
  z-index: 100;
}
.smf-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none !important;
  color: #1a1a2e !important;
  border-bottom: 1px solid #f0f2f5;
}
.smf-search-item:hover {
  background: #f5f7fa;
}
.smf-search-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #fafbfc;
}
.smf-search-item-title {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
}
.smf-search-item-price {
  font-size: 12px;
  color: #0952a5;
  font-weight: 600;
  white-space: nowrap;
}

/* Language switcher */
.smf-lang-switcher {
  display: inline-flex;
  border: 1px solid #e8ecf1;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.smf-lang-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  color: #6b7280 !important;
  background: transparent;
}
.smf-lang-btn.active,
.smf-lang-btn:hover {
  background: #0952a5 !important;
  color: #fff !important;
}
.smf-lang-float {
  position: fixed;
  left: 16px;
  bottom: 24px;
  z-index: 9998;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-radius: 24px;
}

/* Careers */
.smf-careers-list {
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.smf-job-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 3px 12px rgba(9, 82, 165, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.smf-job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(9, 82, 165, 0.1);
}
.smf-job-title {
  margin: 0 0 10px !important;
  font-size: 1.2rem !important;
  color: #0952a5 !important;
}
.smf-job-title a {
  color: inherit !important;
  text-decoration: none !important;
}
.smf-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.smf-job-tag {
  background: #f0f6ff;
  color: #0952a5;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.smf-job-excerpt {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.smf-job-btn {
  background: #0952a5 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.smf-apply-form {
  max-width: 520px;
  margin: 24px 0;
  padding: 24px;
  background: #f5f7fa;
  border-radius: 12px;
}
.smf-apply-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 13px;
}
.smf-apply-form input,
.smf-apply-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.smf-apply-result {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
}
.smf-apply-result.success {
  background: #e6f7ed;
  color: #0a7a3e;
}
.smf-apply-result.error {
  background: #fde8e8;
  color: #c00;
}

@media (max-width: 600px) {
  .smf-search-btn {
    padding: 12px 16px !important;
  }
  .smf-lang-float {
    left: 10px;
    bottom: 80px;
  }
}

/* ===== Language select (Google Translate) ===== */
.smf-lang-switcher {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  border: 1px solid #e8ecf1;
  border-radius: 24px;
  padding: 4px 10px 4px 8px;
  background: #fff;
}
.smf-lang-label { font-size: 16px; line-height: 1; }
.smf-lang-select {
  border: none !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  cursor: pointer;
  outline: none !important;
  padding: 4px 2px !important;
  max-width: 140px;
}

/* ===== Career Page ===== */
.smf-career-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 40px;
  font-family: inherit;
  color: #1a1a2e;
}
.smf-career-hero {
  position: relative;
  background: linear-gradient(135deg, #073d7a 0%, #0952a5 50%, #0a6bcf 100%);
  border-radius: 20px;
  padding: 48px 36px;
  margin: 24px 0 40px;
  overflow: hidden;
  color: #fff;
}
.smf-career-hero-inner { position: relative; z-index: 2; max-width: 640px; }
.smf-career-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.smf-career-title {
  font-size: clamp(1.6rem, 4vw, 2.35rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 0 16px !important;
  color: #fff !important;
}
.smf-career-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.92;
  margin: 0 0 24px;
}
.smf-career-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.smf-career-orb {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  right: -40px; top: -60px;
  z-index: 1;
}
.smf-career-orb-2 {
  width: 180px; height: 180px;
  right: 120px; bottom: -40px;
  background: radial-gradient(circle, rgba(245,47,47,0.25) 0%, transparent 70%);
}

.smf-btn {
  display: inline-block !important;
  padding: 12px 24px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  border: 2px solid transparent !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.smf-btn-primary {
  background: #f52f2f !important;
  color: #fff !important;
  border-color: #f52f2f !important;
}
.smf-btn-primary:hover { background: #d41818 !important; border-color: #d41818 !important; color: #fff !important; }
.smf-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.6) !important;
}
.smf-btn-outline:hover { background: rgba(255,255,255,0.12) !important; color: #fff !important; }
.smf-career-contact-info .smf-btn-outline,
.smf-career-form .smf-btn-outline {
  color: #0952a5 !important;
  border-color: #0952a5 !important;
}
.smf-career-contact-info .smf-btn-outline:hover {
  background: #0952a5 !important;
  color: #fff !important;
}

.smf-career-section { margin-bottom: 48px; }
.smf-career-alt {
  background: #f5f7fa;
  border-radius: 16px;
  padding: 36px 28px;
}
.smf-career-h2 {
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #0952a5 !important;
  margin: 0 0 8px !important;
  text-align: center;
}
.smf-career-sub {
  text-align: center;
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.smf-career-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.smf-career-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(9,82,165,0.06);
  transition: transform 0.25s ease;
}
.smf-career-card:hover { transform: translateY(-4px); }
.smf-career-icon { font-size: 32px; margin-bottom: 10px; }
.smf-career-card h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
  color: #1a1a2e !important;
}
.smf-career-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.smf-career-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.smf-role-chip {
  background: #fff;
  border: 1px solid #d0e2ff;
  color: #0952a5;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 24px;
}
.smf-career-note {
  text-align: center;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 14px;
}

.smf-career-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.smf-career-contact-info {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(9,82,165,0.06);
}
.smf-contact-row {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f5;
}
.smf-contact-row:last-of-type { border-bottom: none; }
.smf-contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin-bottom: 4px;
}
.smf-contact-row a {
  color: #0952a5;
  font-weight: 600;
  text-decoration: none;
}
.smf-contact-row a:hover { text-decoration: underline; }
.smf-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.smf-career-form {
  background: #f5f7fa;
  border-radius: 14px;
  padding: 24px;
}
.smf-career-form h3 {
  margin: 0 0 16px !important;
  font-size: 1.1rem !important;
  color: #0952a5 !important;
}
.smf-career-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #374151;
}
.smf-career-form input,
.smf-career-form select,
.smf-career-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  margin-bottom: 12px;
  box-sizing: border-box;
  font-size: 14px;
  background: #fff;
}
.smf-career-form-result {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}
.smf-career-form-result.success { background: #e6f7ed; color: #0a7a3e; }
.smf-career-form-result.error { background: #fde8e8; color: #c00; }

.smf-career-footer {
  text-align: center;
  padding: 28px 0 10px;
  border-top: 1px solid #e8ecf1;
  color: #9ca3af;
  font-size: 13px;
}
.smf-career-author {
  margin-top: 6px;
  color: #6b7280;
}
.smf-career-author strong { color: #0952a5; }

@media (max-width: 900px) {
  .smf-career-grid { grid-template-columns: repeat(2, 1fr); }
  .smf-career-contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .smf-career-grid { grid-template-columns: 1fr; }
  .smf-career-hero { padding: 32px 20px; }
}
