html{
    scroll-behavior: smooth;
}
/*=============SHOPIntro Section Styling=============*/
.shop-intro {
    text-align: center;
    background-image: url('../images/slide3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* cool parallax-like effect */
    color: white;
    padding: 150px 0;
    position: relative;
}

.shop-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(10, 10, 10, 0.7),
        rgba(20, 20, 20, 0.6)
    );
    backdrop-filter: blur(3px);
    z-index: 0;
}

.shop-intro .wrapper {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
    padding: 30px 40px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.shop-intro h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Metallic button */
.shop-intro .wrapper a {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    background: linear-gradient(145deg, #d7d7d7, #b0b7c0, #f0f0f0);
    border: 1px solid #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: inset 1px 1px 2px rgba(255,255,255,0.6),
                inset -2px -2px 4px rgba(0,0,0,0.3),
                0 6px 15px rgba(0,0,0,0.4);
}

/* metallic shine effect */
.shop-intro .wrapper a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.6),
        transparent
    );
    transform: skewX(-25deg);
}

/* shine animation on hover */
.shop-intro .wrapper a:hover::before {
    left: 120%;
    transition: left 0.8s ease;
}

.shop-intro .wrapper a:hover {
    transform: scale(1.08);
    box-shadow: inset 1px 1px 2px rgba(255,255,255,0.6),
                inset -2px -2px 4px rgba(0,0,0,0.3),
                0 10px 20px rgba(0,0,0,0.6);
}
.shop-owner-badge {
    position: absolute;
    top: 20px; /* distance from top of hero */
    right: 20px; /* distance from right side */
    background: linear-gradient(145deg, #b0b7c0, #e0e5eb); /* metallic gradient */
    color: #222;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3),
                -4px -4px 12px rgba(255,255,255,0.4);
    text-align: center;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-owner-badge:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 15px rgba(0,0,0,0.4),
                -6px -6px 15px rgba(255,255,255,0.5);
}

/* Optional responsive */
@media(max-width: 768px){
    .shop-owner-badge {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
    .shop-intro h2{
      font-size: 24px;
    }
}
.report-button{
  position: absolute;
  bottom: 20px;
  left: 20px;
}
.report-button .report-btn{
  padding: 10px;
  border-radius: 10px;
  border: 1px solid red;
  transition: transform 0.5s ease;
}
.report-button .report-btn:hover{
  transform: scale(1.1);
  background-color: rgb(239, 41, 41);
}
/* Responsive positioning */
@media (max-width: 768px) {
    .report-button {
        bottom: 100px; /* Move above the shop badge on mobile */
        left: 50%;
        transform: translateX(-50%);
    }
    
    .report-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* Report Modal */
.report-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.report-modal.show {
    display: flex;
}

.modal-box {
    background: #1e1e1e;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
}

.modal-box h3 {
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.modal-box textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    resize: vertical;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.cancel-btn, .submit-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.submit-btn {
    background: #dc2626;
    color: #fff;
}
/* ============================= Ads Section ========================== */

/* basic reset for carousel area */
.ads-carousel { 
  max-width: 1200px; 
  margin: 30px auto; 
  position: relative;
}

.carousel-viewport { 
  overflow: hidden; 
  width: 100%; 
}

/* track: single-row flex container, horizontal gap */
.carousel-track {
  display: flex;
  gap: 16px;               /* spacing between cards */
  align-items: stretch;
  will-change: transform;  /* optimise animation */
}

/* ==== Updated ad sizing for more visual weight ==== */

/* card sizing: show fewer cards at larger breakpoints so each ad is wider */
/* ads-loop.css */
.ads-carousel {
  padding: 0 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px; /* Increased gap for better separation */
  padding: 8px 0;
}

/* Wider cards - fewer cards per view */
.ad-card { 
  flex: 0 0 100%; /* mobile: 1 per view */
  background: linear-gradient(145deg, #f4f4f4, #e9e9e9);
  border-radius: 12px; /* Slightly larger radius */
  box-shadow: 6px 6px 18px rgba(0,0,0,0.07), -6px -6px 18px rgba(255,255,255,0.6);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for entire card */
.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 24px rgba(0,0,0,0.1), -8px -8px 24px rgba(255,255,255,0.7);
}

/* Tablet: show 2 cards maximum */
@media (min-width: 640px) {
  .ad-card { 
    flex: 0 0 calc(60% - 10px); /* Wider cards on tablet */
  }
  
  .carousel-track {
    gap: 24px;
  }
}

/* Desktop: show only 1-2 very wide cards */
@media (min-width: 900px) {
  .ad-card { 
    flex: 0 0 calc(45% - 12px); /* Much wider cards */
    min-width: 500px; /* Minimum width to ensure visibility */
  }
  
  .carousel-track {
    gap: 28px;
  }
}

/* Large desktop: even wider */
@media (min-width: 1200px) {
  .ad-card { 
    flex: 0 0 calc(40% - 15px);
    min-width: 550px;
  }
}

/* Larger, more prominent images */
.ad-card img {
  width: 100%;
  height: 280px; /* Much taller for better visibility */
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 12px; /* More padding around image */
  border-radius: 8px;
  transition: transform 0.4s ease;
}

/* Enhanced hover effect for images */
.ad-card:hover img {
  transform: scale(1.05);
}

/* Card content area for potential text */
.ad-content {
  padding: 16px;
  text-align: center;
}

/* Pause on hover */
.carousel-viewport:hover .carousel-track {
  animation-play-state: paused !important;
}

/* Add some visual interest to the track */
.carousel-track {
  will-change: transform;
}

/* Enhanced button styles */
.center-btn {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 70px;
}

.add-ad-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px auto 0;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #e5e5e5, #bfbfbf);
  box-shadow: 5px 5px 12px #a0a0a0,
              -5px -5px 12px #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.add-ad-btn:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 15px #a0a0a0,
              -7px -7px 15px #ffffff;
}

.add-ad-btn:active {
  transform: translateY(-1px);
}
/*===============================Go to dashboard==========================*/
.visit-dashboard {
    text-align: center;
    margin: 30px 0;
}

.visit-dashboard a {
    display: inline-block;
    background: linear-gradient(135deg, #c0c0c0, #8f8f8f, #d6d6d6);
    color: #1a1a1a;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.visit-dashboard a i {
    margin-right: 8px;
}

/* Metallic shine animation */
.visit-dashboard a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    transform: skewX(-20deg);
    transition: 0.7s;
}

.visit-dashboard a:hover::before {
    left: 120%;
}

.visit-dashboard a:hover {
    background: linear-gradient(135deg, #dcdcdc, #aaaaaa, #f0f0f0);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25), inset 0 1px 2px rgba(255,255,255,0.5);
}

/*===============================FILTER &  SORTING==========================*/
/* Filters */
.hero-filters {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Row of filters */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.filter-row select {
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  width: 180px;
  background: linear-gradient(145deg, #f5f5f5, #e2e2e2);
  color: #222;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2),
              inset -1px -1px 3px rgba(255,255,255,0.7);
  transition: all 0.25s ease;
}

.filter-row select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #52796f55;
}

/* Search row styling */
.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

/* Search input */
.search-row input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #222;
  background: linear-gradient(145deg, #fafafa, #e8e8e8);
  box-shadow: inset 2px 2px 6px rgba(0,0,0,0.15),
              inset -2px -2px 6px rgba(255,255,255,0.6);
  transition: all 0.25s ease;
}

.search-row input:focus {
  box-shadow: inset 2px 2px 6px rgba(0,0,0,0.25),
              inset -2px -2px 6px rgba(255,255,255,0.9),
              0 0 8px #52796f99;
}

/* Metallic filter button */
.search-row button {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(145deg, #d7d7d7, #b0b7c0, #e8e8e8);
  color: #111;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: inset 1px 1px 2px rgba(255,255,255,0.6),
              inset -2px -2px 4px rgba(0,0,0,0.3),
              0 6px 14px rgba(0,0,0,0.4);
}

/* Shine effect */
.search-row button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.7),
    transparent
  );
  transform: skewX(-25deg);
}

.search-row button:hover::before {
  left: 120%;
  transition: left 0.8s ease;
}

.search-row button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 1px 1px 2px rgba(255,255,255,0.6),
              inset -2px -2px 4px rgba(0,0,0,0.3),
              0 10px 18px rgba(0,0,0,0.55);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .filter-row select {
    width: 100%;
  }
  .search-row {
    flex-direction: column;
  }
  .search-row button {
    width: 100%;
    justify-content: center;
  }
}
/*============================================products=====================================*/
/* Parent section styling stays the same */
.stores {
  background: linear-gradient(145deg, #f0f0f0, #dcdcdc);
  border-radius: 12px;
  box-shadow: 20px 20px 60px #bebebe,
              -20px -20px 60px #ffffff;
  margin: 0 20px 40px 20px;
  padding: 20px 0;
}

/* Flex grid */
.stores .store-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0 20px 40px 20px;
}

/* Store card */
.stores .store-item {
  background: linear-gradient(145deg, #e0e0e0, #cfcfcf);
  border-radius: 12px;
  box-shadow: 10px 10px 20px #bebebe,
              -10px -10px 20px #ffffff;
  flex: 1 1 280px;    /* 🔑 flexible width, min ~280px */
  max-width: 320px;   /* won’t grow too wide */
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stores .store-item:hover {
  transform: translateY(-10px);
  box-shadow: 15px 15px 30px #bebebe,
              -15px -15px 30px #ffffff;
}

/*PRODUCT IMAGE */



/* zoom on hover */
.stores .store-item:hover img {
    transform: scale(1.05);
}



.stores .store-item h3 {
  margin-bottom: 10px;
  color: #333;
}

.stores .store-item p {
  color: #555;
  line-height: 1.4;
}

.stores .store-item a {
  color: #007BFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.stores .store-item a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/*============= pagination =============*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap; /* responsive for smaller devices */
}

.pagination button {
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(145deg, #e5e5e5, #b8b8b8);
  box-shadow: 3px 3px 6px #a0a0a0,
              -3px -3px 6px #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  color: #222;
  font-weight: 500;
}

.pagination button:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #d1d1d1, #a9a9a9);
  box-shadow: 2px 2px 4px #8c8c8c,
              -2px -2px 4px #ffffff;
}

.pagination button.active {
  background: linear-gradient(145deg, #111, #333);
  color: #f0f0f0;
  font-weight: bold;
  box-shadow: inset 3px 3px 6px #000,
              inset -3px -3px 6px #444;
}

.pagination button:disabled {
  background: #ccc;
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
}

/* Extra responsive tweaks */
@media (max-width: 768px) {
  .stores .store-item img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .stores {
    margin: 0 10px 20px 10px;
    padding: 10px 0;
  }

  .stores .store-item {
    flex: 1 1 100%; /* full width on small screens */
    max-width: 100%;
  }

  .stores .store-item img {
    height: 140px;
  }

  .pagination button {
    padding: 8px 12px;
    font-size: 14px;
  }
}


/*=======================reviews==========================*/
.reviews-section {
  text-align: center;
  margin: 60px auto;
  max-width: 1200px;
}
.cta-title,
.featured-title,
.reviews-title,
.common-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(145deg, #dcdcdc, #9c9c9c, #bfbfbf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 1px;
}

.review-card {
  background: linear-gradient(160deg, #b5b5b5, #e0e0e0, #8f8f8f);
  border-radius: 12px;
  box-shadow: 6px 6px 18px rgba(0,0,0,0.25),
              -6px -6px 18px rgba(255,255,255,0.35);
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-align: left;
  max-width: 360px;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 8px 22px rgba(0,0,0,0.35),
              -8px -8px 22px rgba(255,255,255,0.4);
}

.review-text {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.5;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c0c0c0;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.review-author h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.review-author span {
  font-size: 0.8rem;
  color: #555;
}

/* Popup background */
.popup {
  display: none; /* hidden by default */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* Popup box */
.popup-content {
  background: linear-gradient(145deg, #d1d1d1, #a8a8a8); /* metallic effect */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 6px 6px 12px rgba(0,0,0,0.4),
              -6px -6px 12px rgba(255,255,255,0.3);
  animation: popup-appear 0.3s ease;
  position: relative;
}
.popup-content h3{
  margin-top: 15px;
}
/* Metallic shine effect (subtle) */
.popup-content h3, .popup-content p {
  color: #222;
  font-weight: 600;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #222;
}

/* Platform logo */
.popup-logo {
  max-width: 300px;
  object-fit: contain;
  margin: auto;
}

/* Small animation */
@keyframes popup-appear {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media(max-width: 480px){
  .popup-content {
    padding: 20px;
    max-width: 300px;
  }
  .popup-logo { max-width: 250px; }
  span.close-btn{ 
    background-color: rgba(128, 128, 128, 0.868); 
    border-radius: 50px;
  }
}
/*===================================Leave  Reviews Section==============================*/
.review-section {
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  padding: 80px 20px;
  color: #f0f0f0;
  text-align: center;
}

.review-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 40px 25px;
  box-shadow: 5px 5px 15px #111, -5px -5px 15px #333;
}

/* Title */
.review-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #d1d1d1, #a8a8a8, #d1d1d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.review-wrapper p {
  margin-bottom: 25px;
  font-size: 1rem;
  color: #ccc;
}

/* Form */
.review-form .form-group {
  margin-bottom: 18px;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #222;
  background: #fff;
  box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2),
              inset -2px -2px 6px rgba(255,255,255,0.6);
  transition: box-shadow 0.3s ease;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: none;
  box-shadow: inset 2px 2px 8px rgba(0,0,0,0.3),
              inset -2px -2px 8px rgba(255,255,255,0.7);
}

/* Submit button metallic */
.review-form button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(145deg, #d1d1d1, #a8a8a8);
  color: #222;
  transition: all 0.3s ease;
}

.review-form button:hover {
  transform: translateY(-2px);
  box-shadow: inset 3px 3px 8px #7d7d7d,
              inset -3px -3px 8px #ffffff55;
}