:root {
  --primary-color: #2563eb;
  --secondary-color: #fde047; /* Yellow */
  --light-gray: #f8f9fa;
  --dark-gray: #1f2937;
  --text-color: #374151;
  --white: #ffffff;
  --danger-color: #ef4444;
}

body {
  font-family: "Times New Roman", Times, serif;
  background-color: var(--light-gray);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.custom-cursor-dot,
.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.18s ease, height 0.18s ease, background-color 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
  z-index: 10000;
  opacity: 0;
}

.custom-cursor-dot {
  width: 14px;
  height: 14px;
  background-color: rgba(37, 99, 235, 0.95);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
}

.custom-cursor-ring {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(37, 99, 235, 0.55);
  background: transparent;
}

body.custom-cursor-active .custom-cursor-dot {
  width: 24px;
  height: 24px;
  background-color: rgba(253, 224, 71, 0.95);
  box-shadow: 0 0 24px rgba(253, 224, 71, 0.4);
}

body.custom-cursor-active .custom-cursor-ring {
  border-color: rgba(253, 224, 71, 0.65);
  opacity: 0.9;
}

.cursor-sparkle {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  animation: sparkle-fade 0.7s ease-out forwards;
  z-index: 9998;
}

@keyframes sparkle-fade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.7);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

@media (max-width: 768px) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark-gray);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: #1d4ed8;
}

/* Utilities */
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: #ca8a04 !important; } /* Darker yellow for text */
.bg-light-gray { background-color: var(--light-gray) !important; }

.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary-custom:hover {
  background-color: #1d4ed8;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Header & Navbar */
.top-bar {
  background-color: var(--white);
  color: var(--text-color);
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid #eaeaea;
}

.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding-top: 10px;
  padding-bottom: 10px;
}

.navbar-brand img {
  max-height: 60px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-color) !important;
  font-size: 15px;
  padding: 10px 20px !important;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link:hover::after, .nav-link.active::after {
  width: calc(100% - 40px);
}

.search-bar {
  border-radius: 30px;
  border: 1px solid #ddd;
  padding: 10px 20px;
  min-width: 300px;
  background-color: #f3f4f6;
}

.cart-icon {
  font-size: 20px;
  color: var(--dark-gray);
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--dark-gray);
  color: var(--white);
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
}

/* Main Banner */
.main-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
.main-banner-container {
  padding: 20px 0;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 30px;
}
.section-title h3 {
  font-weight: 800;
  font-size: 42px;
  position: relative;
  display: inline-block;
}
.section-title h3 span {
  color: var(--secondary-color);
}
.section-title.left-align {
  text-align: left;
}
.section-title.left-align h3 {
  margin-bottom: 5px;
}
.view-all {
  color: #ca8a04;
  font-size: 14px;
  font-weight: 600;
}

/* Categories Section (Explore Collections) */
.category-card {
  border: none;
  background-color: transparent;
  box-shadow: none;
  text-align: center;
  padding: 0;
  margin-bottom: 20px;
}
.category-card:hover {
  transform: translateY(-8px);
}
.category-card .img-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  background-color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 0;
}
.category-card:hover .img-wrapper {
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.15);
  border-color: var(--primary-color);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card h5 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  color: var(--dark-gray);
  transition: color 0.3s ease;
}
.category-card:hover h5 {
  color: var(--primary-color);
}

/* Product Card */
.product-card {
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
  margin-bottom: 30px;
  background-color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(250, 204, 21, 0.2);
  border-color: var(--secondary-color);
}
.product-card .discount-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #ef4444; /* red */
  color: var(--white);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  z-index: 10;
  text-transform: uppercase;
}
.product-card .wishlist-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(255,255,255,0.95);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444; /* Changed from grey to red */
  font-size: 15px;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-card .wishlist-icon:hover {
  color: #ef4444;
  background-color: #fff;
}
.product-card img {
  height: 240px;
  object-fit: cover;
  width: 100%;
  padding: 0;
  transition: transform 0.5s ease;
}
.product-card:hover img {
  transform: scale(1.05);
}
.product-card .card-body {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card .category-name {
  font-size: 11px;
  color: #eab308; /* Yellow */
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  font-weight: 700;
}
.product-card .product-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark-gray);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .rating {
  color: #fbbf24;
  font-size: 12px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.product-card .rating .text-muted {
  font-size: 12px;
}
.product-card .price {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-gray);
}
.product-card .original-price {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 500;
}
.product-card .btn-add-cart {
  background-color: #facc15; /* Yellow button */
  color:black;
  border: none;
  padding: 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(250, 204, 21, 0.2);
}
.product-card .btn-add-cart:hover {
  /* background-color:rgb(107, 107, 242); */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 15px rgba(250, 204, 21, 0.4);
}
.product-card .btn-add-cart:active {
  transform: translateY(0) scale(0.98);
}
/* Brands Section */
.brand-box {
  padding: 25px 15px;
  border-radius: 12px;
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 15px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
}
.brand-box:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-color: var(--white);
}
.brand-box.bg-green { background-color: #16a34a; }
.brand-box.bg-pink { background-color: #db2777; }
.brand-box.bg-red { background-color: #dc2626; }
.brand-box.bg-orange { background-color: #ea580c; }
.brand-box.bg-blue { background-color: #2563eb; }

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(to right, #e2e8f0, #cbd5e1);
  padding: 40px 0;
  border-radius: 12px;
  margin: 40px 0;
  text-align: center;
}
.newsletter-section h3 {
  color: var(--dark-gray);
  margin-bottom: 20px;
  font-weight: 700;
}
.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
}
.newsletter-form input {
  border-radius: 8px 0 0 8px;
  border: 1px solid #fff;
  padding: 12px 20px;
  width: 100%;
}
.newsletter-form button {
  border-radius: 0 8px 8px 0;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  border: 1px solid #f3f4f6;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
  border-color: var(--primary-color);
}
.testimonial-card .client-info {
  display: flex;
  align-items: center;
  margin-top: 15px;
}
.testimonial-card .client-info img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}
.testimonial-card .rating {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 14px;
}
.testimonial-card p {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 50px 0 20px;
}
.footer h5 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 16px;
}
.footer ul {
  list-style: none;
  padding: 0;
}
.footer ul li {
  margin-bottom: 12px;
  font-size: 14px;
}
.footer ul li a {
  color: rgba(255,255,255,0.8);
}
.footer ul li a:hover {
  color: var(--white);
}
.footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}
.footer .social-icons a:hover {
  background-color: var(--white);
  color: var(--primary-color);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  margin-top: 30px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


@media (max-width: 768px) {
  .section-title h3 { font-size: 28px !important; }

  .table-responsive {
    overflow-x: hidden;
  }

  .table thead {
    display: none;
  }

  .table tbody tr {
    display: block;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    padding: 1rem;
  }

  .table tbody tr td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0;
    border-top: 1px solid #f3f4f6;
  }

  .table tbody tr td:first-child {
    border-top: none;
  }

  .table tbody tr td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.4rem;
  }

  .table tbody tr td .d-flex {
    flex-wrap: wrap;
  }

  .table tbody tr td .input-group {
    width: 100%;
    max-width: 180px;
  }

  .table tbody tr td .input-group input {
    width: 50px;
  }

  .table tbody tr td .btn-remove-item {
    width: 100%;
  }

  .cart-summary .card-body {
    padding: 1.5rem;
  }

  .col-lg-8, .col-lg-4 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .card-footer {
    padding: 1rem 1.25rem;
  }
}

