
/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   GLOBAL
========================= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

/* =========================
   DEFAULT NAVBAR
========================= */
.navbar {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
}

/* =========================
   AUTH PAGES
========================= */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f7f7f7;
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  padding: 40px 35px;
  border-radius: 22px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
  color: #111;
}

.auth-subtext {
  text-align: center;
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fff;
}

.form-group input:focus {
  outline: none;
  border-color: #111;
}

.btn-primary {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 10px;
  background: #111;
  color: white;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 8px;
}

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

.btn-secondary {
  background: #666;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.auth-link {
  text-align: center;
  margin-top: 22px;
  font-size: 0.95rem;
}

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

.form-links {
  text-align: right;
  margin-bottom: 15px;
}

.form-links a {
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
}

.timer {
  font-size: 0.85rem;
  color: #dc3545;
  margin-top: 6px;
  text-align: center;
}

/* =========================
   MESSAGES
========================= */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* =========================
   HOME PAGE ONLY
========================= */
.home-page {
  background: #fff;
  color: #111;
}

/* Navbar */
.home-page .home-navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-page .home-navbar .logo {
  font-size: 1.4rem;
  font-weight: 700;
}

.home-page .home-navbar nav {
  display: flex;
  gap: 24px;
}

.home-page .home-navbar nav a {
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
}

.home-page .nav-icons {
  display: flex;
  gap: 22px;
  align-items: center;
}

.home-page .nav-icons a,
.home-page .nav-icons span {
  text-decoration: none;
  color: #111;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}

/* Hero */
.home-page .hero-section {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 40px;
  align-items: center;
}

.home-page .small-text {
  font-size: 0.8rem;
  margin-bottom: 10px;
  color: #666;
}

.home-page .hero-section h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 18px;
  color: #111;
}

.home-page .hero-desc {
  color: #666;
  margin-bottom: 25px;
  max-width: 420px;
}

.home-page .hero-btn {
  display: inline-block;
  background: #111;
  color: white;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.home-page .hero-image {
  height: 500px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  overflow: hidden;
}

.home-page .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.home-page .hero-image img:first-child {
  grid-row: 1 / 3;
}

/* Placeholder */
.home-page .placeholder-box {
  background: #ececec;
  border: 2px dashed #cfcfcf;
}

/* Collection */
.home-page .collection-banner {
  background: #d99a57;
  text-align: center;
  padding: 26px 20px;
  margin-top: 50px;
}

.home-page .collection-banner h2 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.home-page .collection-banner p {
  font-size: 0.95rem;
}

/* Products */
.home-page .products-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.home-page .product-card h4 {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 1rem;
}

.home-page .product-card p {
  color: #666;
  font-size: 0.9rem;
}
.home-page .product-image {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
}

.home-page .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Brands */
.home-page .brands-section {
  max-width: 1100px;
  margin: 30px auto 50px;
  padding: 0 20px;
  text-align: center;
}

.home-page .brands-section h3 {
  margin-bottom: 25px;
}

.home-page .brands-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Deal */
.home-page .deal-section {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 35px;
  align-items: center;
}

.home-page .deal-image {
  height: 320px;
  border-radius: 20px;
}

.home-page .deal-content {
  background: #ef9b56;
  padding: 40px;
  border-radius: 28px;
}

.home-page .deal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #111;
}

.home-page .deal-content p {
  margin-bottom: 25px;
}

.home-page .timer-box {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.home-page .timer-box div {
  background: white;
  padding: 14px 18px;
  border-radius: 8px;
  text-align: center;
}

.home-page .timer-box strong {
  display: block;
  font-size: 1.2rem;
}

.home-page .timer-box span {
  font-size: 0.8rem;
  color: #666;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .home-page .hero-section,
  .home-page .deal-section {
    grid-template-columns: 1fr;
  }

  .home-page .products-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-page .brands-row {
    flex-wrap: wrap;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .auth-card {
    padding: 28px 22px;
  }
}

@media (max-width: 600px) {
  .home-page .products-section {
    grid-template-columns: 1fr;
  }

  .home-page .hero-section h1 {
    font-size: 2rem;
  }

  .home-page .home-navbar {
    flex-direction: column;
    gap: 15px;
  }
}


.login-page {
  background: #f4f4f4;
  min-height: 100vh;
}

.login-wrapper {
  min-height: 100vh;
  padding: 40px 20px;
}

.login-brand {
  max-width: 1100px;
  margin: 0 auto 40px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.login-card {
  width: 100%;
  max-width: 430px;
  margin: 70px auto 0;
  background: #fff;
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.login-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 14px;
}

.login-card h2 {
  text-align: center;
  margin-bottom: 5px;
  font-size: 2rem;
  color: #111;
}

.login-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 22px;
}

.login-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  display: block;
}


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

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.login-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
}

.login-options a {
  color: #4d79ff;
  text-decoration: none;
}

.login-btn {
  width: 100%;
  border: none;
  background: #000;
  color: #fff;
  padding: 13px;
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
}

.login-divider {
  text-align: center;
  margin: 18px 0 14px;
  font-size: 0.82rem;
  color: #999;
}

.google-btn {
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
}

.login-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
}

.login-footer a {
  color: #4d79ff;
  text-decoration: none;
  font-weight: 600;
}

.login-links {
  margin-top: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: #999;
}

.login-links a {
  color: #999;
  text-decoration: none;
  margin: 0 4px;
}
/* =========================
   SIGNUP PAGE FIX
========================= */

.signup-page .login-card {
  max-width: 500px;
}

.signup-page .login-card h2 {
  margin-bottom: 6px;
}

.signup-page .login-subtitle {
  margin-bottom: 20px;
}

.signup-page .login-form input {
  margin-bottom: 12px;
}

.signup-page .signup-row {
  display: flex;
  gap: 12px;
}

.signup-page .signup-row input {
  width: 100%;
}

@media (max-width: 600px) {
  .signup-page .signup-row {
    flex-direction: column;
    gap: 0;
  }
}
/* =========================
   FIGMA STYLE SIGNUP
========================= */

.signup-page {
  background: #f4f4f4;
  min-height: 100vh;
}

.signup-wrapper {
  min-height: 100vh;
  padding: 40px 20px;
}

.signup-brand {
  max-width: 1100px;
  margin: 0 auto 40px;
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.signup-card {
  width: 100%;
  max-width: 520px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 28px;
  padding: 38px 34px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.signup-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.signup-card h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 6px;
  color: #111;
}

.signup-subtitle {
  text-align: center;
  color: #777;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.signup-form input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.signup-form input:focus {
  outline: none;
  border-color: #000;
}

.signup-row {
  display: flex;
  gap: 12px;
}

.signup-row input {
  margin-bottom: 14px;
}

.signup-btn {
  width: 100%;
  border: none;
  background: #000;
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  cursor: pointer;
}

.signup-divider {
  text-align: center;
  margin: 18px 0 14px;
  color: #999;
  font-size: 0.82rem;
}

.signup-alt-btn {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  padding: 13px;
  border-radius: 12px;
  cursor: pointer;
}

.signup-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 0.88rem;
}

.signup-footer a {
  color: #4d79ff;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 600px) {
  .signup-row {
    flex-direction: column;
    gap: 0;
  }

  .signup-card {
    padding: 28px 22px;
  }
}
.signup-field {
  width: 100%;
}

.signup-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.signup-row .signup-field {
  flex: 1;
}

.input-error {
  display: block;
  color: #e53935;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
  line-height: 16px;
}
/* =========================
   OTP PAGE
========================= */

.otp-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.otp-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 28px;
  padding: 42px 34px;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.otp-close {
  position: absolute;
  top: 20px;
  right: 22px;
  text-decoration: none;
  font-size: 28px;
  color: #999;
}

.otp-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  margin: 0 auto 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
}

.otp-card h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: #111;
}

.otp-subtitle {
  color: #777;
  font-size: 1rem;
  margin-bottom: 28px;
}

.otp-card input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  margin-bottom: 18px;
}

.otp-footer {
  margin-top: 22px;
  font-size: 0.95rem;
  color: #666;
}

.otp-resend {
  border: none;
  background: none;
  color: #4d79ff;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.input-error {
  display: block;
  color: #e53935;
  font-size: 12px;
  line-height: 16px;
  min-height: 16px;
  margin-bottom: 10px;
}
#forgotPasswordForm .signup-field {
  width: 100%;
  margin-bottom: 14px;
}

#forgotPasswordForm .input-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #d93025;
  min-height: 0;
}

#forgotPasswordForm .input-error:empty {
  display: none;
}
.profile-page {
  background: #f5f5f5;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.profile-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.profile-logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #111;
}

.profile-header-card {
  background: #111;
  color: #fff;
  border-radius: 24px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.profile-avatar-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: #2a2a2a;
  flex-shrink: 0;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header-info {
  flex: 1;
}

.profile-header-info h2 {
  font-size: 26px;
  margin: 0 0 6px;
}

.profile-header-info p {
  margin: 0;
  color: #cfcfcf;
  font-size: 14px;
}

.profile-header-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.profile-header-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.profile-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

.profile-info-card,
.profile-side-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.profile-info-card h3,
.profile-side-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  color: #111;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.profile-label {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

.profile-info-grid p {
  margin: 0;
  font-size: 15px;
  color: #111;
}

.profile-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-actions button {
  padding: 11px 18px;
  border: none;
  border-radius: 12px;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.address-card {
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.address-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #111;
}

.address-card p {
  margin: 4px 0;
  font-size: 13px;
  color: #444;
}

@media (max-width: 850px) {
  .profile-main-grid {
    grid-template-columns: 1fr;
  }

  .profile-header-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-info-grid {
    grid-template-columns: 1fr;
  }
}
.add-address-btn {
  text-decoration: none;
  background: black;
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
}
/* FORM CONTAINER */
.form-container {
  max-width: 650px;
  margin: 60px auto;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* TITLE */
.form-subtitle {
  color: #777;
  margin-bottom: 20px;
}

/* GRID FORM */
.address-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* INPUTS */
.address-form input,
.address-form select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
}

/* CHECKBOX */
.checkbox-row {
  grid-column: span 2;
  font-size: 14px;
}

/* ACTION BUTTONS */
.form-actions {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.form-actions button {
  padding: 12px 20px;
  background: black;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.cancel-btn {
  text-decoration: none;
  padding: 12px 20px;
  background: #ddd;
  border-radius: 10px;
  color: black;
}
.delete-btn {
  margin-top: 10px;
  padding: 8px 12px;
  background: red;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
/* Button container */
.address-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

/* Edit button */
.edit-btn {
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.edit-btn:hover {
  background: #f2f2f2;
}

/* Delete button */
.delete-btn {
  padding: 8px 14px;
  border: none;
  background: #ff4d4f;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  background: #e63b3d;
}
/* =========================
   ADMIN DASHBOARD
========================= */

.admin-page {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: white;
  border-right: 1px solid #ddd;
  padding: 20px;
}

.admin-logo {
  font-size: 22px;
  margin-bottom: 30px;
}

.admin-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-menu li {
  padding: 12px 10px;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 6px;
}

.admin-menu li:hover,
.admin-menu li.active {
  background: #f1f1f1;
}

.admin-main {
  flex: 1;
  padding: 25px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.admin-search {
  width: 280px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.admin-profile {
  font-size: 14px;
  color: #555;
}

.section-title {
  margin-bottom: 20px;
}

.dashboard-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.dashboard-card {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.dashboard-card h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #777;
}

.dashboard-card p {
  font-size: 24px;
  margin: 0;
  font-weight: bold;
}

.dashboard-placeholder {
  height: 260px;
  background: white;
  border-radius: 12px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
}

.users-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.users-toolbar input {
  padding: 10px;
  width: 260px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.users-toolbar button {
  padding: 10px 18px;
  border: none;
  background: black;
  color: white;
  border-radius: 8px;
  cursor: pointer;
}

.table-wrapper {
  background: white;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #eee;
}

.users-table {
  width: 100%;
  border-collapse: collapse;
}

.users-table th,
.users-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.block-btn,
.unblock-btn {
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.block-btn {
  background: #e74c3c;
  color: white;
}

.unblock-btn {
  background: #27ae60;
  color: white;
}
/* =========================
   ADMIN LOGIN
========================= */

.admin-login-page {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-login-box {
  width: 380px;
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.admin-login-box h2 {
  margin: 0 0 25px;
  font-size: 24px;
}

.admin-login-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
}

.admin-login-box button {
  width: 100%;
  padding: 12px;
  border: none;
  background: black;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
}

#adminLoginError {
  min-height: 18px;
  margin-bottom: 10px;
  font-size: 14px;
}
.profile-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.profile-input:disabled {
  background: #f5f5f5;
  color: #666;
}
/* =========================
   CHANGE PASSWORD
========================= */

.profile-alert {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.6;
}

.profile-alert.warning {
  background: #fff4d6;
  border: 1px solid #f2c76e;
  color: #8a5b00;
}

.profile-alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.profile-info-grid input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  margin-top: 6px;
  box-sizing: border-box;
  background: white;
}

.profile-info-grid input:focus {
  border-color: #111;
}

.profile-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.profile-actions button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.profile-actions button:first-child {
  background: #f3f3f3;
  color: #111;
}

.profile-actions button:last-child {
  background: #111;
  color: white;
}
.logout-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #111;
  color: white;
  cursor: pointer;
  font-size: 14px;
  margin-left: 12px;
}

.logout-btn:hover {
  opacity: 0.9;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.admin-user-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.google-btn {
  display: block;
  text-align: center;
  padding: 12px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: black;
  margin-top: 15px;
}
.hero-image img {
  width: 100%;
  max-width: 650px;
  height: 650px;
  object-fit: contain;
  display: block;
}
.admin-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.admin-user-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar a.active{
  background: black;
  color: white;
  border-radius: 8px;
}
.admin-menu li.active {
  background: black;
  color: white;
  border-radius: 8px;
}
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f8f8f8;
}

.auth-container {
  width: 400px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

.auth-title {
  text-align: center;
  margin-bottom: 10px;
}

.auth-subtitle {
  text-align: center;
  color: gray;
  margin-bottom: 25px;
}

.auth-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: black;
  color: white;
  border-radius: 8px;
  margin-top: 15px;
}

.error-text {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}
.otp-timer {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}
.admin-container {
  display: flex;
}

.admin-main {
  flex: 1;
  padding: 30px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  background: white;
}

.category-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}
body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#f5f5f5;
}

.admin-container{
  display:flex;
  min-height:100vh;
}

.admin-sidebar{
  width:260px;
  background:#fff;
  padding:20px;
  border-right:1px solid #ddd;
}

.admin-logo{
  font-size:42px;
  margin-bottom:50px;
}

.admin-menu{
  list-style:none;
  padding:0;

  display:flex;
  flex-direction:column;
  gap:18px;
}

.admin-menu li{
  padding:14px 10px;
  border-radius:10px;
  cursor:pointer;
  transition:0.2s;
}

.admin-menu li:hover{
  background:#f2f2f2;
}

.admin-menu li.active{
  background:#000;
  color:#fff;
}

.admin-main{
  flex:1;
  padding:40px;
}

.category-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.category-header h1{
  font-size:48px;
}

.category-header button{
  background:#000;
  color:#fff;
  border:none;
  padding:12px 20px;
  border-radius:8px;
  cursor:pointer;
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:20px;
  margin-top:40px;
}

.category-card{
  background:#fff;
  padding:24px;
  border-radius:16px;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.category-card h3{
  font-size:28px;
  margin-bottom:10px;
}

.category-card p{
  color:#666;
}

.category-actions{
  margin-top:20px;
  display:flex;
  gap:10px;
}

.category-actions button{
  border:none;
  padding:10px 18px;
  border-radius:8px;
  cursor:pointer;
}

.category-actions button:first-child{
  background:#000;
  color:#fff;
}

.category-actions button:last-child{
  background:#eee;
}
.form-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
}

.form-container h1 {
  margin-bottom: 25px;
}

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

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.form-group textarea {
  height: 140px;
  resize: none;
}

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

.cancel-btn,
.save-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.cancel-btn {
  background: #ddd;
}

.save-btn {
  background: black;
  color: white;
}
/* =========================
   CATEGORY SEARCH
========================= */

.category-topbar{
  display: flex;
  gap: 10px;
  margin: 20px 0 30px;
  align-items: center;
}

.category-topbar input{
  width: 260px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}

.category-topbar input:focus{
  border-color: black;
}

.category-topbar button{
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.category-topbar button:first-of-type{
  background: black;
  color: white;
}

.category-topbar button:last-of-type{
  background: #eaeaea;
}

.category-topbar button:hover{
  transform: translateY(-1px);
}


/* =========================
   CATEGORY PAGINATION
========================= */

#categoryPagination{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

#categoryPagination button{
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: black;
  color: white;
  cursor: pointer;
  font-weight: 600;
}

#categoryPagination button:hover{
  opacity: 0.9;
}

#categoryPagination span{
  font-weight: 600;
  color: #444;
}
.category-topbar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.category-topbar input {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.category-topbar button {
  padding: 10px 18px;
  border: none;
  background: black;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

#brandPagination {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
}

#brandPagination button {
  padding: 8px 14px;
  border: none;
  background: black;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.form-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
}

.form-container {
  width: 400px;
  background: white;
  padding: 30px;
  border-radius: 10px;
}

.form-container h1 {
  margin-bottom: 20px;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-container button {
  width: 100%;
  padding: 12px;
  border: none;
  background: black;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}
.variant-section {
  margin-top: 25px;
}

.variant-section h3 {
  margin-bottom: 15px;
}

.variant-inputs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.variant-inputs input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.variant-inputs button {
  background: black;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#variantList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.variant-card {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.variant-card button {
  background: crimson;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}
#productsContainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

body{
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

/* NAVBAR */

.navbar{
  width: 90%;
  margin: 20px auto;
  background: white;
  padding: 20px;
  border-radius: 12px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.logo{
  font-size: 28px;
  font-weight: bold;
}

.nav-links{
  display: flex;
  gap: 40px;
}

.nav-links a{
  text-decoration: none;
  color: black;
  font-size: 18px;
}

.search-box input{
  width: 220px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* MAIN LAYOUT */

.shop-layout{
  width: 90%;
  margin: auto;

  display: flex;
  gap: 30px;

  align-items: flex-start;
}

/* SIDEBAR */

.filters-sidebar{
  width: 220px;

  background: white;

  padding: 20px;

  border-radius: 12px;

  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.filter-section p{
  margin: 20px 0;
  font-size: 18px;
}

.filter-btn{
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: black;
  color: white;
  cursor: pointer;
  margin-top: 20px;
}

/* PRODUCTS AREA */

.products-area{
  flex: 1;
}

/* GRID */

.products-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */

.product-card{
  background: white;

  border-radius: 12px;

  padding: 15px;

  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.product-card img{
  width: 100%;

  height: 260px;

  object-fit: cover;

  border-radius: 10px;
}

.product-card h3{
  margin-top: 15px;
}

.product-card p{
  color: gray;
}

/* BUTTON */

.product-card button{
  width: 100%;

  padding: 12px;

  border: none;

  border-radius: 8px;

  background: black;

  color: white;

  cursor: pointer;

  margin-top: 15px;
}
/* =========================
CART PAGE
========================= */
.cart-navbar {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 20px 60px;

  border-bottom: 1px solid #ddd;

}

.logo {

  font-size: 28px;

  font-weight: bold;

}

.nav-links {

  display: flex;

  gap: 20px;

}

.nav-links a {

  text-decoration: none;

  color: black;

}

.cart-page {

  display: flex;

  gap: 30px;

  padding: 40px 60px;

  align-items: flex-start;

}

.cart-items-box {

  flex: 2;

  background: white;

  border: 1px solid #eee;

  border-radius: 16px;

  padding: 25px;

}

.summary-box {

  flex: 1;

  border: 1px solid #eee;

  border-radius: 16px;

  padding: 25px;

  height: fit-content;

}

.cart-item {

  display: flex;

  align-items: center;

  gap: 20px;

  padding: 20px 0;

  border-bottom: 1px solid #eee;

}

.cart-item img {

  width: 100px;

  height: 120px;

  object-fit: cover;

  border-radius: 10px;

}

.item-info {

  flex: 1;

}

.item-info h3 {

  margin-bottom: 8px;

}

.quantity-box {

  display: flex;

  align-items: center;

  gap: 12px;

}

.quantity-box button {

  width: 32px;

  height: 32px;

  border: none;

  border-radius: 50%;

  cursor: pointer;

  font-size: 18px;

}

.remove-btn {

  border: none;

  background: transparent;

  cursor: pointer;

  font-size: 20px;

}

.summary-box p {

  display: flex;

  justify-content: space-between;

  margin: 18px 0;

}

.total {

  font-size: 22px;

  font-weight: bold;

}

.checkout-btn {

  margin-top: 25px;

  width: 100%;

  padding: 15px;

  border: none;

  border-radius: 40px;

  background: black;

  color: white;

  font-size: 16px;

  cursor: pointer;

}

.empty-cart {

  text-align: center;

  padding: 50px;

  font-size: 20px;

}
.checkout-btn:disabled {

  background: gray;

  cursor: not-allowed;

  opacity: 0.7;

}
.category-topbar button:last-of-type{
  background: #eaeaea;
  color: #333;
}
.address-form-container{
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
}
.address-form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.address-form textarea,
.address-form .checkbox-row,
.address-form .form-actions{
  grid-column: span 1/-1;
}
#productPagination{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
#productPagination button{
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: black;
  color: white;
  cursor: pointer;
  font-weight: 600;
} 
#productPagination button:hover{
  opacity: 0.9;
}
#productPagination span{
  font-weight: 600;
  color: #444;
}
.password-box {

  position: relative;
  
  }
  
  .password-box input {
  
  width: 100%;
  
  padding-right: 50px;
  
  }
  
  .eye-icon {
  
  position: absolute;
  
  right: 18px;
  
  top: 50%;
  
  transform: translateY(-50%);
  
  cursor: pointer;
  
  font-size: 18px;
  
  user-select: none;
  
  }
  .confirm-modal {

    display: none;
    
    position: fixed;
    
    top: 0;
    
    left: 0;
    
    width: 100%;
    
    height: 100%;
    
    background:
    rgba(
    0,
    0,
    0,
    0.45
    );
    
    justify-content: center;
    
    align-items: center;
    
    z-index: 9999;
    
    }
    
    .confirm-box {
    
    background: white;
    
    padding: 30px;
    
    border-radius: 18px;
    
    width: 340px;
    
    text-align: center;
    
    box-shadow:
    0 10px 30px
    rgba(
    0,
    0,
    0,
    0.15
    );
    
    }
    
    .confirm-box h3 {
    
    margin-bottom: 12px;
    
    }
    
    .confirm-box button {
    
    padding:
    10px 18px;
    
    margin:
    10px;
    
    border: none;
    
    border-radius: 10px;
    
    cursor: pointer;
    
    }
    
    #confirmDelete {
    
    background: #111;
    
    color: white;
    
    }
    
    #cancelDelete {
    
    background: #eee;
    
    }
    .cropped-preview {

      display: inline-block;
      
      margin: 10px;
      
      text-align: center;
      
      }
      
      .cropped-preview-img {
      
      width: 120px;
      
      height: 120px;
      
      object-fit: cover;
      
      border-radius: 10px;
      
      border: 1px solid #ddd;
      
      }
      .form-container {
        max-width: 900px;
        width: 100%;
        padding: 35px;
      }
      
      .variant-inputs {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
      }
      
      #croppedImagesList {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        margin-top: 15px;
      }
      
      #cropContainer {
        margin-top: 15px;
      }
      
      #imagePreview {
        max-width: 100%;
        max-height: 420px;
        object-fit: contain;
      }
      .product-meta{
        font-size: 12px;
        color:#888;
        margin-top: 8px;
        margin-bottom:6px;
        text-transform: uppercase;
        letter-spacing: 1px;
      }
      .product-card h3{
        margin-top: 0;
      }
      .product-table{
        width:100%;
        border-collapse:collapse;
    }
    
    .product-table th,
    .product-table td{
        border:1px solid #ddd;
        padding:12px;
        text-align:center;
    }
    
    .product-table img{
        border-radius:8px;
    }
    .action-buttons{
      display: flex;
      gap: 8px;
      justify-content: center;
      align-items: center;
  }
  
  .action-btn{
      border: none;
      padding: 8px 14px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      transition: 0.3s;
  }
  
  .edit-btn{
      background: #3498db;
      color: white;
  }
  
  .list-btn{
      background: #2ecc71;
      color: white;
  }
  
  .unlist-btn{
      background: #f39c12;
      color: white;
  }
  
  .delete-btn{
      background: #e74c3c;
      color: white;
  }
  
  .action-btn:hover{
      transform: translateY(-2px);
  }
  .hero-section {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 560px;
  
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 60px;
  
    padding: 70px 20px;
  }
  
  .hero-text {
    max-width: 520px;
  }
  
  .hero-text h1 {
    font-size: 58px;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 22px;
  }
  
  .hero-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
  }
  
  .hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    background: #f5f5f5;
  }
  
  .hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }
  
  .hero-btn {
    display: inline-block;
    padding: 14px 26px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 6px;
  }
  
  @media (max-width: 900px) {
    .hero-section {
      grid-template-columns: 1fr;
      min-height: auto;
    }
  
    .hero-image {
      height: 380px;
    }
  
    .hero-text h1 {
      font-size: 42px;
    }
  }
  #homeBanner .hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    background: transparent;
}

#homeBanner .hero-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
}
#homeBanner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px;

  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 60px;

  min-height: 600px;
}

#homeBanner .hero-text {
  width: 100%;
  max-width: 500px;
}

#homeBanner .hero-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 7;

  overflow: hidden;
  border-radius: 24px;
  background: #f3f3f3;

  display: block !important;
}

#homeBanner .hero-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  display: block !important;

  object-fit: cover !important;
  object-position: center !important;

  border-radius: 0 !important;
}

@media (max-width: 900px) {

  #homeBanner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  #homeBanner .hero-image {
    aspect-ratio: 16 / 9;
  }
}
.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.action-btn {
  border: none;
  padding: 8px 14px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: 0.2s;
}

.edit-btn {
  background: #111;
  color: white;
}

.list-btn {
  background: #e8f5e9;
  color: #1b7a35;
}

.unlist-btn {
  background: #fff3cd;
  color: #8a6500;
}

.delete-btn {
  background: #fde8e8;
  color: #c62828;
}

.action-btn:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}
.user-confirm-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10000;

  align-items: center;
  justify-content: center;
}

.user-confirm-modal.show {
  display: flex;
}

.user-confirm-box {
  width: 400px;
  max-width: 90%;
  background: white;
  border-radius: 14px;
  padding: 30px;
  text-align: center;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.confirm-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #f3f3f3;

  font-size: 25px;
  font-weight: bold;
}

.user-confirm-box h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.user-confirm-box p {
  color: #666;
  margin-bottom: 25px;
}

.user-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.confirm-cancel-btn,
.confirm-action-btn {
  padding: 10px 24px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.confirm-cancel-btn {
  background: #eeeeee;
  color: #222;
}

.confirm-action-btn {
  background: #111;
  color: white;
}

.confirm-cancel-btn:hover {
  background: #dddddd;
}

.confirm-action-btn:hover {
  background: #333;
}