/*
Theme Name: Neodal Child Theme
Theme URI: https://www.portotheme.com/wordpress/porto
Author: C.J. Voskuilen
Author URI: https://www.foxwise.eu/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.2
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/


#header, .header-main {
background-color: #000000 !important;
}


.neodal ul.sub-menu > li.megamenutopheader.menu-item a.nolink, .neodal #header .porto-wide-sub-menu li.sub li.menu-item.megamenubottomheader > a.nolink {
  color: #47a447b3;
}

.neodal #header .porto-wide-sub-menu li.sub li.menu-item.megamenubottomheader > a.nolink {
  padding-top: 2rem;
  font-weight: 700;
}


.share-links .share-googleplus {
  content: "\f0d5";
  display: none;
}

/* .megamenubottomheader */

#header .porto-wide-sub-menu a {
    font-family: Overpass, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
}


/* =========================================
   Porto – WooCommerce shop product cards
   ========================================= */

li.product-col {
  height: 100%;
}

li.product-col .product-inner {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(11, 60, 93, 0.10);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 180ms ease, transform 180ms ease;
  cursor: pointer;
}

/* Hover effect */
li.product-col .product-inner:hover {
  box-shadow: 0 14px 40px rgba(11, 60, 93, 0.16);
  transform: translateY(-2px);
}

/* Keep links/buttons above “card click” JS */
li.product-col .product-inner a,
li.product-col .product-inner button,
li.product-col .product-inner .quickview {
  position: relative;
  z-index: 2;
}

/* Push action area to bottom for equal heights */
li.product-col .product-inner .add-links-wrap {
  margin-top: auto;
}

/* Title spacing */
li.product-col .product-inner .woocommerce-loop-product__title {
  margin: 0.75rem 0 0.5rem;
}

.neodal li.product:hover .product-image {
  box-shadow: none;
}


/* =========================================
   Neodal - Product Request Info (Gravity Forms)
   Scoped to the product tab wrapper
   ========================================= */

.neodal-product-info-form {
  /* Card container */
  background: #ffffff;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(11, 60, 93, 0.10);
  border: 1px solid rgba(11, 60, 93, 0.08);
}

/* Give the form breathing room */
.neodal-product-info-form .gform_wrapper {
  margin: 0;
}

/* Labels */
.neodal-product-info-form .gfield_label,
.neodal-product-info-form .gform-field-label {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

/* Description text under label */
.neodal-product-info-form .gfield_description {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0.25rem 0 0.75rem;
}

/* Inputs / textarea */
.neodal-product-info-form input[type="text"],
.neodal-product-info-form input[type="email"],
.neodal-product-info-form input[type="tel"],
.neodal-product-info-form textarea,
.neodal-product-info-form select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(11, 60, 93, 0.18);
  background: #fff;
  padding: 0.85rem 0.95rem;
  box-shadow: none;
  outline: none;
}

/* Focus state (subtle brand tint) */
.neodal-product-info-form input[type="text"]:focus,
.neodal-product-info-form input[type="email"]:focus,
.neodal-product-info-form input[type="tel"]:focus,
.neodal-product-info-form textarea:focus,
.neodal-product-info-form select:focus {
  border-color: rgba(11, 60, 93, 0.45);
  box-shadow: 0 0 0 4px rgba(11, 60, 93, 0.10);
}

/* Space between fields */
.neodal-product-info-form .gfield {
  margin-bottom: 1rem;
}

/* Footer / button row */
.neodal-product-info-form .gform_footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 60, 93, 0.10);
}

/* ORANGE CTA button (overrides GF primary blue) */
.neodal-product-info-form .gform_footer input[type="submit"].gform_button,
.neodal-product-info-form .gform_footer input[type="submit"].button,
.neodal-product-info-form input#gform_submit_button_1, .button.neodal-request-info-button {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  cursor: pointer;

  /* Orange CTA */
  background: #f2992e;
  color: #ffffff;

  /* Modern feel */
  box-shadow: 0 10px 24px rgba(242, 153, 46, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

/* Hover / active states */
.neodal-product-info-form .gform_footer input[type="submit"]:hover, .button.neodal-request-info-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(242, 153, 46, 0.36);
  filter: brightness(0.98);
}

.neodal-product-info-form .gform_footer input[type="submit"]:active, .button.neodal-request-info-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(242, 153, 46, 0.28);
}

/* Required asterisk text less shouty */
.neodal-product-info-form .gfield_required_text {
  font-weight: 500;
  opacity: 0.75;
}

/* Make the name field columns nicer on desktop */
@media (min-width: 768px) {
  .neodal-product-info-form {
    padding: 2rem;
  }
}

/* Mobile padding */
@media (max-width: 767px) {
  .neodal-product-info-form {
    padding: 1.25rem;
    border-radius: 12px;
  }
}




/* =========================================
   Form contact page styling
   ========================================= */

/* Neodal-style Gravity Form (Form ID 2 only) */
#gform_wrapper_2{
  --neodal-radius: 12px;
  --neodal-border: rgba(17,35,55,.18);
  --neodal-border-hover: rgba(17,35,55,.35);
  --neodal-focus: rgba(32,76,229,.28);
  --neodal-bg: #fff;
  --neodal-label: #112337;
  --neodal-muted: rgba(17,35,55,.65);
}

/* layout spacing */
#gform_wrapper_2 .gform_fields{
  row-gap: 18px;
}
#gform_wrapper_2 .gfield{
  margin: 0 !important;
}

/* field label (Nombre / Correo / Comments) */
#gform_wrapper_2 .gfield_label,
#gform_wrapper_2 .gform-field-label.gfield_label_before_complex{
  font-weight: 600;
  color: var(--neodal-label);
  margin-bottom: 8px;
}

/* sub labels (Nombre / Apellidos / Confirmar email etc.) */
#gform_wrapper_2 .gform-field-label--type-sub{
  font-size: 13px;
  font-weight: 500;
  color: var(--neodal-muted);
  margin: 0 0 6px;
}

/* description text */
#gform_wrapper_2 .gfield_description{
  color: var(--neodal-muted);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 6px;
}

/* inputs */
#gform_wrapper_2 input[type="text"],
#gform_wrapper_2 input[type="email"],
#gform_wrapper_2 textarea,
#gform_wrapper_2 select{
  width: 100%;
  background: var(--neodal-bg);
  border: 1px solid var(--neodal-border);
  border-radius: var(--neodal-radius);
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(17,35,55,.04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#gform_wrapper_2 textarea{
  min-height: 160px;
  resize: vertical;
}

/* hover */
#gform_wrapper_2 input[type="text"]:hover,
#gform_wrapper_2 input[type="email"]:hover,
#gform_wrapper_2 textarea:hover,
#gform_wrapper_2 select:hover{
  border-color: var(--neodal-border-hover);
}

/* focus */
#gform_wrapper_2 input[type="text"]:focus,
#gform_wrapper_2 input[type="email"]:focus,
#gform_wrapper_2 textarea:focus,
#gform_wrapper_2 select:focus{
  outline: none;
  border-color: rgba(32,76,229,.65);
  box-shadow: 0 0 0 4px var(--neodal-focus);
}

/* required asterisk text */
#gform_wrapper_2 .gfield_required,
#gform_wrapper_2 .gfield_required_text{
  font-weight: 500;
  color: rgba(17,35,55,.55);
}

/* counter */
#gform_wrapper_2 .ginput_counter{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(17,35,55,.55);
}

/* make the 2-col name/email rows nicer */
#gform_wrapper_2 .gform-grid-row{
  gap: 14px;
}
@media (max-width: 767px){
  #gform_wrapper_2 .gform-grid-row{
    gap: 12px;
  }
}

/* submit button */
#gform_wrapper_2 .gform_footer{
  margin-top: 18px;
}
#gform_wrapper_2 .gform_button,
#gform_wrapper_2 input[type="submit"].gform_button{
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 700;
  background: #112337;
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 10px 22px rgba(17,35,55,.18);
}

#gform_wrapper_2 .gform_button:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17,35,55,.22);
}

#gform_wrapper_2 .gform_button:active{
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(17,35,55,.18);
}

/* validation styling */
#gform_wrapper_2 .gfield_error input,
#gform_wrapper_2 .gfield_error textarea,
#gform_wrapper_2 .gfield_error select{
  border-color: rgba(220,38,38,.65);
  box-shadow: 0 0 0 4px rgba(220,38,38,.16);
}

#gform_wrapper_2 .validation_message,
#gform_wrapper_2 .gfield_validation_message{
  margin-top: 8px;
  font-size: 13px;
  color: rgb(220, 38, 38);
}




/* =========================================
   WC Product Attachments (wcpoa) styling
   ========================================= */

.neodal .wcpoa_attachment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  background: #ffffff;
  border: 1px solid rgba(11, 60, 93, 0.10);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(11, 60, 93, 0.08);
  margin: 0 0 1rem;
  max-width: 800px;
}

.neodal .wcpoa_attachment_name {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 600;
  color: #0b3c5d;
}

/* Button */
.neodal .wcpoa_attachmentbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  text-decoration: none;
  white-space: nowrap;

  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-weight: 700;

  background: #f2992e;
  color: #fff;

  box-shadow: 0 10px 24px rgba(242, 153, 46, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.neodal  .wcpoa_attachmentbtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(242, 153, 46, 0.36);
  filter: brightness(0.98);
}

/* Icon (no dependency on Porto icon fonts) */
.neodal .wcpoa_attachmentbtn::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;

  /* Simple download icon via inline SVG mask */
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a1 1 0 0 1 1 1v9.59l2.3-2.3a1 1 0 1 1 1.4 1.42l-4.01 4a1 1 0 0 1-1.4 0l-4.01-4a1 1 0 1 1 1.4-1.42l2.32 2.3V4a1 1 0 0 1 1-1zM5 20a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H6a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a1 1 0 0 1 1 1v9.59l2.3-2.3a1 1 0 1 1 1.4 1.42l-4.01 4a1 1 0 0 1-1.4 0l-4.01-4a1 1 0 1 1 1.4-1.42l2.32 2.3V4a1 1 0 0 1 1-1zM5 20a1 1 0 0 1 1-1h12a1 1 0 0 1 0 2H6a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Size label inside the button */
.neodal .wcpoa_attachmentbtn .attachment_size {
  opacity: 0.9;
  font-weight: 600;
}

/* Mobile: stack nicely */
@media (max-width: 767px) {
  .neodal .wcpoa_attachment {
    flex-direction: column;
    align-items: stretch;
  }

  .neodal .wcpoa_attachmentbtn {
    justify-content: center;
    width: 100%;
  }
}