/*
Theme Name: Robbiemagie Child
Template: robbiemagie
Version: 1.0
Description: Child theme for Robbiemagie
Author: Your Name
*/

/* ===== Canvas Wish Styling ===== */
#wishCanvas {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  touch-action: none;
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.wish-button {
  background-color: #B28B5D;
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 5px;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  font-family: 'Helvetica Neue', sans-serif;
  transition: background 0.3s ease;
  margin: 10px 5px 0 5px;
  box-shadow: none;
}

.wish-button:hover {
  background-color: #a27e54;
}

.wish-button:focus {
  outline: none;
  box-shadow: none;
}

/* ===== Gravity Forms Styling ===== */

.gform_wrapper .gform_title {
  display: none !important;
}

.gform_wrapper .gform_footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

#gform_submit_button_1,
.gform_wrapper .gform_footer input[type="submit"] {
  background-color: #C89C64 !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  padding: 14px 40px !important;
  border: none !important;
  border-radius: 4px !important;
  letter-spacing: 1.5px !important;
  font-size: 16px !important;
  font-family: 'Playfair Display', serif !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  margin-top: 20px;
}

#gform_submit_button_1:hover,
.gform_wrapper .gform_footer input[type="submit"]:hover {
  background-color: #a67c52 !important;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea,
.gform_wrapper select {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #C89C64;
  border-radius: 0;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  box-shadow: none;
  transition: border-color 0.3s ease;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  border-color: #a67c52;
  outline: none;
}

.gform_wrapper .gform_body .gform_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gform_wrapper .gform_body .gform_fields li:last-child {
  grid-column: span 2;
}

.gform_wrapper .gform_body .gform_fields li[data-label^="Guest"] {
  grid-column: span 2 !important;
}

.gform_wrapper .gfield_label {
  display: block !important;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: #444;
  margin-bottom: 6px;
}

.gform_wrapper .gfield legend.gfield_label {
  display: block !important;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
  white-space: normal !important;
  line-height: 1.4;
  text-wrap: balance;
}

@media (max-width: 480px) {
  .gform_wrapper .gfield legend.gfield_label {
    font-size: 15px;
    text-align: left;
  }
}

/* ===== "No Kids" Note Styling ===== */
.no-kids-note {
  text-align: center;
  margin-top: 40px;
}

.no-kids-note h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.no-kids-note p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* === Prettify Gravity Form with class "pretty-upload-form" === */
body .pretty-upload-form .gform_wrapper {
  background-color: #fff8f0;
  padding: 30px;
  border-radius: 12px;
  color: #5e493c;
  font-family: 'Cormorant Garamond', serif;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body .pretty-upload-form .gform_heading h2,
body .pretty-upload-form .gform_heading .gform_description {
  font-size: 20px;
  line-height: 1.6;
  color: #5e493c;
  font-style: italic;
}

/* ===== Final "Select File" Button ===== */
body .pretty-upload-form .ginput_container_file {
  position: relative;
  text-align: center;
  height: 55px;
  margin: 0 auto;
  max-width: 300px;
}

body .pretty-upload-form .ginput_container_file input[type="file"] {
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  z-index: 2 !important;
  left: 0;
  top: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
}

body .pretty-upload-form .ginput_container_file::before {
  content: "Select File";
  display: block;
  background-color: #C8A97E;
  color: white;
  font-family: 'Cormorant Garamond', serif;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
  text-align: center;
}

body .pretty-upload-form .ginput_container_file:hover::before {
  background-color: #b89172;
}

body .pretty-upload-form .ginput_container_file input[type="file"]::-webkit-file-upload-button,
body .pretty-upload-form .ginput_container_file input[type="file"]::file-selector-button {
  visibility: hidden;
}

body .pretty-upload-form .gform_wrapper .ginput_preview {
  display: none;
}

body .pretty-upload-form .gform_footer input[type="submit"] {
  background-color: #C8A97E;
  color: white;
  padding: 14px 32px;
  font-family: 'Cormorant Garamond', serif;
  border: none;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

body .pretty-upload-form .gform_footer input[type="submit"]:hover {
  background-color: #b89172;
  cursor: pointer;
}

body .pretty-upload-form .gform_wrapper .gfield_description {
  font-size: 12px;
  color: #96785e;
  margin-top: 6px;
}

body .pretty-upload-form .gform_wrapper .gfield_label {
  font-weight: normal;
  font-size: 16px;
  color: #5e493c;
  margin-bottom: 6px;
}

body .pretty-upload-form .gform_wrapper .gfield {
  margin-bottom: 20px;
}


strong, b {
  font-weight: 700 !important;
  font-style: italic !important;
  color: inherit !important;
}