/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.btn-moreInfo {
  position: relative;
  background: #d8a045;
  color: white;
  border: none;
  padding: 5px 20px 5px 20px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 2px;
}

#newGlob {
  background-color: #2f5aa8;
  color: white;
  font-size: 18px;
  font-weight: 900;
  border-radius: 20px;
  padding: 10px 20px 10px 20px;
}

.custom-blue-bar {
  flex: 1 1 auto;
  background: #0f1626;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px 0 60px;
}

.custom-menu {
  display: flex;
  align-items: center;
  height: 100%;
}

.custom-main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-main-nav li {
  list-style: none;
}

.custom-main-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 56px;
}

.custom-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.custom-searchform {
  margin: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f3f3f3;
  border-radius: 20px;
  height: 40px;
  padding: 0 10px;
  min-width: 450px;
}

.search-icon {
  font-size: 25px;
  color: #666;
  margin-right: 8px;
}

.search-box input {
  margin-top: 10px;
  border: none;
  outline: none;
  background: transparent;
  width: 90%;
  font-size: 13px;
  color: #333;
}

.custom-account {
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-header .header-inner {
  padding-right: 0 !important;
  gap: 0 !important;
}

html {
  scroll-behavior: smooth;
}

/* //parte de ourbrands */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 30px;
  color: white;
}

.hero-content img {
  display: inline-block;
  width: 40%;
  box-shadow: 0 18px 45px rgba(226, 35, 26, 0.45);
}

.hero-content p {
  font-size: clamp(20px, 2vw, 17px);
  line-height: 1.7;
  margin-bottom: 25px;
}

.more-info-btn {
  border: none;
  background: linear-gradient(135deg, #d89b2b, #f6c76b);
  color: #111;
  padding: 13px 30px;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 14px 30px rgba(216, 155, 43, 0.45);
}

.more-info-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 22px 45px rgba(216, 155, 43, 0.65);
}

.info-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  perspective: 1600px;
  background: #f7f1e8;
  padding: 0 6%;
  transition:
    max-height 1.1s ease,
    opacity 0.8s ease,
    padding 0.8s ease;
}

.info-panel.active {
  max-height: 1800px;
  opacity: 1;
  padding: 55px 6%;
}

.table-card {
  transform: rotateX(-70deg) translateY(-80px) scale(0.85);
  opacity: 0;
  transform-origin: top center;
  transition:
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease;
}

.info-panel.active .table-card {
  transform: rotateX(0deg) translateY(0) scale(1);
  opacity: 1;
}

.info-panel.active .recommendation-card {
  transition-delay: 0.25s;
}

.table-wrapper {
  overflow-x: auto;
}

.brand-table,
.recommendation-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff8ec;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.brand-table th,
.recommendation-table th {
  background: #d79a2b;
  color: #111;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 8px;
  border: 1px solid #e7c588;
}

.brand-table td,
.recommendation-table td {
  height: 34px;
  border: 1px solid #e7c588;
  background: rgba(255, 255, 255, 0.45);
}

.section-row td {
  background: #8f8f8f;
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding-left: 14px;
}

.recommendation-card {
  max-width: 760px;
  margin: 45px auto 0;
}

.recommendation-table th {
  background: #050914;
  color: #f3b23f;
}

@keyframes pulseLight {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

@media (max-width: 768px) {
  .lenovo-section {
    min-height: 430px;
  }

  .hero-content {
    padding: 22px;
  }

  .info-panel.active {
    padding: 35px 16px;
  }

  .brand-table {
    min-width: 900px;
  }

  .recommendation-card {
    margin-top: 30px;
  }
}

/* liquors */
/* CONTENEDOR */
.brand-card {
  width: 100%;
  max-width: 2800px;
  margin: auto;
  position: relative;
}

/* BANNER */
.hero {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* LOGO REDONDO */
.logo-circle {
  /* width: 120px; */
  /* height: 120px; */
  /* border-radius: 50%; */
  /* background: #1bb6b0; */
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
}

.logo-circle img {
  width: 80%;
  object-fit: contain;
}

/* CAJA BLANCA */
.info-box {
  width: 90%;
  margin: -35px auto 0 auto;
  background: #f5f5f5;
  border-radius: 50px;
  padding: 40px 35px 20px;
  text-align: center;
  position: relative;
  z-index: 5;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.info-box p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
}

/* BOTON */
#moreBtn {
  padding: 8px 20px;
  border: 1px solid #777;
  background: white;
  cursor: pointer;
  font-size: 12px;
  transition: 0.3s;
}

#moreBtn:hover {
  background: #ddd;
}

/* TABLA */
.more-info {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: 20px;
}

.more-info.active {
  max-height: 500px;
}

.more-info table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.more-info th {
  background: #222;
  color: white;
}

.more-info th,
.more-info td {
  border: 1px solid #ccc;
  padding: 12px;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    height: 200px;
  }

  .logo-circle {
    width: 90px;
    height: 90px;
  }

  .info-box {
    padding: 30px 20px;
    border-radius: 18px;
  }

  .info-box p {
    font-size: 13px;
    line-height: 1.5;
  }

  .more-info table {
    font-size: 12px;
  }
}

.tech-button {
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
  padding: 12px;

  border-top: 2px solid white;
  border-left: 2px solid white;

  border-right: 2px solid white;
  border-bottom: 2px solid white;

  border-radius: 2px;
  transition: 0.3s ease;
}

.tech-button:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .more-info-btn {
    width: 100%;
  }

  .hero-content h1 {
    width: 100%;
  }

  .hero {
    height: 160px;
  }

  .logo-circle {
    width: 75px;
    height: 75px;
    top: 15px;
  }

  .info-box {
    width: 95%;
    margin-top: -25px;
    padding: 25px 15px;
  }

  .info-box p {
    font-size: 12px;
  }

  #moreBtn {
    width: 100%;
  }

  .more-info {
    overflow-x: auto;
  }

  .more-info table {
    min-width: 450px;
  }
}
