:root {
  /* --- Brand Colors --- */
  --primary-color: #2563eb;
  --primary-dark: #1e40af;

  --secondary-color: #10b981;
  --secondary-dark: #047857;

  --accent-color: #f59e0b;
  --accent-dark: #d97706;

  --danger-color: #ef4444;
  --danger-dark: #b91c1c;

  --success-color: #22c55e;
  --success-dark: #15803d;

  /* --- Text --- */
  --text-color: #111827;
  --text-color-light: #ffffff;
  --subtext-color: #6b7280;
  --heading-color: #0f172a;

  /* --- Backgrounds --- */
  --background-color: #ffffff; /* Site background */
  --section-bg: #f9fafb; /* Light gray for sections */
  --border-color: #e5e7eb; /* Neutral border */

  /* ✅ PRODUCT CARD BACKGROUND */
  --product-bg: radial-gradient(circle, #2563eb, #1e40af 60%);

  --product-bg-hover: #e5e7eb; /* Slight hover state */

  /* Optional subtle shadow to elevate cards */
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

  /* Brand / Highlight */
  --brand-color: #9333ea;
  --brand-hover: #6b21a8;
}

* {
  margin: 0;
  padding: 0;
}

body {
  max-width: 100vw;
  max-height: 100vh;
  /* background: #000 url(../img/bgBlue.png) no-repeat center; */
  font-family: "Inter", sans-serif;
}

.btn {
  border-width: 0;
}

/* Header */
.navbar {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  /* backdrop-filter: blur(16.7px);
  -webkit-backdrop-filter: blur(16.7px); */
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 0;
  padding-top: 0;
}

#searchInput {
  background: var(--background-color);
  border: 0.5px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 15px;
  padding: 10px 15px;
  border-radius: 10px;
}

#searchInput::placeholder {
  color: rgba(37, 99, 235, 0.5);
}

#searchBtn {
  background: var(--primary-color);
  border: 0.5px solid var(--primary-color);
  color: var(--text-color-light);
  font-size: 15px;
  padding: 10px 15px;
  border-radius: 10px;
}

.navbar i {
  font-size: 2rem;
}

.navbar .userProfile img {
  width: 32px;
  height: 32px;
}

/* Header End */

/* Footer */
#userProfile {
  width: 32px;
  height: 32px;
}

#userProfile img {
  max-width: 100%;
  border-radius: 100%;
}
/* Footer End*/

/* List */
.container-fluid.list-container {
  display: flex;
  gap: 10px;
  margin: 1rem 0 0;
  justify-content: center;
  border-top: 0.5px solid var(--border-color);
}

footer .container-fluid.list-container {
  gap: unset;
  margin: auto;
  justify-content: space-between;
  border-top: none;
}

.list-container .btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  font-weight: 500;
  border-radius: 1rem;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn.show.btn-secondary,
.btn-secondary:first-child:active {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
}

.list-container .dropdown-menu {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(18.9px);
  -webkit-backdrop-filter: blur(18.9px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  max-height: 70vh;
  overflow-y: auto;
}

.list-container .dropdown-header {
  color: var(--heading-color);
}

.list-container .dropdown-item:focus,
.list-container .dropdown-item:active,
.list-container .dropdown-item:hover {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
}

/* List End*/

/* 
background: #f0f0f0 url('image.jpg') no-repeat center center / cover fixed padding-box content-box;

*/
.main-container {
  overflow: auto;
  position: relative;
  padding-top: var(--header-size);
  padding-bottom: var(--header-size);
  padding-left: 1rem;
  padding-right: 1rem;
  min-width: 100vw;
  min-height: 100vh;
}

.main-container::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;

  display: block;
  /* background: #f0f0f0 url("../img/bgBlue.png") no-repeat center center / cover
    fixed padding-box content-box;
  background-size: cover; */
  width: 100%;
  height: 100%;

  -webkit-filter: blur(20px);
  -moz-filter: blur(20px);
  -o-filter: blur(20px);
  -ms-filter: blur(20px);
  filter: blur(20px);
}

.hero-container {
  margin: 0 -1rem;
  /* background: url(../img/Flash.jpg)  no-repeat center center / cover
    padding-box content-box; */
}

.hero-container img {
  max-width: 100%;
}

.text-wrapper {
  margin: 4rem 0 0 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
}

.hero-sub {
  font-size: 1.5rem;
  font-weight: 600;
}

.cta-btn {
  border-radius: 16px;
  padding: 1rem 2rem;
  font-weight: 700;
}

a.cta-btn {
  text-decoration: none;
}

.primary-bg {
  background: var(--primary-color) !important;
}

.primary-dark-bg {
  background: var(--primary-dark) !important;
}

.secondary-bg {
  background: var(--secondary-color) !important;
}

.secondary-dark-bg {
  background: var(--secondary-dark) !important;
}

.transparent-bg {
  background: transparent !important;
}

.text-white {
  color: var(--text-color-light) !important;
}

label {
  color: var(--primary-dark);
  font-weight: 600;
}

input,
select {
  background-color: var(--background-color);
  color: var(--primary-color);
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--primary-color);
}

button {
  background-color: var(--primary-dark);
  color: var(--text-color-light);
  border: 1px solid var(--primary-color);
  border-radius: 1rem;
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  text-align: left;
  transition: all 0.4s ease-in-out;
}

button:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.categories-wrapper {
  display: flex;
  gap: 1rem;
  overflow: scroll;
  scroll-snap-type: mandatory;
  margin: -1rem 0 0;
}

.category-card {
  min-width: 20vw;
  max-width: 20vw;
}

.category-card img {
  width: 100%;
  height:auto;
  border-radius: 20px;
}

/* User  */
.user-wrap {
  position: absolute;
  top: 25vh;
  left: 2vw;
  right: 2vw;
  margin: 0.5rem;
}

.user-wrap form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  color: #000;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15.7px);
  -webkit-backdrop-filter: blur(15.7px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2.5rem 2.5rem 0;
}

.form-message {
  padding: 0.5rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 400;
}

#loginForm {
  padding: 1rem;
}

#loginForm #submitBtn {
  background: var(--primary-dark);
  color: var(--text-color-light);
  margin: 1rem 0;
  transition: all 0.5s ease-in-out;
}

#loginForm #submitBtn:hover {
  background: transparent;
  color: var(--primary-dark);
}

#signupBtn,
#prevBtn {
  display: none;
}

/* User End */

.btn-wrap {
  display: flex;
  gap: 1rem;
}

/* Universal */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

.desk {
  display: none;
}

.mobile {
  display: block;
}

@media all and (min-width: 1080px) {
  /* User  */
  .user-wrap {
    position: absolute;
    top: 20vh;
    left: 20vw;
    right: 20vw;
  }

  .user-wrap:has(#loginForm) {
    top: 30vh;
  }

  .user-wrap #loginForm {
    margin: 0 20vw;
  }
  /* User End */

  .desk {
    display: block;
  }

  .mobile {
    display: none;
  }

  .hero-wrapper {
    display: grid;
    grid-template-columns: 50% auto;
    gap: 1rem;
    max-height: 80vh;
    overflow: hidden;
  }

  .hero-wrapper .img-wrapper {
    display: flex;
    flex-direction: row-reverse;
  }
  .hero-wrapper .img-wrapper img {
    max-width: 90vh;
  }

  .text-wrapper {
    margin: 5rem 0 0 5rem;
  }

  .hero-title {
    font-size: 5rem;
    font-weight: 900;
  }

  .hero-sub {
    font-size: 1.5rem;
    font-weight: 600;
  }
}
@media all and (min-width: 1280px) {
}
