* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
  }
  

nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 1rem 2rem;
  transition: all 0.4s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 120px;
  width: auto;
}

.nav-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #fff;
  color: black;
  padding: 0.5rem 1.5rem; 
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1;
}

.nav-minimal .logo img {
  height: 60px; 
  width: auto;
}

.nav-minimal .nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem; 
}

.nav-minimal .nav-links a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001; 
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #222;
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {

  .nav-minimal .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around; 
    width: 30px;
    height: 30px;                 
    margin-left: auto;
    position: relative;
    z-index: 1001;
    padding: 5px 0;               
  }

  .hamburger span {
    transform-origin: center;      
  }

  .nav-minimal .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 1rem 0;
    position: static;              
  }

  .nav-minimal .nav-links.active {
    display: flex;
  }

  .nav-minimal .nav-links li {
    text-align: center;
    padding: 12px 0;
  }

  .gallery-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gallery-preview-grid a img {
    height: 110px;
  }

}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.lightbox {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s;
}

.lightbox .close:hover {
  color: #1db954;
}



  .hero {
    display: flex;
    height: 100vh;
    overflow: hidden;
    position: relative; 
  }
   
  .slides-left {
    position: relative;
    width: 70%; 
   height: 100%;
    overflow: hidden;
  }
  
  .slides-right {
    position: relative;
    width: 30%; 
    height: 100%;
    overflow: hidden;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
  }

 @media (max-width: 768px) {
    .hero {
        flex-direction: column; 
        height: auto;           
    }

    .slides-left {
        width: 100%;
        height: 50vh; 
    }

    .slides-right {
        display: none;
    }

    .hero-content {
        font-size: 1rem;       
        padding: 0.5rem 1rem;  
        max-width: 90%;        
        line-height: 1.4;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
  

.products-section {
  padding: 80px 20px;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 60px;
}

.products-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px 25px;
  width: 320px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.product-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.product-card p {
  color: #555;
  font-size: 16px;
  margin-bottom: 25px;
}

.product-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  background: linear-gradient(45deg, #ff4d6d, #ff9a3c);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.product-btn:hover {
  transform: scale(1.05);
}


@media (max-width: 768px) {
  .products-grid {
    display: flex;
    justify-content: space-between; 
    flex-wrap: nowrap;  
    gap: 15px;                     
    overflow-x: hidden;            
    padding: 0 10px 20px 10px;     
    box-sizing: border-box;
  }

  .product-card {
    flex: 1 1 48%;   
    min-width: 0;    
    padding: 15px;
    box-sizing: border-box;
  }

  .product-image {
    height: 120px;       
    margin-bottom: 10px;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  .product-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .product-card p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .product-btn {
    padding: 6px 14px;
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }
}


.recognition-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.awards-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.award-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  width: 300px;
  max-width: 100%;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  flex: 1 1 300px; 
}

.award-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.award-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.award-card a {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background-color: #f06543; 
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.award-card a:hover {
  background-color: #e94e1b;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.about-header {
    max-width: 1000px;
    margin: 6rem auto 4rem auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.about-header h1 {
    font-size: 2.8rem;
    color: #f06543; 
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.about-header p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.about-header p,
.about-header h1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.about-header h1 {
    animation-delay: 0.2s;
}

.about-header p:nth-child(2) {
    animation-delay: 0.4s;
}

.about-header p:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .award-card {
        flex: 1 1 45%; 
    }
}

@media (max-width: 768px) {

    .about-header {
        margin: 4rem 1rem 3rem 1rem;
        padding: 1.5rem 1rem;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-header p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .awards-section {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .award-card {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.contact-details {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  flex: 1 1 400px;
  min-width: 300px;
}

.contact-details h2 {
  color: #d9534f; 
}

.contact-details ul {
  list-style-type: none;
  padding: 0;
}

.contact-details li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.contact-details a {
  color: #1b4d3e; 
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.map {
  flex: 1 1 400px;
  min-width: 300px;
}

.map h2 {
  color: #d9534f; 
}

iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 10px;
}

.site-footer {
  background: #111827;
  color: white;
  padding-top: 60px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  padding: 0 20px 50px;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #cbd5e1;
  max-width: 280px;
  font-size: 15px;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 18px;
  font-size: 18px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #cbd5e1;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ff8c42;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.15);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #94a3b8;
}

footer a {
  color: whitesmoke;           
  text-decoration: none;
}

.product-page {
  font-family: 'Inter', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  color: #333;
  background: #fff;
}

.product-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.product-intro .text {
  flex: 1 1 350px;
}

.product-intro .text h1 {
  font-size: 2.8rem;
  color: #ff7a3c;
  margin-bottom: 1rem;
}

.product-intro .text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.product-intro .image-container {
  flex: 1 1 350px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-intro .image-container img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.product-intro .image-container:hover img {
  transform: scale(1.05);
}

.product-intro .overlay-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 122, 60, 0.85);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

.flavors {
  margin-bottom: 4rem;
  text-align: center;
}

.flavors h2 {
  font-size: 2rem;
  color: #ff7a3c;
  margin-bottom: 2rem;
}

.flavor-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.flavor-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  max-width: 300px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.flavor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

.flavor-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.flavor-text {
  padding: 1rem;
}

.flavor-text h3 {
  font-size: 1.4rem;
  color: #ff7a3c;
  margin-bottom: 0.5rem;
}

.flavor-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.benefits {
  margin-bottom: 4rem;
  text-align: center;
}

.benefits h2 {
  font-size: 2rem;
  color: #ff7a3c;
  margin-bottom: 2rem;
}

.benefit-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.benefit-card {
  background: #ff7a3c;
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
  max-width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.enjoy {
  background: #fff5ed;
  padding: 2rem;
  border-radius: 15px;
  max-width: 800px;
  margin: auto;
  margin-bottom: 4rem;
}

.enjoy h2 {
  text-align: center;
  font-size: 2rem;
  color: #ff7a3c;
  margin-bottom: 1.5rem;
}

.enjoy ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.enjoy li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .flavor-cards,
  .benefit-cards {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .product-intro {
    flex-direction: column;
  }

  .product-intro .text h1 {
    font-size: 2.2rem;
  }

  .product-intro .text p {
    font-size: 1rem;
  }

  .flavor-text h3 {
    font-size: 1.2rem;
  }

  .benefit-card h3 {
    font-size: 1.1rem;
  }

  .enjoy h2 {
    font-size: 1.6rem;
  }
}

.freshsip-page {
  font-family: 'Inter', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  color: #333;
  background: #fff;
}

.freshsip-page .product-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

.freshsip-page .product-intro .text h1 {
  font-size: 2.8rem;
  color: #1db954; 
  margin-bottom: 1rem;
}

.freshsip-page .product-intro .text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.freshsip-page .product-intro .image-container {
  flex: 1 1 350px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.freshsip-page .product-intro .image-container img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.freshsip-page .product-intro .image-container:hover img {
  transform: scale(1.05);
}

.freshsip-page .product-intro .overlay-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(29, 185, 84, 0.85);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

.freshsip-page .flavors h2 {
  font-size: 2rem;
  color: #1db954;
  margin-bottom: 2rem;
}

.freshsip-page .flavor-cards {
  display: flex;
  flex-wrap: nowrap;   
  justify-content: center;
  gap: 2rem;
  overflow-x: auto;    
}

.freshsip-page .flavor-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  max-width: 300px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.freshsip-page .flavor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

.freshsip-page .flavor-text h3 {
  font-size: 1.4rem;
  color: #1db954;
  margin-bottom: 0.5rem;
}

.freshsip-page .flavor-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;   
  display: block;
}

.freshsip-page .benefits h2 {
  font-size: 2rem;
  color: #1db954;
  margin-bottom: 2rem;
}

.freshsip-page .benefit-card {
  background: #1db954;
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
  max-width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.freshsip-page .benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.freshsip-page .enjoy {
  background: #e6fff2;
  padding: 2rem;
  border-radius: 15px;
  max-width: 800px;
  margin: auto;
  margin-bottom: 4rem;
}

.freshsip-page .enjoy h2 {
  color: #1db954;
}

@media (max-width: 1024px) {
  .freshsip-page .flavor-cards,
  .freshsip-page .benefit-cards {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .freshsip-page .product-intro {
    flex-direction: column;
  }
  .freshsip-page .product-intro .text h1 {
    font-size: 2.2rem;
  }
}

.featured-gallery {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.featured-gallery .section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #333;
}

.featured-gallery .section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.gallery-preview-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-preview-grid a img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-preview-grid a:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.featured-gallery .gallery-cta .btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.1rem;
  color: #fff;
  background-color: red;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.featured-gallery .gallery-cta .btn:hover {
  background-color: #cf5a0a;
}

.ig-profile {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ig-profile-top {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

.ig-profile-pic img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eee;
}

.ig-profile-info h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.ig-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.follow-btn {
  background: #0095f6;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.follow-btn:hover {
  background: #0073cc;
}

.message-btn {
  background: #efefef;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.message-btn:hover {
  background: #ddd;
}

.ig-bio {
  color: #444;
  line-height: 1.5;
}

.ig-tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  border-top: 1px solid #ddd;
  margin-bottom: 20px;
}

.ig-tab {
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #555;
  transition: color 0.2s;
}

.ig-tab.active {
  border-top: 2px solid #000;
  color: #000;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 5px;
}

.ig-grid img,
.ig-grid video {
  width: 100%;
  height: 250px;
  object-fit: contain; 
  border-radius: 6px;
  cursor: pointer;
}

.hidden {
  display: none;
}

@media (max-width: 600px) {
  .ig-profile-top {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .ig-grid img,
  .ig-grid video {
    height: 150px;
  }

  .ig-profile {
    padding: 20px 10px;
  }
}

#media-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#media-popup.show {
  display: flex;
}

#media-popup .popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

#media-popup img,
#media-popup video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

#popup-close,
#prev,
#next {
  position: absolute;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  padding: 5px;
  transition: color 0.2s;
}

#popup-close { top: 20px; right: 30px; }
#prev { top: 50%; left: 20px; transform: translateY(-50%); }
#next { top: 50%; right: 20px; transform: translateY(-50%); }

#popup-close:hover,
#prev:hover,
#next:hover {
  color: #ccc;
}


@media (max-width: 600px) {
  #popup-close,
  #prev,
  #next {
    font-size: 40px; 
    padding: 12px;
    z-index: 10000; 
  }

  #prev {
    left: 10px;
  }

  #next {
    right: 10px;
  }

  #popup-close {
    top: 10px;
    right: 15px;
  }

  #media-popup .popup-content {
    max-width: 100%;
    max-height: 100%;
  }

  #media-popup img,
  #media-popup video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
  }
}

@media (max-width: 600px) {
  .ig-profile-top {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .ig-profile {
    padding: 20px 10px;
  }

  .ig-grid {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(3, 1fr); 
  }

  .ig-grid img.post {
    height: 120px;
  }

  .ig-grid video.reel {
    grid-column: span 3; 
    height: 180px;       
    object-fit: contain;  
  }
}
