:root {
  --primary-color: #000000;
  --light-bg: #7ff2ff;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: rgb(240, 238, 238);
}

/* HOME PAGE STYLES */
.home-page {
  min-height: 100vh;
  /* background: linear-gradient(135deg, var(--light-bg) 0%, #cfd5dc 100%); */
  background: linear-gradient(270deg, #0b0f1a, #111a33, #1a0f33);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-container {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 600px;
}

.logo-circle {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.logo-circle i {
  font-size: 3rem;
  color: var(--primary-color);
}

.store-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.store-subtitle {
  color: #7f8c8d;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.shop-button {
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  margin-bottom: 3rem;
}

.shop-button:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.social-links {
  margin-top: 3rem;
}

.social-links h6 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 15px;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: #2c3e50;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.facebook {
  background: #1877f2;
}
.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
.threads {
  background: #000000;
}
.pinterest {
  background: #e60023;
}

/* SHOP PAGE STYLES */

.Customized-Title {
  font-weight: 700;
  text-align: center;
  background: linear-gradient(90deg, #00f7ff, #7b2cff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.Customized-Title h1 {
  font-size: 22px;
}

.bi-arrow-left::before {
  content: "\f12f";
  color: white;
}

.shop-header {
  /* background: #cfd5dc; */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(270deg, #0b0f1a, #111a33, #1a0f33);
  background-size: 600% 600%;
  animation: gradientMove 12s ease infinite;
}

.back-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  text-decoration: none;
  display: inline-block;
}

.back-btn:hover {
  color: #333;
}

.search-box {
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
}

.search-box:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
  outline: none;
}

/* Responsive Container */
@media (max-width: 576px) {
  .container {
    padding: 0 0.75rem;
  }
  .search-box {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  border: 2px solid #e0e0e0;
  background: white;
  transition: all 0.3s;
  cursor: pointer;
  font-size: 0.9rem;
}

.filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.filter-btn:hover {
  border-color: var(--primary-color);
}

@media (max-width: 576px) {
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  align-items: stretch;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* Responsive Product Grid */
@media (max-width: 576px) {
  .products-container {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  .product-grid-col {
    flex: 0 0 calc(50% - 0.5rem) !important;
    padding: 0.25rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .product-grid-col {
    flex: 0 0 calc(33.333% - 0.5rem) !important;
    padding: 0.25rem;
  }
}

@media (min-width: 769px) {
  .product-grid-col {
    flex: 0 0 calc(25% - 0.75rem) !important;
    padding: 0.5rem;
  }
}

.category-badge {
  background: rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* MODAL STYLES */
.modal-content {
  border-radius: 20px;
  border: none;
}

.modal-body-compact {
  padding: 1.5rem;
}

.modal-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 100%;
}

@media (max-width: 576px) {
  .modal-buttons-container {
    gap: 0.5rem;
  }
  .modal-body-compact {
    padding: 1rem;
  }
}

.btn-payment {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-payment img {
  height: 20px;
  flex-shrink: 0;
}

.qr-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qr-container {
  width: 100%;
  max-width: 320px; /* controls size on desktop */
  aspect-ratio: 1 / 1; /* keeps it perfectly square */
  margin: 0 auto; /* center horizontally */
  border-radius: 15px;
  overflow: hidden; /* clips image to rounded corners */
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* prevents cropping */
  display: block;
}

.qr-code-container {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

@media (max-width: 576px) {
  .qr-code-container {
    padding: 1rem;
  }
}

.qr-placeholder {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  background: white;
  border: 3px dashed var(--primary-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  overflow: hidden;
  position: relative;
  cursor: move;
}

@media (max-width: 576px) {
  .qr-placeholder {
    max-width: 250px;
  }
}

.qr-placeholder img {
  transition: transform 0.1s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.btn-primary {
  background: var(--primary-color);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: #333;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.6rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
}

.text-primary {
  color: var(--primary-color) !important;
}

/* IMAGE CAROUSEL STYLES */
.main-image-container {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.image-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.carousel-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
  padding: 0.5rem 0;
}

.carousel-container::-webkit-scrollbar {
  height: 6px;
}

.carousel-container::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb:hover {
  background: #333;
}

.carousel-image {
  min-width: 100px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.carousel-image:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.carousel-image.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #333;
  transform: scale(1.1);
}

.carousel-btn i {
  font-size: 1.2rem;
}

/* IMAGE CAROUSEL STYLES */
.image-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.carousel-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
  padding: 0.5rem 0;
}

.carousel-container::-webkit-scrollbar {
  height: 6px;
}

.carousel-container::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.carousel-container::-webkit-scrollbar-thumb:hover {
  background: #333;
}

.carousel-image {
  min-width: 100px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.carousel-image:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.carousel-image.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: #333;
  transform: scale(1.1);
}

.carousel-btn i {
  font-size: 1.2rem;
}

.description-box {
  max-height: 250px; /* adjust height as you like */
  overflow-y: auto; /* vertical scroll */
}

.description-box::-webkit-scrollbar {
  width: 6px;
}

.description-box::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 10px;
}
