.contact-page {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 55px 24px 80px;
  min-width: 0;
  overflow: hidden;
}

.contact-header {
  width: 100%;
  max-width: 650px;
  margin: 0 auto 42px;
  text-align: center;
}

.contact-eyebrow {
  margin-bottom: 8px;
  color: #7a7f89;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.contact-header h1 {
  margin-bottom: 12px;
  color: #222;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  color: #777;
  font-size: 14px;
  line-height: 1.7;
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}

.contact-info {
  min-width: 0;
  padding: 38px 34px;
  background: #f7f7f8;
  border-right: 1px solid #e8e8e8;
}

.contact-info-header {
  margin-bottom: 34px;
}

.contact-info-eyebrow {
  margin-bottom: 8px;
  color: #777d88;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.contact-info-header h2 {
  margin-bottom: 10px;
  color: #222;
  font-size: 21px;
  font-weight: 600;
}

.contact-info-header > p:last-child {
  color: #777;
  font-size: 13px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 9px;
  color: #4e5566;
  font-size: 14px;
}

.contact-detail > div:last-child {
  min-width: 0;
}

.contact-detail span {
  display: block;
  margin-bottom: 4px;
  color: #999;
  font-size: 11px;
  font-weight: 500;
}

.contact-detail a,
.contact-detail p {
  color: #444;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-detail a:hover {
  color: #4e5566;
}

.contact-form-card {
  min-width: 0;
  padding: 38px 40px;
}

.contact-form-header {
  margin-bottom: 25px;
}

.contact-form-header h2 {
  margin-bottom: 6px;
  color: #222;
  font-size: 21px;
  font-weight: 600;
}

.contact-form-header p {
  color: #888;
  font-size: 13px;
  line-height: 1.6;
}

.contact-field {
  margin-bottom: 17px;
}

.contact-field label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 12px;
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  max-width: 100%;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  color: #333;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  transition: 0.2s ease;
}

.contact-field input {
  height: 42px;
}

.contact-field textarea {
  min-height: 125px;
  resize: vertical;
  line-height: 1.6;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #aaa;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #5a6474;
  box-shadow: 0 0 0 2px rgba(90, 100, 116, 0.08);
}

.contact-field input.input-error,
.contact-field textarea.input-error {
  border-color: #dc2626;
  background: #fffafa;
}

.contact-error {
  display: none;
  margin-top: 5px;
  color: #dc2626;
  font-size: 11px;
  line-height: 1.3;
}

.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 43px;
  margin-top: 5px;
  background: #4e5566;
  border: none;
  border-radius: 7px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

.contact-submit-btn:hover:not(:disabled) {
  background: #333;
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-submit-btn i {
  font-size: 12px;
}

.contact-btn-loader {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contactSpin 0.7s linear infinite;
}

.contact-success {
  display: none;
  min-height: 430px;
  padding: 30px 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-success.show {
  display: flex;
}

.contact-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  background: #f1f3f2;
  border-radius: 50%;
  color: #4e5566;
  font-size: 20px;
}

.contact-success h2 {
  margin-bottom: 9px;
  color: #222;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-success p {
  max-width: 390px;
  margin: 0 auto;
  color: #777;
  font-size: 13px;
  line-height: 1.75;
}

.contact-success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

.contact-shop-btn,
.contact-another-btn {
  height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s ease;
}

.contact-shop-btn {
  background: #4e5566;
  border: 1px solid #4e5566;
  color: #fff;
}

.contact-shop-btn:hover {
  background: #333;
  border-color: #333;
}

.contact-shop-btn i {
  font-size: 11px;
}

.contact-another-btn {
  background: #fff;
  border: 1px solid #d8d8d8;
  color: #555;
}

.contact-another-btn:hover {
  background: #f7f7f7;
  border-color: #c8c8c8;
  color: #222;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 85, 102, 0.22) transparent;
}

body::-webkit-scrollbar {
  width: 4px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: rgba(78, 85, 102, 0.22);
  border-radius: 999px;
}

body:hover::-webkit-scrollbar-thumb {
  background: rgba(78, 85, 102, 0.38);
}

body::-webkit-scrollbar-thumb:hover {
  background: #4e5566;
}

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

@media (max-width: 1000px) {
  .contact-page {
    padding-left: 22px;
    padding-right: 22px;
  }

  .contact-info {
    padding: 34px 28px;
  }

  .contact-form-card {
    padding: 34px 30px;
  }
}

@media (max-width: 850px) {
  .contact-page {
    padding: 40px 18px 60px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }

  .contact-info-header {
    max-width: 600px;
  }

  .contact-details {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px 40px;
  }

  .contact-detail {
    flex: 1 1 220px;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 35px 16px 50px;
  }

  .contact-header {
    margin-bottom: 32px;
  }

  .contact-header h1 {
    font-size: 30px;
  }

  .contact-subtitle {
    font-size: 13px;
  }

  .contact-container {
    border-radius: 12px;
  }

  .contact-info {
    padding: 30px 26px;
  }

  .contact-form-card {
    padding: 30px 26px;
  }

  .contact-details {
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .contact-page {
    padding: 30px 12px 45px;
  }

  .contact-header {
    margin-bottom: 28px;
  }

  .contact-eyebrow {
    font-size: 9px;
    letter-spacing: 0.15em;
  }

  .contact-header h1 {
    margin-bottom: 10px;
    font-size: 27px;
  }

  .contact-subtitle {
    font-size: 12px;
    line-height: 1.65;
  }

  .contact-container {
    border-radius: 10px;
  }

  .contact-info,
  .contact-form-card {
    padding: 25px 20px;
  }

  .contact-info-header {
    margin-bottom: 27px;
  }

  .contact-info-eyebrow {
    font-size: 9px;
  }

  .contact-info-header h2,
  .contact-form-header h2 {
    font-size: 19px;
  }

  .contact-info-header > p:last-child,
  .contact-form-header p {
    font-size: 12px;
  }

  .contact-details {
    flex-direction: column;
    gap: 20px;
  }

  .contact-detail {
    width: 100%;
    flex: none;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .contact-detail span {
    font-size: 10px;
  }

  .contact-detail a,
  .contact-detail p {
    font-size: 12px;
  }

  .contact-field {
    margin-bottom: 15px;
  }

  .contact-field label {
    font-size: 11px;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 12px;
  }

  .contact-field input {
    height: 40px;
  }

  .contact-field textarea {
    min-height: 115px;
  }

  .contact-submit-btn {
    height: 41px;
    font-size: 12px;
  }

  .contact-success {
    min-height: 360px;
    padding: 25px 0;
  }

  .contact-success-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 17px;
    font-size: 18px;
  }

  .contact-success h2 {
    font-size: 20px;
  }

  .contact-success p {
    font-size: 12px;
    line-height: 1.7;
  }

  .contact-success-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .contact-shop-btn,
  .contact-another-btn {
    width: 100%;
    height: 41px;
  }
}

@media (max-width: 380px) {
  .contact-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact-header h1 {
    font-size: 25px;
  }

  .contact-subtitle {
    font-size: 11px;
  }

  .contact-info,
  .contact-form-card {
    padding: 22px 16px;
  }

  .contact-info-header h2,
  .contact-form-header h2 {
    font-size: 18px;
  }

  .contact-field input,
  .contact-field textarea {
    padding-left: 10px;
    padding-right: 10px;
  }

  .contact-success {
    min-height: 340px;
  }
}