/*
 Theme Name:     Divi Child Neptuno
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Tema hijo para Neptuno Comercializadora 2021
 Author:         Tu Nombre / Agencia
 Author URI:     https://nc2021.com
 Template:       Divi
 Version:        1.0.1
*/

:root {
  --neptuno-primary: #003366;
  --neptuno-primary-deep: #0a447a;
  --neptuno-accent: #e31b23;
  --neptuno-body: #35516b;
  --neptuno-soft-bg: #f4f8fb;
  --neptuno-soft-blue: #eaf2fa;
  --neptuno-white: #ffffff;
}

body {
  color: var(--neptuno-body);
  font-family: "Open Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--neptuno-primary);
  font-family: "Montserrat", Arial, sans-serif;
}

.neptuno-shell .et_pb_button,
.neptuno-header-shell .et_pb_button,
.neptuno-footer-shell .et_pb_button {
  border-radius: 8px;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
}

.neptuno-hero {
  background: linear-gradient(135deg, var(--neptuno-primary) 0%, var(--neptuno-primary-deep) 100%);
}

.neptuno-hero .et_pb_module_header,
.neptuno-hero .et_pb_module_header a,
.neptuno-hero h1,
.neptuno-hero h2,
.neptuno-hero h3 {
  color: var(--neptuno-white) !important;
}

.neptuno-hero .et_pb_blurb_content p,
.neptuno-hero .et_pb_blurb_description,
.neptuno-hero p {
  color: var(--neptuno-soft-blue) !important;
}

.neptuno-hero .et_pb_fullwidth_slider .et_pb_slide_title,
.neptuno-hero .et_pb_fullwidth_slider .et_pb_slide_title a {
  color: var(--neptuno-primary) !important;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.92) !important;
}

.neptuno-hero .et_pb_fullwidth_slider .et_pb_slide_content,
.neptuno-hero .et_pb_fullwidth_slider .et_pb_slide_content p,
.neptuno-hero .et_pb_fullwidth_slider .et_pb_slide_content strong {
  color: var(--neptuno-body) !important;
  opacity: 1 !important;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9) !important;
}

.neptuno-hero .et_pb_fullwidth_slider .et_pb_button_wrapper {
  opacity: 1 !important;
  visibility: visible !important;
}

.neptuno-hero .et_pb_fullwidth_slider .et_pb_more_button {
  background: var(--neptuno-accent) !important;
  border: 3px solid var(--neptuno-primary) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 22px rgba(0, 51, 102, 0.18) !important;
  color: var(--neptuno-white) !important;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

.neptuno-hero .et_pb_fullwidth_slider .et_pb_more_button:after {
  display: none !important;
}

.neptuno-hero .neptuno-card,
.neptuno-hero .neptuno-card .et_pb_blurb,
.neptuno-hero .neptuno-card .et_pb_blurb_content {
  color: var(--neptuno-body) !important;
}

.neptuno-hero .neptuno-card .et_pb_module_header,
.neptuno-hero .neptuno-card .et_pb_module_header a,
.neptuno-hero .neptuno-card h1,
.neptuno-hero .neptuno-card h2,
.neptuno-hero .neptuno-card h3,
.neptuno-hero .neptuno-card h4 {
  color: var(--neptuno-primary) !important;
}

.neptuno-hero .neptuno-card .et_pb_blurb_description,
.neptuno-hero .neptuno-card .et_pb_blurb_description p,
.neptuno-hero .neptuno-card p {
  color: var(--neptuno-body) !important;
  opacity: 1 !important;
}

.neptuno-hero .neptuno-card .et-pb-icon {
  color: var(--neptuno-accent) !important;
}

.neptuno-hero-card {
  background-color: rgba(10, 68, 122, 0.92);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.neptuno-card,
.neptuno-stat,
.neptuno-panel {
  background: var(--neptuno-white);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 29, 61, 0.08);
}

.neptuno-card .et_pb_module_header,
.neptuno-stat .et_pb_module_header,
.neptuno-panel .et_pb_module_header {
  color: var(--neptuno-primary) !important;
}

.neptuno-header-shell {
  box-shadow: 0 10px 30px rgba(0, 29, 61, 0.08);
}

.neptuno-header-shell .et_pb_menu .et-menu > li > a,
.neptuno-header-shell .mobile_nav .mobile_menu_bar:before {
  color: var(--neptuno-primary) !important;
}

.neptuno-header-shell .et_pb_menu .nav li.current-menu-item > a,
.neptuno-header-shell .et_pb_menu .et-menu > li > a:hover {
  color: var(--neptuno-accent) !important;
}

/* Divi can omit some menu module rules on WooCommerce product templates. */
@media (min-width: 981px) {
  .et-l--header .et_pb_row_0_tb_header {
    align-items: center;
    display: flex !important;
  }

  .et-l--header .et_pb_row_0_tb_header .et_pb_column {
    float: none !important;
    margin-right: 0 !important;
  }

  .et-l--header .et_pb_menu_0_tb_header .et_pb_menu__wrap {
    justify-content: center;
  }

  .et-l--header .et_pb_menu_0_tb_header .et_pb_menu__menu {
    display: block !important;
  }

  .et-l--header .et_pb_menu_0_tb_header .et-menu-nav,
  .et-l--header .et_pb_menu_0_tb_header .et-menu {
    align-items: center;
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .et-l--header .et_pb_menu_0_tb_header .et-menu > li {
    align-items: center;
    display: flex !important;
    margin: 0;
    padding-right: 22px;
  }

  .et-l--header .et_pb_menu_0_tb_header .et-menu > li:last-child {
    padding-right: 0;
  }

  .et-l--header .et_pb_menu_0_tb_header .et-menu > li > a {
    display: block;
    padding-bottom: 0 !important;
  }

  .et-l--header .et_pb_menu_0_tb_header .et_mobile_nav_menu {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .et-l--header .et_pb_row_0_tb_header {
    align-items: center;
    display: flex !important;
    flex-wrap: nowrap;
  }

  .et-l--header .et_pb_row_0_tb_header .et_pb_column {
    margin-bottom: 0 !important;
  }

  .et-l--header .et_pb_column_0_tb_header {
    width: 26% !important;
  }

  .et-l--header .et_pb_column_1_tb_header {
    width: 18% !important;
  }

  .et-l--header .et_pb_column_2_tb_header {
    width: 56% !important;
  }

  .et-l--header .et_pb_menu_0_tb_header .et_pb_menu__menu {
    display: none !important;
  }

  .et-l--header .et_pb_menu_0_tb_header .et_mobile_nav_menu {
    display: block !important;
    margin-left: auto;
    position: relative;
    z-index: 99999;
  }

  .et-l--header .mobile_menu_bar {
    align-items: center !important;
    display: inline-flex !important;
    height: 48px !important;
    justify-content: center !important;
    width: 48px !important;
  }

  .et-l--header .mobile_menu_bar:before {
    font-size: 34px !important;
    line-height: 1 !important;
  }

  .et-l--header .et_mobile_menu {
    left: 50% !important;
    max-width: 320px !important;
    padding: 6px 0 !important;
    right: auto !important;
    top: calc(100% + 8px) !important;
    transform: translateX(-50%);
    width: min(84vw, 320px) !important;
    z-index: 99999 !important;
  }

  .et-l--header .et_mobile_menu li a {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    min-height: 46px;
    padding: 12px 16px !important;
    white-space: normal;
  }

  .et-l--header .et_pb_button_0_tb_header {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 1.15 !important;
    min-height: 44px;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .et-l--header .et_pb_button_0_tb_header {
    font-size: 12px !important;
    padding: 9px 12px !important;
  }
}

@media (max-width: 767px) {
  body.single-product {
    overflow-x: hidden;
  }

  body.single-product .et-l--body .et_pb_section,
  body.single-product .et-l--body .et_pb_row,
  body.single-product .et-l--body .et_pb_column,
  body.single-product .et-l--body .et_pb_module,
  body.single-product .woocommerce-product-gallery {
    max-width: 100% !important;
  }

  body.single-product .et-l--body .et_pb_row {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: calc(100vw - 56px) !important;
  }

  body.single-product .et-l--body .et_pb_column {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: calc(100vw - 56px) !important;
  }

  body.single-product .et-l--body .et_pb_module {
    width: calc(100vw - 56px) !important;
  }

  body.single-product .woocommerce div.product div.images,
  body.single-product.woocommerce div.product div.images {
    float: none !important;
    width: 100% !important;
  }
}

.neptuno-footer-shell {
  background: linear-gradient(180deg, #072846 0%, var(--neptuno-primary) 100%);
}

.neptuno-footer-shell .et_pb_module_header,
.neptuno-footer-shell .et_pb_module_header a,
.neptuno-footer-shell .et_pb_blurb_description,
.neptuno-footer-shell p {
  color: var(--neptuno-white) !important;
}

.neptuno-footer-shell .et_pb_button {
  background-color: var(--neptuno-accent);
  color: var(--neptuno-white) !important;
}

.neptuno-form-shell .et_pb_contact {
  background: linear-gradient(135deg, #ffffff 0%, var(--neptuno-soft-bg) 100%) !important;
  border: 1px solid var(--neptuno-soft-blue);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 51, 102, 0.1);
}

.neptuno-form-shell .input,
.neptuno-form-shell input,
.neptuno-form-shell textarea,
.neptuno-form-shell select {
  border-radius: 8px;
  font-family: "Open Sans", Arial, sans-serif;
}

.neptuno-form-shell .et_pb_contact_field_options_title,
.neptuno-form-shell .et_pb_contact_field_checkbox label,
.neptuno-form-shell .et_pb_contact p,
.neptuno-form-shell label {
  color: var(--neptuno-body) !important;
  opacity: 1 !important;
}

.neptuno-form-shell .et_pb_contact_field_options_title {
  color: var(--neptuno-primary) !important;
  font-weight: 800;
}

.neptuno-form-shell a {
  color: var(--neptuno-primary) !important;
  font-weight: 700;
  text-decoration: underline;
}

.neptuno-form-shell .et_contact_bottom_container {
  display: flex;
  float: none;
  justify-content: flex-end;
  margin-top: 12px;
  width: 100%;
}

.neptuno-form-shell .et_pb_contact_submit {
  background: var(--neptuno-accent) !important;
  border-color: var(--neptuno-accent) !important;
  color: var(--neptuno-white) !important;
  font-weight: 800 !important;
}

.neptuno-soft-section {
  background-color: var(--neptuno-soft-bg);
}

@media (max-width: 980px) {
  .neptuno-hero-card,
  .neptuno-card,
  .neptuno-stat,
  .neptuno-panel {
    border-radius: 16px;
  }
}
