/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://larein.mycafe24.com
 Description:  GeneratePress Child Theme for LAREIN Studio
 Author:       LAREIN
 Template:     generatepress
 Version:      2.0.0
*/

/* === Base Font: Pretendard Variable === */
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", sans-serif !important;
  font-size: 16px;
}

/* === Hide title/tagline until Copperplate loads === */
.wf-loading .site-title,
.wf-loading .main-title,
.wf-loading .site-description,
.wf-loading .larein-footer-title {
  visibility: hidden;
}

/* Visually-hidden H1 for SEO (readable by search engines & screen readers) */
.sr-only-h1 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* === Copperplate: Title & Tagline === */
.site-title,
.site-title a,
.main-title,
.main-title a {
  font-family: copperplate, serif !important;
  font-weight: 500;
  font-style: normal;
  font-size: 30px;
}
.site-description {
  font-family: copperplate, serif !important;
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
}

/* === Header & Nav Layout === */
.inside-header {
  padding-top: 30px;
  margin-bottom: 0;
}
#site-navigation {
  padding-top: 5px;
}
.main-navigation .main-nav ul li a {
  font-size: 14px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 2.5 !important;
}

/* === Product & Reservation: 900px container === */
body.page-id-37 .site-content,
body.page-id-39 .site-content {
  background: #fff !important;
}
body.page-id-37 .inside-article,
body.page-id-39 .inside-article {
  max-width: 900px;
  margin: 0 auto;
}

/* === Reservation Form: underline inputs === */
body.page-id-39 .fluentform .ff-el-input--content input[type="text"],
body.page-id-39 .fluentform .ff-el-input--content input[type="email"],
body.page-id-39 .fluentform .ff-el-input--content input[type="tel"],
body.page-id-39 .fluentform .ff-el-input--content input[type="number"],
body.page-id-39 .fluentform .ff-el-input--content input[type="date"],
body.page-id-39 .fluentform .ff-el-input--content textarea,
body.page-id-39 .fluentform .ff-el-input--content select {
  border: none !important;
  border-bottom: 1px solid #ccc !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* === Contract terms scrollable === */
[data-name="refund_policy"] .ff-custom_html {
  max-height: 300px;
  overflow-y: auto;
}

/* === Time fields side-by-side (JS applies .ljg-inline class for cross-browser compat) === */
body.page-id-39 .ff-el-group.ljg-inline {
  display: inline-block !important;
  width: 48% !important;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid #e5e5e5;
}
.larein-footer {
  text-align: center;
  padding: 30px 20px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #888;
}
.larein-footer a {
  color: #888;
  text-decoration: none;
}
.larein-footer a:hover {
  color: #333;
}
.larein-footer-title {
  font-family: copperplate, serif !important;
  font-weight: 500;
  font-size: 16px;
  color: #333;
}
.larein-footer p {
  margin: 0 0 2px !important;
}
.larein-footer .larein-footer-title {
  margin-bottom: 14px !important;
}
.larein-footer .sep {
  color: #ccc;
  margin: 0 4px;
}
.larein-footer p.larein-footer-contact {
  margin-bottom: -2px !important;
}
.larein-footer p.larein-footer-addr {
  margin-bottom: 8px !important;
}
.larein-footer-copy {
  font-size: 11px;
  color: #aaa;
}

/* === Mobile === */
@media (max-width: 768px) {
  .inside-header {
    padding-top: 10px !important;
  }
  .main-title {
    font-size: 24px !important;
  }
  .site-description {
    font-size: 12px !important;
  }
  .inside-header {
    margin-bottom: 0 !important;
  }
  #site-navigation {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  #site-navigation.toggled {
    margin-bottom: 0 !important;
    padding-bottom: 8px !important;
    background: #fff !important;
    border-bottom: none !important;
  }
  #masthead {
    border-top: none !important;
  }
  .main-navigation .main-nav ul li a {
    text-align: center !important;
  }
  /* HOME: no side margins on mobile */
  .home .site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Footer: reduce container padding to prevent line break */
  .inside-site-info {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  /* Product/Reservation: slight padding on mobile */
  body.page-id-37 .site-content,
  body.page-id-39 .site-content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
