/* Modal Background (same) */
.category-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Modal Box – GRAY */
.category-modal-content {
  background: #f2f2f2; /* gray background */
  width: 90%;
  max-width: 500px;
  border-radius: 14px;
  padding: 25px;
  position: relative;
  color: #000; /* black text */
}

/* Close Button */
.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

/* Title */
.category-modal-content h3 {
  margin-bottom: 20px;
  text-align: center;
  color: #000;
}

/* Category List */
.category-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Category Item – GRAY */
.category-item {
  background: #e0e0e0;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  color: #000;
}

/* Hover Effect */
.category-item:hover {
  background: #cfcfcf;
}

/* Mobile */
@media (max-width: 480px) {
  .category-list {
    grid-template-columns: 1fr;
  }
}

 
 /*category popup end*/


  /*Community section Start*/
   .testimonial-section {
          background: radial-gradient(circle at top, #0f172a, #020617);
          padding: 100px 0;
          color: #fff;
        }
        
        .section-title {
          text-align: center;
          font-size: 36px;
          font-weight: 700;
          color: white;
        }
        
        .section-subtitle {
          text-align: center;
          max-width: 700px;
          margin: 15px auto 60px;
          color: #ffffff;
        }
        
        .testimonial-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 30px;
        }
        
        .testimonial-card {
          background: linear-gradient(180deg, #020617, #020617cc);
          border-radius: 18px;
          padding: 30px;
          box-shadow: 0 0 30px rgba(255, 0, 76, 0.15);
          transition: transform 0.3s;
        }
        
        .testimonial-card:hover {
          transform: translateY(-10px);
        }
        
        .stars {
          color: #fbbf24;
          font-size: 18px;
          margin-bottom: 15px;
        }
        
        .testimonial-text {
          font-size: 15px;
          line-height: 1.7;
          color: #cbd5f5;
        }
        
        .user {
          display: flex;
          align-items: center;
          margin-top: 25px;
        }
        
        .user img {
          width: 48px;
          height: 48px;
          border-radius: 50%;
          margin-right: 12px;
        }
        
        .user h4 {
          margin: 0;
          font-size: 15px;
          color: #ff005c;
        }
        
        .role {
          font-size: 12px;
          font-weight: 600;
        }
        
        .role.red { color: #fbbf24; }
        .role.gold { color: #fbbf24; }
        
        /* Responsive */
        @media (max-width: 991px) {
          .testimonial-grid {
            grid-template-columns: 1fr;
          }
        }
        
    /*Community section end*/

/*Type of income and Start your journey start*/

    .income-section {
          background: radial-gradient(circle at top, #0e1625, #05080f);
          padding: 70px 20px;
          font-family: Arial, sans-serif;
        }
        
        .income-title {
          text-align: center;
          color: #ffffff;
          font-size: 28px;
          margin-bottom: 45px;
          font-weight: 600;
        }
        
        .income-grid {
          max-width: 1200px;
          margin: auto;
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 25px;
        }
        
        .income-card {
          display: flex;
          align-items: center;
          gap: 18px;
          padding: 22px 24px;
          border-radius: 14px;
          background: linear-gradient(145deg, #111827, #0b1220);
          border: 1px solid rgba(255,255,255,0.08);
          box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
          transition: all 0.3s ease;
        }
        
        .income-card:hover {
          transform: translateY(-4px);
          border-color: rgba(255,255,255,0.18);
        }
        
        .income-icon {
          width: 48px;
          height: 48px;
          min-width: 48px;
          background: radial-gradient(circle, #ff4d6d, #8a1d3f);
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 20px;
          color: #ffffff;
        }
        
        .income-text h3 {
          margin: 0 0 6px;
          color: #ffffff;
          font-size: 16px;
          font-weight: 600;
        }
        
        .income-text p {
          margin: 0;
          color: #9aa4b2;
          font-size: 13px;
          line-height: 1.5;
        }
        
        @media (max-width: 900px) {
          .income-grid {
            grid-template-columns: repeat(2, 1fr);
          }
        }
        
        @media (max-width: 600px) {
          .income-grid {
            grid-template-columns: 1fr;
          }
        
          .income-card {
            padding: 18px;
          }
        
          .income-title {
            font-size: 24px;
          }
        }
        
        .custom-cta-banner {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 40px 50px;
          border-radius: 22px;
          background: linear-gradient(90deg, #e91e63 0%, #ff9800 100%);
          font-family: 'Arial', sans-serif;
          box-sizing: border-box;
        }
        
        .custom-cta-content h2 {
          margin: 0 0 10px 0;
          color: #ffffff;
          font-size: 28px;
          font-weight: 700;
        }
        
        .custom-cta-content p {
          margin: 0;
          color: #ffffff;
          font-size: 16px;
          line-height: 1.5;
          opacity: 0.95;
        }
        
        .custom-cta-action {
          margin-left: 30px;
        }
        
        .custom-cta-button {
          background: #ffffff;
          color: #e91e63;
          padding: 14px 32px;
          border-radius: 999px;
          text-decoration: none;
          font-size: 15px;
          font-weight: 600;
          display: inline-block;
          transition: all 0.3s ease;
        }
        
        .custom-cta-button:hover {
          background: #f5f5f5;
          transform: translateY(-2px);
        }
        
        @media (max-width: 768px) {
          .custom-cta-banner {
            flex-direction: column;
            text-align: center;
          }
        
          .custom-cta-action {
            margin: 25px 0 0 0;
          }
        }

/*Type of income and Start your journey End*/

/* FULL MODAL */
.product-popup-modal .modal-dialog {
    max-width: 70%;
}

.product-popup-content {
    background: linear-gradient(135deg, #0b0f1a, #0f172a);
    border-radius: 20px;
    overflow: hidden;
    height: 90vh;
    position: relative;
}

/* CLOSE BUTTON */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #1f2933;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    z-index: 10;
}

/* LAYOUT */
.popup-wrapper {
    display: flex;
    height: 100%;
}

/* LEFT IMAGE */
.popup-image {
    width: 45%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-image img {
    max-width: 90%;
    border-radius: 20px;
}

/* RIGHT CONTENT */
.popup-details {
    width: 55%;
    padding: 40px;
    color: #fff;
    overflow: hidden;
}

/* SCROLL */
.popup-scroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}

/* CONTENT STYLE */
.popup-category {
    color: #f43f5e;
    letter-spacing: 2px;
    font-size: 15px;
}

.popup-title {
    font-size: 20px;
    font-weight: 600;
}

.popup-rating {
    color: #facc15;
    margin-bottom: 15px;
}

.popup-rating span {
    color: #94a3b8;
    font-size: 14px;
    margin-left: 10px;
}

.popup-desc {
    color: #cbd5e1;
    line-height: 1.7;
}

/* PRICE BOX */
.popup-price-box {
    background: #0f172a;
    border-radius: 16px;
    padding: 20px;
    margin: 25px 0;
}

.popup-price-box h2 {
    color: #22c55e;
}

.popup-price-box del {
    color: #64748b;
    margin-left: 10px;
}

.popup-price-box small {
    display: block;
    color: #22c55e;
    margin-top: 5px;
}

/* BUTTONS */
.popup-buttons {
    display: flex;
    gap: 15px;
}

.btn-cart {
    flex: 1;
    background: #fff;
    color: #000;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-buy {
    flex: 1;
    background: #ef4444;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
}

/* SCROLLBAR */
.popup-scroll::-webkit-scrollbar {
    width: 6px;
}
.popup-scroll::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}



/* ===============================
   SIZE SELECTOR STYLISH UI
   =============================== */

.size-selector-area {
    margin-top: 18px;
}

.size-label {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* SIZE LIST */
.size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* SIZE BOX */
.size-box {
    min-width: 48px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #020617;
    color: #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* HOVER */
.size-box:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    transform: translateY(-2px);
}

/* SELECTED */
.size-box.active {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(56,189,248,0.35);
}

/* MOBILE */
@media (max-width: 768px) {
    .size-box {
        min-width: 44px;
        padding: 9px 12px;
        font-size: 13px;
    }
}


/* ===============================
   QUANTITY + SHARE ROW STYLING
   =============================== */

.qty-share-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* gap between quantity and share icons */
}

/* Quantity */
.qty-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    background: #1e293b;
    border: none;
    color: #f8fafc;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}
.qty-btn:hover { background: #2563eb; color: white; }

.qty-input {
    width: 48px;
    height: 36px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #e2e8f0;
    pointer-events: none;
}

/* Share Icons */
.share-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-wrapper span {
    font-weight: 700;
    color: #334155;
    font-size: 14px;
}

.share-wrapper a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 16px;
    transition: all 0.3s ease;
     text-decoration: none; /* remove underline */
}
.share-wrapper a:hover {
    background: #2563eb;
    color: #fff;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .qty-share-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .qty-wrapper { gap: 6px; }
    .qty-btn { width: 32px; height: 32px; font-size: 18px; }
    .qty-input { width: 40px; height: 32px; font-size: 14px; }
    .share-wrapper { gap: 8px; }
    .share-wrapper a { width: 32px; height: 32px; font-size: 14px; }
}


/* ===============================
   MOBILE RESPONSIVE FIX
   =============================== */

/* =====================================
   MOBILE VIEW FINAL ORDER FIX
   ===================================== */

@media (max-width: 768px) {

    /* FULL SCREEN MODAL */
    .product-popup-modal .modal-dialog {
        max-width: 100%;
        margin: 10px;
        height: 100vh;
    }

    .product-popup-content {
        height: 100vh;
        border-radius: 0;
    }

    /* COLUMN LAYOUT */
    .popup-wrapper {
        flex-direction: column;
        height: 100%;
    }

    /* IMAGE TOP */
    .popup-image {
        width: 100%;
        height: 38vh;
        padding: 10px;
        order: 1;
    }

    .popup-image img {
        max-height: 100%;
        width: auto;
        object-fit: contain;
    }

    /* CONTENT AREA */
    .popup-details {
        width: 100%;
        height: 62vh;
        padding: 18px;
        order: 2;
    }

    .popup-scroll {
        height: 100%;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    /* ORDER INSIDE CONTENT */
    .popup-category { order: 1; }
    .popup-title { 
        order: 2;
        font-size: 22px;
        line-height: 1.3;
    }

    .popup-desc {
        order: 3;
        font-size: 14px;
        color: #cbd5e1;
    }

    .popup-price-box {
        order: 4;
        padding: 14px;
    }

    /* BUTTONS BOTTOM STACK */
    .popup-buttons {
        order: 5;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
       margin-bottom: 40px;
    }

    .btn-cart,
    .btn-buy {
        width: 100%;
        padding: 13px;
        font-size: 15px;
    }

    /* CLOSE BUTTON */
    .popup-close {
        top: 10px;
        right: 10px;
        z-index: 9999;
    }
}

/* ===============================
   CATEGORY POPUP
   =============================== */

.category-modal-content {
    border-radius: 16px;
    padding: 25px;
    position: relative;
}

.category-modal-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* CATEGORY LIST */
.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 5px;
}

/* CATEGORY ITEM */
.category-item {
    padding: 14px 12px;
    background: #f9fafb;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-item:hover {
    background: #ec4899;
    color: #fff;
    transform: translateY(-2px);
}

/* SCROLLBAR */
.category-list::-webkit-scrollbar {
    width: 6px;
}
.category-list::-webkit-scrollbar-thumb {
    background: #ec4899;
    border-radius: 10px;
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 99999;        /* very high */
    cursor: pointer;
    pointer-events: auto; /* allow click */
}

.popup-wrapper,
.popup-image,
.popup-details {
    pointer-events: auto;
}


/* MOBILE */
@media (max-width: 768px) {
    .category-modal-title {
        font-size: 22px;
    }

    .category-list {
        grid-template-columns: repeat(2, 1fr);
        max-height: 70vh;
    }
}
