/* ==============================
   GLOBAL RESET & BASE STYLES
   ============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: #111;
  overflow-x: hidden;
}

/* ==============================
   TOP BAR (BLACK INFO BAR)
   ============================== */
.top-bar {
  background-color: #111;
  color: #fff;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  width: 100%;
  z-index: 999;
  align-items: right ;
}

.top-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;;
  align-items: right;
  padding: 0 2rem;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
  transition: opacity 0.3s;
  font-weight: 500;
}

.top-bar a:hover {
  opacity: 0.8;
}

.top-bar span {
  color: #aaa;
  margin: 0 4px;
}

.user-auth-section {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end; /* 👈 ensure flush right */
}

.divider {
  color: #ccc;
} 

/* ==============================
   MAIN HEADER
   ============================== */
.main-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

/* ==============================
   LOGO
   ============================== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 3px;
}

.logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.5px;
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar a:hover,
.navbar a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.navbar a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #000;
  box-shadow: 0 3px 0 #000;
  transition: width 0.3s ease-in-out
}


.navbar a:hover::after,
.navbar a.active::after {
  width: 100%;
}

/* ==============================
   HEADER ICONS (RIGHT SIDE)
   ============================== */
.header-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-icons a {
  color: #00a0e9;
  font-size: 1.3rem;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-icons a:hover {
  transform: scale(1.15);
  color: #007bbd;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #ffc107;
  color: #000;
  font-size: 0.7rem;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ==============================
   HERO SECTION — Optimized Height & Balance
   ============================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 65vh; /* 🔽 reduced from 70vh for better balance */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Smooth slideshow visuals */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain; /* ✅ shows full image */
  background-repeat: no-repeat; /* avoid tiling */
  background-position: center center; /* keeps it centered */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}


/* Overlay for readability */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Text content styling */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease;
  padding: 0 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: #eee;
  margin-bottom: 1.5rem;
}

.hero-content a {
  font-size: 1rem;
  color: #e91e63;
  font-weight: 600;
  text-decoration: underline;
}

.hero-content a:hover {
  color: #ff4081;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ ensures full image visibility */
  object-position: center;
  background-color: #000; /* optional to avoid white gaps */
}



/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 1200px) {
  .hero-section {
    height: 60vh;
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: 55vh;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 45vh;
  }
}


/* ==============================
   PRODUCT GRID
   ============================== */
.container {
  max-width: 1300px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 3rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  text-align: center;
  max-width: 350px;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
  padding: 1rem;
}

.product-info {
  padding: 1.5rem 1rem;
}

.product-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.2rem;
}

.view-btn {
  background-color: #000;
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background-color: #333;
}

/* ==============================
   BREADCRUMB
   ============================== */
.breadcrumb-container {
  background: #fafafa;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  margin-bottom: 30px;
}

.breadcrumb-container .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  color: #555;
}

.breadcrumb-container a {
  color: #000;
  text-decoration: none;
}

.breadcrumb-container span {
  margin: 0 8px;
  color: #999;
}

/* ==============================
   MY ACCOUNT PAGE
   ============================== */
.account-section {
  padding: 60px 0 80px;
  background: #fff;
}

.account-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.account-title {
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
  border-bottom: 2px solid #000;
  display: inline-block;
  margin-bottom: 40px;
  padding-bottom: 4px;
}

.account-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.account-box {
  flex: 1;
  min-width: 440px;
  text-align: left;
  padding: 0 20px;
}

.account-box:first-child {
  border-right: 1px solid #e6e6e6;
}

.account-box h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 15px;
}

.account-box p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-black {
  background: #000;
  color: #fff;
  padding: 14px 28px;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-black:hover {
  background: #444;
  color: #fff;
}

.btn-outline {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 28px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

/* LOGIN FORM */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.login-form input:focus {
  border-color: #000;
}

/* ==============================
   FOOTER
   ============================== */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #ddd;
  background: #fff;
  color: #000;
  font-size: 0.9rem;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 992px) {
  .account-columns {
    flex-direction: column;
    gap: 40px;
  }
  .account-box {
    border: none;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   CART PAGE (ThreadTales Style)
   ============================ */
.cart-page {
  padding: 60px 0 100px;
  background-color: #fff;
  font-family: "Poppins", sans-serif;
}

.cart-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.cart-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 40px;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-bottom: 5px;
}

/* === CART ITEM CARDS === */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cart-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.cart-card:hover {
  transform: translateY(-3px);
}

.cart-image img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f8f8;
  padding: 10px;
}

.cart-details {
  flex: 1;
  padding-left: 20px;
}

.item-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

.item-price {
  color: #555;
  font-size: 15px;
  margin-bottom: 10px;
}

.qty-controls form {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.qty-btn {
  background: #f7f7f7;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 18px;
  color: #333;
}

.qty-btn:hover {
  background: #000;
  color: #fff;
}

.qty-controls input {
  width: 40px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.item-total {
  font-size: 15px;
  color: #222;
  margin-bottom: 10px;
}

.remove-btn {
  color: #d9534f;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.remove-btn:hover {
  text-decoration: underline;
}

/* === SUMMARY SECTION === */
.cart-summary {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.summary-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.summary-info p {
  font-size: 15px;
  color: #444;
}

.summary-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.checkout-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 14px 30px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* === EMPTY CART === */
.empty-cart {
  text-align: center;
  padding: 80px 0;
}

.empty-cart p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

.shop-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 28px;
  text-transform: uppercase;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .cart-card {
    flex-direction: column;
    text-align: center;
  }

  .cart-details {
    padding-left: 0;
  }

  .summary-info {
    flex-direction: column;
    gap: 10px;
  }
}
.register-page {
  padding: 60px 0;
  background-color: #fff;
}

.register-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  text-transform: uppercase;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-bottom: 5px;
}

.register-form h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.form-group {
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.required {
  color: red;
  font-weight: 600;
}

.error-message {
  background-color: #ffe6e6;
  color: #d00;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #d00;
  border-radius: 5px;
}

.btn-black {
  background: #000;
  color: #fff;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  text-transform: uppercase;
}

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

.register-page {
  padding: 60px 0;
  background: #fafafa;
}

.register-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-bottom: 5px;
}

.form-section {
  margin-bottom: 35px;
}

.form-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.form-desc {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.form-group input,
.form-group select {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
  outline: none;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.required {
  color: red;
  margin-left: 2px;
}

.btn-create {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-create:hover {
  background: #333;
  transform: translateY(-2px);
}

.error-message {
  background-color: #ffeaea;
  color: #d00;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #f5b5b5;
  margin-bottom: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .register-container {
    padding: 25px;
  }
  .form-row {
    flex-direction: column;
  }
  .btn-create {
    width: 100%;
    justify-content: center;
  }
}
/* ===== LOGIN PAGE ===== */
.login-page {
  padding: 60px 0;
  background: #fafafa;
}

.login-container {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-form input {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.login-form input:focus {
  border-color: #000;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
  outline: none;
}

.btn-login {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #333;
  transform: translateY(-2px);
}

.register-link {
  text-align: center;
  font-size: 14px;
  margin-top: 15px;
}

.register-link a {
  color: #007bff;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}
.welcome-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  margin-right: 10px;
}

.logout-link {
  color: #ff4b5c;
  font-weight: 500;
  text-decoration: none;
  margin-right: 20px;
}

.logout-link:hover {
  text-decoration: underline;
}
/* ==== Header Fixes ==== */
.top-bar {
  background: #111;
  color: #fff;
  padding: 8px 40px;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}
.top-bar a:hover {
  color: #ffcc70;
}

.main-header {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #fff;
  padding: 10px 0;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.navbar a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  color: #333;
}
.navbar a.active,
.navbar a:hover {
  border-bottom: 2px solid #000;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.welcome-text {
  font-weight: 600;
  color: #444;
}

.logout-btn,
.login-btn,
.register-btn {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}
.logout-btn:hover,
.login-btn:hover,
.register-btn:hover {
  text-decoration: underline;
}
/* ==============================
   USER AUTH SECTION STYLING
   ============================== */
.user-auth-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.user-auth-section .divider {
  color: #555;
  font-weight: 400;
  margin: 0 5px;
}

/* Login / Register Buttons */
.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.auth-btn i {
  font-size: 0.9rem;
}

/* === Default === */
.auth-btn.login {
  color: #007bff;
  background: rgba(0, 123, 255, 0.08);
}

.auth-btn.register {
  color: #e91e63;
  background: rgba(233, 30, 99, 0.08);
}

/* === Hover effects === */
.auth-btn.login:hover {
  background: #007bff;
  color: #fff;
  transform: translateY(-2px);
}

.auth-btn.register:hover {
  background: #e91e63;
  color: #fff;
  transform: translateY(-2px);
}

/* === Logout Button === */
.auth-btn.logout {
  background: #000;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
}

.auth-btn.logout:hover {
  background: #333;
  transform: translateY(-2px);
}

/* === Welcome Text (Logged-in) === */
.welcome-text {
  font-weight: 600;
  color: #333;
  margin-right: 6px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .user-auth-section {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
}
  .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links li a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ff69b4; /* pink hover accent */
}

.nav-links .social-icon a {
  color: #f5f5f5;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links .social-icon a:hover {
  color: #ff69b4;
  transform: scale(1.2);
}
/* ===== Instagram Gradient Icon ===== */
.insta-icon i {
  font-size: 1.1rem;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
  margin-left: 3px;
}

.insta-icon i:hover {
  transform: scale(1.3);
  background: radial-gradient(circle at 30% 107%, #ffda77 0%, #f58529 25%, #dd2a7b 50%, #8134af 75%, #515bd4 100%);
}

/* ==============================
   FIXED HEADER — SAME ON ALL DEVICES
   ============================== */

/* Make header independent of screen size */
.top-bar,
.top-bar-content,
.header-container,
.navbar,
.user-auth-section {
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.top-bar {
  min-width: 100%;
  overflow-x: auto; /* allow horizontal scroll if needed */
  justify-content: space-between;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.user-auth-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.auth-btn {
  flex-shrink: 0; /* prevent shrinking */
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* Disable all mobile overrides for top-bar and header */
@media (max-width: 992px),
@media (max-width: 768px),
@media (max-width: 480px) {
  .top-bar-content,
  .top-links,
  .user-auth-section,
  .header-container,
  .navbar {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .top-bar {
    padding: 8px 20px !important;
  }

  .top-links span {
    display: inline !important;
  }

  .auth-btn {
    font-size: 0.9rem !important;
    padding: 5px 14px !important;
  }

  .divider {
    display: inline !important;
  }
}
/* ===== Admin Orders Table ===== */
.admin-orders {
  padding: 40px 0;
}

.admin-heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.admin-table th, .admin-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.admin-table th {
  background: #000;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-form select {
  padding: 5px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

.status.pending { color: #f39c12; }
.status.processing { color: #3498db; }
.status.shipped { color: #2980b9; }
.status.delivered { color: #27ae60; }
.status.cancelled { color: #e74c3c; }

.items-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
  justify-content: center;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 8px 12px;
}

/* =========================
   ADMIN DASHBOARD STYLING
   ========================= */
.admin-dashboard {
  padding: 50px 0;
  background-color: #fafafa;
  font-family: "Poppins", sans-serif;
}

.dashboard-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dashboard-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px 50px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
}

.stat-card p {
  font-size: 1rem;
  color: #555;
  margin-top: 8px;
}

.dashboard-links {
  text-align: center;
  margin-top: 40px;
}

.btn-admin {
  background-color: #000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-admin:hover {
  background-color: #333;
  transform: translateY(-2px);
}
/* =========================
   ADMIN HEADER
   ========================= */
.admin-header {
  background-color: #000;
  color: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.admin-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-nav .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.admin-nav-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.admin-nav-links a:hover {
  color: #f5c518;
}

/* Footer */
.admin-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

#lightboxImg {
  cursor: grab;
  transition: transform 0.2s ease;
}

#lightbox {
  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: 1000;
}

#lightboxImg {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  cursor: grab;
  transition: transform 0.25s ease;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  padding: 0 20px;
}

.arrow-left { left: 20px; }
.arrow-right { right: 20px; }

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
/* ====== TOP BAR ====== */
.top-bar {
  background: #0a0a0a;
  color: #fff;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 400;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: auto;
  padding: 0 30px;
}

/* Left links */
.top-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-links a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.top-links a:hover {
  color: #ff6f91;
}

.insta-icon {
  color: #ff4081;
  transition: transform 0.3s ease;
}

.insta-icon:hover {
  transform: scale(1.2);
}

/* Right login/register buttons */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.auth-btn.login {
  background: #002b6d;
  color: #fff;
}

.auth-btn.register {
  background: #8e0038;
  color: #fff;
}

.auth-btn:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.divider {
  color: #aaa;
}

/* ====== MAIN HEADER ====== */
.modern-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  color: #111;
  font-size: 1.5rem;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 10px;
}

/* NAVIGATION LINKS */
.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #000;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #111;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* SEARCH ICON */
.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-link {
  font-size: 1.3rem;
  color: #007bff;
  transition: all 0.3s;
}

.icon-link:hover {
  color: #0047ab;
  transform: scale(1.1);
}

/* ====== MOBILE RESPONSIVE ====== */
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  color: #111;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: #f8f8f8;
  padding: 12px 0;
  font-size: 0.95rem;
  color: #555;
  border-bottom: 1px solid #eee;
}

.breadcrumb a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: #e91e63;
}

.breadcrumb i {
  font-size: 0.8rem;
  margin: 0 8px;
  color: #aaa;
}

/* ===== LOGIN PAGE ===== */
.login-page {
  background: linear-gradient(135deg, #fafafa, #f4f4f4);
  padding: 80px 15px;
  display: flex;
  justify-content: center;
}

.login-container {
  display: flex;
  justify-content: center;
}

.login-card {
  background: #fff;
  padding: 45px 35px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  max-width: 450px;
  width: 100%;
  text-align: center;
  transition: 0.3s ease;
}

.login-card:hover {
  transform: translateY(-3px);
}

/* ===== TITLE ===== */
.page-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 25px;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.required {
  color: #e91e63;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fafafa;
  font-size: 0.95rem;
  transition: 0.3s;
}

input:focus {
  border-color: #111;
  background: #fff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
}

/* Password Field with Eye Icon */
.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
  transition: color 0.3s;
}

.toggle-password:hover {
  color: #111;
}

/* ===== BUTTON ===== */
.btn-login {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ===== FOOTER LINKS ===== */
.register-link {
  font-size: 0.9rem;
  margin-top: 20px;
  color: #555;
}

.register-link a {
  color: #e91e63;
  font-weight: 600;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* ===== ERROR MESSAGE ===== */
.error-message {
  background: #ffe6e9;
  color: #b71c1c;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 1px solid #ffb3b3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .login-card {
    padding: 30px 20px;
  }

  .page-title {
    font-size: 1.5rem;
  }
}
.reviews-section {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-top: 40px;
}

.rating-input .star {
  font-size: 22px;
  cursor: pointer;
  color: #ccc;
  margin-right: 6px;
}

.review-item {
  border-top: 1px solid #eee;
  padding: 15px 0;
}

.review-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 6px;
}

.review-rating {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 6px;
}

.review-form {
  margin-top: 20px;
}

.review-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  margin-top: 8px;
}

.review-form .btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
}

.review-form .btn:hover {
  background: #333;
}
.reviews-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-top: 3rem;
  width: 95%;
  max-width: 900px;
}

.reviews-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.review-form {
  margin-top: 1.5rem;
}

.rating-input .star {
  font-size: 22px;
  cursor: pointer;
  color: #ccc;
  margin-right: 6px;
  transition: 0.2s;
}

.rating-input .star:hover,
.rating-input .star.active {
  color: #ffc107;
}

.review-item {
  border-top: 1px solid #eee;
  padding: 1rem 0;
}

.review-item strong {
  font-weight: 600;
}

.review-rating {
  color: #ffc107;
  font-size: 18px;
}

.review-comment {
  color: #333;
  margin-top: 0.3rem;
  white-space: pre-wrap;
}

.review-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 8px;
  font-family: inherit;
}

.review-form .btn {
  margin-top: 10px;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.review-form .btn:hover {
  background: #ff69b4;
}
.product-card {
  position: relative;
  transition: all 0.35s ease;
  background: #fff;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.product-card img {
  transition: transform 0.4s ease;
}
.product-card:hover img {
  transform: scale(1.08);
}
.quick-view {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  opacity: 0;
  font-size: 0.85rem;
  transition: 0.3s ease;
}
.product-card:hover .quick-view {
  opacity: 1;
  bottom: 35px;
}
.shop-page {
  background: linear-gradient(180deg, #fff 0%, #f9f3ff 100%);
}
.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0 2rem;
  width: 95%;
  max-width: 1200px;
}
.shop-search {
  padding: 10px 15px;
  border-radius: 30px;
  border: 1px solid #ddd;
  width: 60%;
}
.sort-dropdown {
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
}
.rating-preview {
  color: #ffc107;
  margin-top: 4px;
  font-size: 0.9rem;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover::before {
  opacity: 1;
}
/* ===== SHOP PAGE ===== */
.shop-page {
  background: linear-gradient(180deg, #fff 0%, #f8f3ff 100%);
  padding-bottom: 3rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-top: 1rem;
}

.shop-tagline {
  text-align: center;
  color: #777;
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1rem;
}

.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.shop-search {
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid #ccc;
  width: 65%;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.shop-search:focus {
  border-color: #ff69b4;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 105, 180, 0.3);
}

.sort-dropdown {
  border: 1px solid #ccc;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 1rem;
}

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

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info {
  padding: 1rem;
}

.rating-preview {
  color: #ffc107;
  font-size: 0.9rem;
  margin: 5px 0;
}

.quick-view {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: 0.3s ease;
}

.product-card:hover .quick-view {
  opacity: 1;
  bottom: 35px;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff69b4;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #bbb;
  cursor: pointer;
  transition: color 0.3s;
  font-size: 1.1rem;
}

.wishlist-btn:hover {
  color: #ff69b4;
}

/* Responsive */
@media (max-width: 768px) {
  .shop-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .shop-search, .sort-dropdown {
    width: 100%;
  }
}
.social-login {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  color: #3c4043;
  padding: 12px 20px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(60,64,67,0.2);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 400px;
}

.google-btn:hover {
  background: #f7f8f8;
  box-shadow: 0 2px 4px rgba(60,64,67,0.25);
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* ✅ Keep it centered on all screen sizes */
@media (max-width: 768px) {
  .login-card {
    margin-bottom: 15px;
  }
  .social-login {
    margin-top: 15px;
  }
  .google-btn {
    font-size: 15px;
    padding: 10px;
  }
}
