/* Layout container */
body {
    background: white;
    font-family: 'Segoe UI', 'Poppins', Arial, Helvetica, sans-serif;
    margin: 0;
    min-height: 100vh;
    color: #262626;
    display: block;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
    background: #f7faf8;
    color: #1f2933;
    line-height: 1.6;
}
nav {
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  z-index: 1;
}
nav .logo {
  display: flex;
  align-items: center;
}
nav .logo img {
  height: 25px;
  width: auto;
  margin-right: 10px;
}
nav .logo h1 {
  font-size: 1.5rem;
  background: #2A7A44;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 1.5rem;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: #f5f5f5;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 1px;
  background-color: #1f1f1f;
  display: block;
  margin: 7px auto;
  transition: all 0.3s ease-in-out;
}
.hamburger-active {
  transition: all 0.3s ease-in-out;
  transition-delay: 0.6s;
  transform: rotate(45deg);
}

.hamburger-active .line:nth-child(2) {
  width: 0px;
}

.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
  transition-delay: 0.3s;
}

.hamburger-active .line:nth-child(1) {
  transform: translateY(12px);
}

.hamburger-active .line:nth-child(3) {
  transform: translateY(-5px) rotate(90deg);
}
.menubar {
  position: absolute;
  top: 0;
  left: -60%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  height: 100vh;
  padding: 20% 0;
  background: rgba(255, 255, 255);
  transition: all 0.5s ease-in;
  z-index: 2;
}
.active {
  left: 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menubar ul {
  padding: 0;
  list-style: none;
}
.menubar ul li {
  margin-bottom: 32px;
}

.menubar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
}

.menubar ul li a:hover {
  background-color: #f5f5f5;
}
@media screen and (max-width: 790px) {
  .hamburger {
    display: block;
  }
  nav ul {
    display: none;
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Navigation - Keep your existing nav styles or add these */


/* Main Listing Container */
.listing-detail-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.listing-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Column - Image and Description */
.listing-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.listing-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.no-image {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    color: #999;
    font-size: 18px;
}

.description-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.description-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Right Column - Info Card */
.listing-right {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.listing-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.3;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fdf9 0%, #f0f9f1 100%);
    border-radius: 10px;
    border-left: 4px solid #6fbf73;
    margin-bottom: 25px;
}

.price-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 25px;
    font-weight: 700;
    color: #2c3e50;
}

.price-unit {
    font-size: 18px;
    font-weight: 500;
    color: #64748b;
}

.seller-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 25px;
}

.seller-icon {
    font-size: 48px;
    color: #6fbf73;
    display: flex;
    align-items: center;
}

.seller-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seller-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.seller-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.action-section {
    padding-top: 10px;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6fbf73 0%, #5eb162 100%);
    color: white;
    text-decoration: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(111, 191, 115, 0.3);
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 191, 115, 0.4);
}

.contact-button:active {
    transform: translateY(0);
}

.contact-button ion-icon {
    font-size: 22px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .listing-content {
        grid-template-columns: 1fr;
    }

    .listing-right {
        position: static;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .listing-detail-container {
        margin: 20px auto;
        padding: 0 15px;
    }

    .info-card {
        padding: 20px;
    }

    .listing-title {
        font-size: 22px;
    }

    .price-value {
        font-size: 28px;
    }

    .description-section {
        padding: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .description-text {
        font-size: 15px;
    }
}