/* GG CHENN Custom Orders — Framer /custom match */

body.ggchenn-custom {
  background: var(--gg-bg, #faf8fb) !important;
  color: #000;
}

body.ggchenn-custom #content,
body.ggchenn-custom .site-main,
body.ggchenn-custom .page-content,
body.ggchenn-custom .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.ggchenn-custom #site-footer,
body.ggchenn-custom .site-footer,
body.ggchenn-custom .hello-elementor-footer {
  display: none !important;
}

.gg-custom {
  width: 100%;
  margin: 0;
  padding: 0;
}

.gg-custom__layout {
  box-sizing: border-box;
}

.gg-custom__media {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.gg-custom__media img {
  display: block;
  width: 100%;
  height: auto;
}

.gg-custom__form-wrap {
  box-sizing: border-box;
}

.gg-custom__title {
  margin: 0 0 24px;
  font-family: var(--gg-serif) !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  color: #000 !important;
  text-align: center;
  text-transform: none !important;
}

.gg-custom__intro {
  margin: 0 0 32px;
  text-align: center;
}

.gg-custom__intro p {
  margin: 0 0 16px;
  font-family: var(--gg-serif) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: #000 !important;
}

.gg-custom__intro p:last-child {
  margin-bottom: 0;
}

.gg-custom__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gg-custom__field {
  margin: 0;
  padding: 0;
  border: 0;
}

.gg-custom__input,
.gg-custom__textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 18px !important;
  min-height: 52px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  font-family: var(--gg-serif) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: none !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

.gg-custom__input::placeholder,
.gg-custom__textarea::placeholder {
  color: #9a9a9a;
  opacity: 1;
  font-family: var(--gg-serif);
}

body.ggchenn-custom .gg-custom__input:focus,
body.ggchenn-custom .gg-custom__textarea:focus {
  outline: none !important;
  box-shadow: none !important;
}

.gg-custom__textarea {
  min-height: 148px;
  resize: vertical;
}

.gg-custom__actions {
  margin-top: 12px;
  text-align: center;
}

.gg-custom__submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 187px;
  height: 60px;
  padding: 0 32px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff !important;
  font-family: var(--gg-serif) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.gg-custom__notice {
  margin: 0 0 24px;
  padding: 12px 16px;
  font-family: var(--gg-serif);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.gg-custom__notice--success {
  color: #000;
}

.gg-custom__submit:hover,
.gg-custom__submit:focus {
  opacity: 0.85;
}

.gg-custom__footer {
  padding: 48px 40px 40px;
  text-align: center;
  font-family: var(--gg-serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgb(79, 79, 79);
}

/* Mobile: image → form stack */
.gg-custom__layout {
  padding: 20px 20px 0;
}

.gg-custom__media {
  margin: 0 0 32px;
}

.gg-custom__form-wrap {
  padding-bottom: 48px;
}

@media (max-width: 809px) {
  .gg-custom__footer {
    padding: 32px 20px;
    font-size: 12px;
  }
}

/* Tablet + desktop: 50 / 50 split */
@media (min-width: 810px) {
  .gg-custom__layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 30px 0;
  }

  .gg-custom__media,
  .gg-custom__form-wrap {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    min-width: 0;
  }

  .gg-custom__media {
    margin: 0;
    align-self: stretch;
  }

  .gg-custom__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .gg-custom__form-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: calc(50% - 10px);
    padding: 96px 0 64px;
  }
}

@media (min-width: 1500px) {
  .gg-custom__layout {
    padding-left: 40px;
    padding-right: 40px;
  }

  .gg-custom__title {
    font-size: 28px !important;
  }

  .gg-custom__form-wrap {
    max-width: 783px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }
}
