/* Tipografía y estilos base */
body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}

body {
  padding-top: 40px;
}

header {
  margin-bottom: 30px;
}


@media (max-width: 768px) {
  body {
    padding-top: 30px;
  }
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #b76748;
  font-weight: 400;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #48B749;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

/* Navigation */
#menu {
  padding: 8px;
  transition: all 0.8s;
}

#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  min-height: 48px;
}

#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 20px !important;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}

#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 8px 20px 0;
  position: relative;
}

#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #3ea840 0%, #53da56 100%);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #3ea840 0%, #53da56 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #48B749;
}

.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #ee9fc5;
}

.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #ee9fc5;
  background-image: linear-gradient(to right, #ee9fc5 0%, #f990ca 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #f1a0cd;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/yeyubabystore_web_01.png) center center no-repeat;
  background-color: #e5e5e5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}

.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}

@media (min-width: 530px) {
  .intro h1 {
    font-size: 82px;
  }
}

.intro h1 span {
  font-weight: 800;
  color: #da9053;
}

.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto 60px;
}

header .intro-text {
  padding-top: 450px;
  padding-bottom: 160px;
  text-align: center;
}

@media (max-width: 768px) {
  header .intro-text {
    padding-top: 200px;
    padding-bottom: 100px;
  }
}

#nosotros {
  padding: 100px 0;
}

#nosotros h3 {
  font-size: 22px;
  margin: 0 0 20px;
}

#nosotros h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#nosotros h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #53da56 0%, #3ea840 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}

#nosotros .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}

#nosotros .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #53da56;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

#nosotros img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

#nosotros p {
  line-height: 24px;
  margin: 30px 0;
}

#footer {
  background: #f6f6f6;
  padding: 20px 0;
  margin-top: 30px;
}

#footer p {
  color: #888;
  font-size: 14px;
}

#footer a {
  color: #48B749;
}

#footer a:hover {
  border-bottom: 2px solid #48B749;
}

.yb-footer-icon {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .yb-footer-icon {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  #footer {
    padding: 15px 0;
  }

  #footer-info .footer-feature {
    margin-bottom: 12px;
  }

  #footer-info .footer-feature h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  #footer-info .footer-feature p {
    font-size: 13px;
    margin-bottom: 6px;
  }
}

.social ul {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 14px;      
}

.social ul li {
  list-style: none;
}

.social ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-decoration: none;
}

.social i.fa {
  font-size: 18px;
  margin: 0;
  color: #48B749;   
}

.social ul li a:hover i.fa {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  #nosotros img {
    margin: 50px 0;
    width: 100%;
  }
}

.yb-catalog-section {
  padding: 40px 0 40px; 
  padding-top: 40px !important;
}

.yb-catalog-section h2 {
  text-align: center;
  margin-top: 0;
}

.yb-catalog-section h1 {
  text-align: center;
  margin-top: 0;
  text-transform: uppercase;
  color:#333;
}

.yb-catalog-filters-panel {
  margin-top: 10px;
}

.yb-catalog-subtitle {
  max-width: 600px;
  margin: 0 auto 10px; 
  text-align: center;
  font-size: 15px;
  color: #666;
}

.yb-catalog-filters {
  background-color: #fdf3f7;
  border-radius: 10px;
  padding: 14px 16px;      
  min-height: 56px;        
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  align-items: stretch;
}

.yb-catalog-filter-btn {
  border: none;
  border-radius: 999px;
  padding: 8px 14px;    
  font-size: 15px;      
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background 0.15s ease, box-shadow 0.15s ease,
    transform 0.15s ease;
  flex: 1 1 0;         
  text-align: center;
}

.yb-catalog-filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.yb-catalog-filter-btn.is-active {
  background: #f7a8c3;
  color: #fff;
  font-weight: 600;
}

.yb-catalog-filters-toggle {
  display: none; 
  margin-top: 12px;
}

.yb-catalog-filters-toggle-btn {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.yb-catalog-filters-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 10px;
}

.yb-catalog-filters-toggle-icon span {
  width: 18px;
  height: 2px;
  background: #555;
  margin: 2px 0;
  border-radius: 4px;
}

.yb-catalog-filters-toggle-label {
  font-size: 14px;
  color: #555;
}

.yb-catalog-grid {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
  margin-left: -15px;
  margin-right: -15px;
}

@media (min-width: 769px) {
  .yb-catalog-filters-toggle {
    display: none;
  }

  .yb-catalog-filters-panel {
    display: block;
  }
}

@media (max-width: 768px) {
  .yb-catalog-filters-toggle {
    display: block;
  }

  .yb-catalog-filters-panel {
    display: none;
    margin-top: 8px;
  }

  .yb-catalog-filters-panel.is-open {
    display: block;
  }

  .yb-catalog-filters {
    padding: 10px 12px;
    gap: 6px;
  }

  .yb-catalog-filter-btn {
    font-size: 14px;
    padding: 6px 10px;
    flex: 1 1 45%;
  }
}

.yb-product-column {
  float: none;
  display: flex;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 20px;
}

.yb-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.yb-product-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.yb-product-image {
  width: 100%;
  height: 180px;
  object-fit: cover; 
}

@media (min-width: 992px) {
  .yb-product-image {
    height: 170px;
  }
}

.yb-product-name {
  font-size: 14px;   
  margin-top: 10px;
  margin-bottom: 4px;
  min-height: 36px; 
}

.yb-product-category {
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
  min-height: 30px;
}

.yb-product-card .caption {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.yb-product-card .btn-custom {
  padding: 6px 16px;
  font-size: 12px;
}

.yb-product-card .caption .btn-custom {
  margin-top: auto;
}

@media (max-width: 768px) {
  .yb-product-card .btn-custom {
    padding: 4px 10px;
    font-size: 11px;
  }

  .yb-product-name {
    font-size: 13px;
  }

  .yb-product-category {
    font-size: 11px;
  }

  .yb-product-column {
    margin-bottom: 14px;
  }

  .yb-catalog-grid {
    margin-top: 18px;
  }
}

.yb-product-main-image {
  max-height: 420px;
  object-fit: contain;
}

.yb-product-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.yb-product-thumb-btn {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  outline: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.yb-product-thumb-btn.is-active {
  box-shadow: 0 0 0 2px #f7a8c3;
  transform: translateY(-1px);
}

.yb-product-thumb-image {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

#yb-hero-carousel {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.yb-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.yb-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.25); 
  z-index: 1;
}

#yb-hero-carousel .carousel-control,
#yb-hero-carousel .carousel-indicators {
  z-index: 2;
  background: transparent;
}

@media (max-width: 768px) {
  #yb-hero-carousel .carousel-indicators {
    bottom: 6px;
  }
}

#yb-hero-carousel .carousel-control {
  background-image: none; 
  width: 8%;       
}

#yb-hero-carousel .carousel-control i.fa {
  font-size: 28px;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#yb-hero-carousel .left.carousel-control i.fa {
  left: 15px;
}

#yb-hero-carousel .right.carousel-control i.fa {
  right: 15px;
}

.yb-hero-overlay h1 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.yb-hero-overlay p {
  font-size: 20px;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  #yb-hero-carousel {
    height: auto;
    min-height: 0;
  }

  .yb-hero-overlay p {
    font-size: 16px;
  }
}

#footer-info .footer-feature {
  text-align: center !important;
}

#footer-info .footer-feature h4,
#footer-info .footer-feature p {
  text-align: center !important;
}

.yb-page-about {
  padding: 30px 0 50px;
}

.yb-page-about h1 {
  text-transform: uppercase;
  color:#333;
}


@media (max-width: 767px) {
  .yb-page-about {
    padding: 30px 16px 40px;
  }

  .yb-page-about p {
    line-height: 1.6;
  }
} 

@keyframes yb-fade-in-page {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.yb-page {
  animation: yb-fade-in-page 0.35s ease-out;
}

.yb-top-sellers {
  padding: 35px 0 15px;
  background: #f0fbf7;
}

.yb-top-inner {
  max-width: 960px;  
  margin: 0 auto;
}

.yb-top-slide {
  align-items: stretch;
  margin-bottom: 0;
}

.yb-top-title {
  text-align: center;
  margin-bottom: 10px;
}

.yb-top-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 15px;
  color: #666;
}

.yb-top-col {
  margin-bottom: 20px;
}

.yb-top-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 3;
}

.yb-top-image {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
  max-height: 200px;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 990px) {
  .yb-top-image {
    max-height: 310px;
  }
}

.yb-top-name {
  font-size: 16px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.yb-top-category {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.yb-top-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.yb-top-card .btn-custom {
  align-self: flex-start;
  padding: 8px 20px;
  font-size: 13px;
}

.yb-top-cta {
  margin-top: 18px;
  text-align: center;
}

.yb-top-cta p {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .yb-top-sellers {
    padding: 40px 16px 60px;
  }

  .yb-top-card {
    text-align: center;
  }

  .yb-top-card .btn-custom {
    align-self: center;
  }
}

#yb-top-carousel .carousel-control {
  width: 8%;                 
  background-image: none; 
  z-index: 2;   
}

@media (max-width: 768px) {
  #yb-top-carousel .carousel-control {
    width: 10%;
  }
}

#yb-top-carousel,
#yb-top-carousel .carousel-inner,
#yb-top-carousel .item {
  height: auto;
  min-height: 0;
}

#yb-top-carousel .item > .row {
  margin-bottom: 0;
}

#yb-top-carousel {
  margin-bottom: 0;
  padding-bottom: 0;
}

#yb-top-carousel .carousel-inner {
  height: auto !important;
}

#yb-top-carousel .carousel-inner > .item {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#yb-top-carousel .carousel-inner > .item > .row.yb-top-slide {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


#yb-top-carousel,
#yb-top-carousel .carousel-inner,
#yb-top-carousel .carousel-inner > .item {
  height: auto !important;
  min-height: 0 !important;
}

#yb-top-carousel .carousel-inner > .item {
  padding-top: 0;
  padding-bottom: 0;
}

#yb-top-carousel .carousel-inner > .item > .row {
  margin-top: 0;
  margin-bottom: 0;
}

#yb-top-carousel {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 480px) {
  .yb-top-image {
    max-height: 160px;
  }

  .yb-top-name {
    font-size: 14px;
  }

  .yb-top-card {
    min-height: 220px;
    padding: 8px;
  }

  .yb-top-category {
    font-size: 12px;
  }
  
  .yb-top-card .btn-custom {
    padding: 6px 14px;
    font-size: 12px;
  }
  .yb-top-sellers .container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .yb-top-col {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.yb-page-product-inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .yb-page-product-inner {
    padding-top: 55px !important;
  }
  
  .yb-page-product .container.yb-page-product-inner {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 90px;
  }

  .yb-product-main-image {
    max-height: 320px;
  }
}

.yb-instagram-section {
  padding: 30px 0 40px;
  background: #fff8f2; 
  border-top: 1px solid #f4e1d3;
}

.yb-instagram-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 10px;
  text-transform: none; 
}

.yb-instagram-subtitle {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 25px;
  font-size: 14px;
  color: #666;
}

.yb-instagram-grid {
  margin-top: 10px;
}

.yb-instagram-item {
  margin-bottom: 15px;
}

.yb-instagram-link {
  display: block;
  position: relative;
}

.yb-instagram-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.yb-instagram-image {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.yb-instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.yb-instagram-overlay i.fa-instagram {
  font-size: 28px;
  color: #fff;
}

.yb-instagram-link:hover .yb-instagram-overlay {
  opacity: 1;
}

.yb-instagram-cta {
  margin-top: 10px;
  text-align: center;
}

.yb-instagram-cta .btn-custom {
  padding: 8px 22px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .yb-instagram-image {
    height: 125px;
  }

  .yb-instagram-subtitle {
    font-size: 13px;
  }
}

.yb-search-container {
  margin: 20px 0 10px;
}

.yb-search-box {
  position: relative;
  max-width: 380px;
  width: 100%;
  display: inline-block;
}

.yb-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #b3b3b3;
}

.yb-search-input {
  width: 100%;
  padding: 8px 36px 8px 32px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

.yb-search-input:focus {
  border-color: #f6a9c6;
  box-shadow: 0 0 0 2px rgba(246, 169, 198, 0.25);
}

.yb-search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #b3b3b3;
  padding: 0;
}

.yb-search-clear-btn:hover {
  color: #888;
}

.yb-search-results-info {
  margin-top: 6px;
  font-size: 13px;
  color: #777;
}

.yb-catalog-no-results {
  margin: 30px 0 40px;
  padding: 20px 18px;
  border-radius: 12px;
  background: #fff9fb;
  border: 1px solid #ffe3ee;
  text-align: center;
}

.yb-catalog-no-results-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #444;
}

.yb-catalog-no-results-text {
  font-size: 13px;
  color: #777;
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .yb-search-container {
    margin-top: 16px;
  }

  .yb-search-box {
    max-width: 100%;
  }

  .yb-search-results-info {
    font-size: 12px;
  }
}
