html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Inter', sans-serif;
  background-color:#fff;
  color:#000; margin: 0; padding:0;}
.container-1{width: 100%; height: auto;}
.container-2{width:100%; max-width: 810px; background-color:none; height:auto; margin-left: auto;
  margin-right: auto;}
header {
  background-color: #fff; /* A#3b5333 deep golden green */
  color: #fff;
  padding: 15px 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}
.header-container {
  max-width: 810px;
  margin: 0 auto;
}
.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo {
  max-width: 150px; /* Set a maximum width */
  height: auto;     /* Maintain aspect ratio */
  display: block;   /* Ensure it behaves like a block element */
  margin: 0 auto;   /* Center the image */
}
.motto {
  font-size: 14px;
  font-weight: 400;
  color: #438707; /* A lighter color for contrast */
  margin-top: 5px;
  font-style: italic;
}
.custom-alert {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 12px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alert-icon {
  font-size: 20px;
  margin-right: 10px;
}
.alert-text {
  flex-grow: 1;
}
.content{width: 70%; max-width: 100%; height:auto; background-color: none; margin-left: auto;
  margin-right: auto;}
.back-link-container {margin: 15px 0; text-align: left;}
.back-link {color: #5e5e5e; text-decoration: none; font-size: 16px; font-weight: 500; transition: color 0.3s ease;
}
.back-link:hover {color: #449666; text-decoration: underline; /* Adds an underline on hover */}
.phones-container{border: 1px solid rgba(0,0,0,.125); border-radius:4px; height:auto;}
.phones-tab-header{background-color: rgba(0,0,0,.03); border-bottom: 1px solid rgba(0,0,0,.125); padding: .75rem 1.25rem;}
.ads-container{background-color:transparent; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:8px;}
.ads-tab{position: relative;}
.ads-tab-inner{background-color: #fff; padding: 6px; border-radius: 3px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);}
.ads-img-tab{border: 2px solid #449666; border-radius: 3px; margin-bottom:2px; position: relative;}
.ads-img{height:auto; width: 100%; border: 0; display:block; object-fit: cover; aspect-ratio: 1/1;}
.ads-details{font-size: 14px; color: #666a6c; font-weight: 500; text-overflow: ellipsis; overflow: hidden !important; 
  text-transform: capitalize; padding: 0; margin: 0;}
.ads-price{color: #45b77d; font-weight: 600; line-height:20px; padding: 0; margin: 0;}
.ads-condition{padding: 0; margin: 0; color: #666a6c; font-size: 14px;}
.ads-pagination-tab{border-radius: 3px; padding: 10px 20px; margin: 30px 5px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
 height: auto;}
.pagination{display: flex; padding-left: 0; list-style: none; border-radius: .25rem;}
.page-number{text-align: center;
  width:auto;
  height:100%;
  padding:2px 10px;
  margin-left: 3px;
  line-height: 2;
  border-radius: 3px;
  display: inline-block;
  background-color: #449666;
  color: #fff;}
.page-number.current-page-badge {
    background-color: #4CAF50; /* A slightly different green or color of your choice */
    color: #fff;
    cursor: default;
}
.help{font-size:24px; margin-top:30px; text-align: center;}
a{text-decoration: none; color: inherit;}
.chat-btn-container{width: 100%; margin: 10px 0px; }
.chat-button{width: 295px; max-width: 100%; height: 48px; display: flex; margin-left: auto; margin-right: auto;}
.copy{font-size: 14px; text-align: center;}
.site-footer{padding-top:80px;}
.footer-link {color: #5e5e5e; text-decoration: none; font-size: 12px;
    margin-right: 5px;}
.footer-link:hover {
    text-decoration: underline;
}
/* Styles for the "No products found" message */
.no-products-found {
    text-align: center;
    padding: 40px 20px;
    margin: 20px auto;
    background-color: #f7f7f7;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    max-width: 500px;
}

.no-products-found h3 {
    color: #3b5333;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-products-found p {
    color: #666a6c;
    font-size: 1rem;
    line-height: 1.5;
}
/* Styles for the category select dropdown */
.sort-select {
 appearance: none; /* Removes default dropdown arrow */
 -webkit-appearance: none; /* For Safari */
background-color: #fff;
border: 1px solid #ccc;
border-radius: 8px;
padding: 10px 40px 10px 15px; /* Adjust padding for the icon */
font-family: inherit;
font-size: 1rem;
color: #333;
cursor: pointer;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666666' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 15px center;
}

.sort-select:hover {
border-color: #888;
}

.sort-select:focus {
border-color: #449666;
box-shadow: 0 0 0 3px rgba(68, 150, 102, 0.25);
}
.availability-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    z-index: 10;
}

.availability-badge.available {
    background-color: #4CAF50; /* A pleasant green */
}

.availability-badge.soldout {
    background-color: #F44336; /* A clear red */
}

@media (max-width: 799px) {
  .content{width: 100%; padding: 0px 8px; box-sizing: border-box;} 
}
@media (max-width: 599px) {.ads-container{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 369px) {.ads-container{grid-template-columns: repeat(1, minmax(0, 1fr));}
}
