/* ========== GENERAL LAYOUT ========== */
html,body {
    width:100%;
    height:100%;
    position:absolute;
    left:0px;
    top:0px;
    margin: 0;
    padding: 0;
    background: #f2f4f8;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    display:flex;
    justify-content:flex-start;
    align-items:flex-start;
    flex-flow:row wrap;
}

/* ========== HEADER ========== */

.header {
    width:100%;
    height:60px;
    background: #1a73e8;
    padding: 0px 0px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-btn {
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.main-title {
    padding-left:11px;
    margin: 0;
    font-size: 1.5rem;
}

/* ========== SEARCH BAR MEJORADA ========== */
#searchBox{
    width: 100%;
    height:40px;
    padding: 0px;
    padding-left:11px;
    padding-right:11px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media screen and (max-width:767px){}
.searchInput {
    width:calc(100% - 1% - 80px);
    height:40px;
    padding: 5px;
    border: none;
    font-size: 1rem;
    display:flex;
    box-sizing:border-box;
    outline:none;
    text-align:center;
}


#closeSuggestion {
    width:40px;
    height:80%;
    background:white;
    border: none;
    padding: 0px 0px;
    color:grey;
    font-size: 1.2rem;
    cursor: pointer;
    margin:0px;
}

.searchIcon {
    width:40px;
    height:40px;
    background: #1a73e8;
    background:white;
    border: none;
    padding: 12px 16px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

#suggestions{
 position:fixed;
 left:1%;
 top:100px;
 z-index:2;
 width: 98%;
 height: calc(100% - 110px);
 display:none;
 flex-flow:row wrap;
 text-decoration: none;
 overflow-y: scroll;
 justify-content: flex-start;
 align-items:flex-start;
 gap:11px;
 background-color:white;
 padding: 35px 20px;
 margin:0px;
}

.suggestion{
 max-width:767px;
 min-height: 30px;
 text-decoration: none;
 display: flex;
 flex-flow: row;
 padding: 11px;
 box-sizing: border-box;
}

.suggestionTitle{
 width: 320px;
 box-sizing: border-box;
 margin: 0px;
 padding: 0px;
 padding-left: 11px;
 color: grey;
 display: flex;
 justify-content: flex-start;
 align-items: center;
 overflow-wrap: break-word;
}
.suggestionPhoto{
 width: 48px;
 height: 48px;
 border-style: solid;
 border-radius: 5px;
 border-width: 0px;
}
/* ========== SIDEBAR ========== */

.sidebar {
    position: fixed;
    left: -230px;
    top: 0;
    width: 230px;
    height: 100%;
    background: #ffffff;
    box-shadow: 3px 0 10px rgba(0,0,0,0.15);
    padding-top: 80px;
    transition: left .3s;
}

.close-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.sidebar.open {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 12px 20px;
}

.sidebar ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

/* ========== MAIN CONTENT ========== */

.main-container {
    width:100%;
    height:calc(100% - 180px);
    display: flex;
    justify-content: flex-start;
    flex-flow: row wrap;
    gap: 11px;
    padding: 35px 20px;
}

/* ========== BUSINESS CARD ========== */

.business-card {
    width: 320px;
    height: 420px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-flow: column;
    justify-content:flex-start;
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
    transition: transform .2s, box-shadow .2s;
}
@media screen and (max-width:767px){
 .business-card{
  width:96%;
  padding:3px;
 }
 #suggestions{
  padding:0px;
 }
}
.business-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}

.rowTop img {
    width: 100%;
    height: 180px;
    margin: 0px;
    object-fit: cover;
    border-top-left-radius:16px;
    border-top-right-radius:16px;
}
.rowTop{
  width: 100%;
  height:180px;
  padding:0px;
  margin: 0px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}
.rowCenter{
  width: 100%;
  height:180px;
  padding: 11px;
  margin: 0px;
  box-sizing: border-box;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
}
.rowBottom{
  width: 100%;
  height:40px;
  padding:11px;
  margin: 0px;
  box-sizing: border-box;
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
}

.title {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-size: 1.4rem;
    font-weight: bold;
}

.info {
    font-size: 1rem;
    margin: 7px 0;
    color: #444;
    height: 80px;
    padding: 0px;
    box-sizing: border-box;
}

.info span {
    font-weight: bold;
}



.btn-whatsapp, .btn-share {
    width: 48%;
    padding: 11px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 1rem;
    transition: opacity .2s;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-share {
    background: #007bff;
}

.btn-whatsapp:hover, .btn-share:hover {
    opacity: 0.85;
}
