:root {
  --primary-color: rgb(51, 129, 249);
  --secondary-color: #f9f9f9;
  --text-color: #333;
  --border-color: #ccc;
  --sidebar-open-width: 240px;
  --sidebar-collapsed-width: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: rgb(235, 243, 243);
}

/* Main Page Background */
.cart-page-bg {
  background-color: #f4f5f7; /* Light grey matching the mockup */
  min-height: calc(100vh - 70px);
  padding-bottom: 50px;
}

/* Cart Header Banner */
.cart-header-banner {
  background-color: #fdfdfd;
  border-bottom: 1px solid #eaeaea;
}

/* Cart Item Card Styling */
.cart-item-card {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s;
}

.cart-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cart-select-cell {
  display: flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  margin-right: 18px;
}

.cart-select-cell .select-item.form-check-input {
  position: static;
  margin: 0;
}

.cart-image-cell {
  display: flex;
  flex: 0 0 90px;
  align-items: center;
  justify-content: center;
  width: 90px;
  margin-right: 24px;
}

.cart-item-img {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
}

/* Modern Pill Quantity Selector */
.quantity-pill-container {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50px;
  overflow: hidden;
  height: 40px;
  width: 120px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quantity-pill-container button {
  background: transparent;
  border: none;
  width: 35px;
  font-size: 1.2rem;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.quantity-pill-container button:hover {
  background: #f0f0f0;
}

#loadMore {
  width: 300px;
  font-size: 1.1rem;
  padding: 5px 10px;
  border: none;
  background-color: transparent;
  border-radius: 5px;
  border: solid 2px #ccc;
  cursor: pointer;
}

#loadMore:hover {
  background-color: coral;
  color: aqua;
  transition: all 0.4s ease;
}

.quantity-pill-container span {
  flex-grow: 1;
  text-align: center;
  font-weight: bold;
  border-left: 1px solid #eaeaea;
  border-right: 1px solid #eaeaea;
  line-height: 40px;
}

/* Order Summary Sidebar */
.order-summary-card {
  border-radius: 10px;
  position: sticky;
  top: 90px; /* Keeps it visible when scrolling down */
}

.checkout-btn-custom {
  background-color: #28a745;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
}

.checkout-btn-custom:hover {
  background-color: #218838;
}

.checkout-btn-custom:disabled {
  background-color: #adb5bd;
  cursor: not-allowed;
}

.homepage-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 180px;
  min-height: 38px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid #f0c14b;
  border-radius: 4px;
  background: #ffd814;
  color: #111;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

.homepage-cart-btn:hover {
  background: #f7ca00;
  color: #111;
}

.card-contents .homepage-cart-btn {
  margin: 0;
}

.dailyProductCard .homepage-cart-btn {
  max-width: none;
}

.already-in-cart,
.already-in-cart:hover,
.already-in-cart:disabled {
  border-color: #d5d9d9;
  background: #f0f2f2;
  color: #565959;
  cursor: not-allowed;
  opacity: 1;
}

.out-of-stock-badge,
.stock-warning-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.out-of-stock-badge {
  background: #cc0c39;
  color: #fff;
}

.stock-warning-badge {
  border: 1px solid #f0c14b;
  background: #fff4e5;
  color: #b12704;
}

.cart-stock-warning {
  color: #b12704;
  font-size: 0.85rem;
}

.cart-stock-alert {
  margin-bottom: 16px;
  padding: 12px;
  border-left: 4px solid #f0ad4e;
  border-radius: 4px;
  background: #fff8e5;
  color: #7a4d00;
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-card.stock-issue {
  border-color: #f1c8d0;
  background: #fffafa;
}

.quantity-pill-container button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Trash Icon Button */
.delete-btn-custom {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s;
}

.delete-btn-custom:hover {
  color: #dc3545; /* Turns red on hover */
}

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

.loginform {
  max-width: 35%;
  height: 100%;
  margin: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.loginform img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #fff;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Header Here */

.ecomLogo {
  height: inherit;
  padding-right: 1rem;
}

.navbar-brand img {
  height: 38px;
  border-radius: 50%;
}

.search-form button {
  padding: 5px 10px;
  border: none;
  background-color: transparent;
  color: #ccc;
  border-radius: 5px;
  border: solid 2px #ccc;
  cursor: pointer;
}

.search-form button:hover {
  background-color: coral;
  color: aqua;
}

input[type="search"],
input[type="submit"] {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  text-align: start;
}

.navbar {
  font-size: 16px;
  font-weight: 200;
  top: 0;
  left: 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  background-color: #1d1c36;
}

#displayUsername {
  margin-left: 8px;
  color: white;
  vertical-align: middle;
  font-weight: 500;
}

.nav-link.position-relative .badge {
  position: absolute;
  top: -10px;
  right: 30px;
  font-size: 0.7rem;
  padding: 0.35em 0.45em;
  border-radius: 50%;
}

.navbar i {
  font-size: 24px;
  padding: 0 0.7px;
  transition: 0.4 ease;
  cursor: pointer;
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  display: flex;
  align-items: center;
}

.white-icon {
  color: white;
  font-size: 1.3rem;
}

.navbar-dark .navbar-nav .nav-link {
  display: flex;
  padding: 0 3px;
  color: #ccc;
  transition: 0.4 ease;
  align-items: center;
}

.white-icon {
  color: white !important;
  font-size: 50px;
  padding: 12px;
}

.user-icon {
  font-size: 50px;
  padding: 12px;
}

.user-orders {
  color: black !important;
  font-size: 50px;
  padding: 12px;
}

.dropdown-menu {
  width: 250px;
}

.dropdown-menu span {
  display: flex;
  justify-content: center;
  margin: 3px 0 3px 0;
}

.navbar-nav {
  gap: 13px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar i:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar i:hover {
  color: coral;
}

/* Styles for the checkout stepper */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  font-size: 1rem;
}
.checkout-stepper .step {
  color: #6c757d; /* Muted gray for non-active steps */
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  margin: 0 15px;
}
.checkout-stepper .step:hover:not(.disabled) {
  color: #343a40; /* Darker on hover */
  text-decoration: none;
}
.checkout-stepper .step.active {
  color: #000;
  font-weight: bold;
  border-bottom: 2px solid #000;
}
.checkout-stepper .step.disabled {
  color: #adb5bd; /* Lighter gray for disabled */
  pointer-events: none; /* Make it unclickable */
  cursor: not-allowed;
}
.checkout-stepper i.fa-chevron-right {
  color: #ced4da; /* Light gray for arrows */
}
/* Smooth page transition effect */
body {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card UI Upgrades */
.ui-card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  background: #fff;
  padding: 25px;
}
.ui-card-gray {
  background-color: #f8fafc;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Form Styling */
.form-control {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #fff !important;
  padding: 10px 15px;
}
.form-control:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 0.2rem rgba(2, 132, 199, 0.25);
}
.form-group label {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 5px;
}

/* Primary Button */
.btn-primary-custom {
  background-color: #0275d8;
  color: white;
  border-radius: 8px;
  padding: 12px;
  font-size: 1.1rem;
  transition: all 0.3s;
}
.btn-primary-custom:hover {
  background-color: #025aa5;
  color: white;
}

/* Header Ends Here */

/* Main Here */
main {
  min-height: 100vh;
  margin-top: 2vh;
}

/* Section Starts Here */
.home {
  background-image: url(../img/back.jpg);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position-x: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-top: 0;
}

/* Desktop homepage content position */
.container-home {
  margin-right: 530px;
}

@media only screen and (max-width: 990px) {
  .navbar-buttons {
    margin: 10px;
  }

  .navbar-buttons ul {
    margin: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }

  .navbar-buttons ul li {
    margin-top: 7px;
  }

  .search-form input {
    width: 200px;
    margin-left: 7px;
  }
}

.container-home button {
  font-size: 0.8rem;
  font-weight: 900;
  outline: none;
  border: none;
  background-color: #1d1d1d;
  color: aliceblue;
  padding: 13px 30px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.5s ease;
}

.container-home button:hover {
  background-color: coral;
  color: aqua;
}

.home span {
  color: coral;
}

#new .one img {
  width: 100%;
  height: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#new .one {
  position: relative;
}

#new .one .details {
  position: absolute;
  top: 0;
  left: 0;
  color: burlywood;
  font-weight: bold;
  transition: 0.4 ease;
  opacity: 0.6;
  background-color: rgb(1, 1, 1);
  width: 100%;
  height: 80%;
}

#new .one .details:hover {
  background-color: cornsilk;
}

#new .one:nth-child(1) .details {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
}

#new .one:nth-child(2) .details {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#new .one:nth-child(3) .details {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-end;
  text-align: end;
}

#new button {
  font-size: 0.8rem;
  font-weight: 900;
  outline: none;
  border: none;
  background-color: #1d1d1d;
  color: aliceblue;
  padding: 13px 30px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.5s ease;
}

#new button:hover {
  background-color: coral;
  color: aqua;
}

/* Product Starts Here*/

.product {
  cursor: pointer;
  margin-bottom: 2rem;
}

.product img {
  transition: 0.3 all;
  width: 100%;
  height: 60%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product:hover img {
  opacity: 0.7;
}

.product .buy-btn {
  background-color: #fb774b;
  transform: translateY(50px);
  opacity: 0;
  transition: 0.9s all;
}

.product:hover .buy-btn {
  transform: translateY(0px);
  opacity: 1;
}

hr {
  width: 100%;
  opacity: 2 !important;
}

.star {
  padding: 10px 0;
}

.star i {
  font-size: 0.9rem;
  color: goldenrod;
}

#banner {
  background-image: url(../img/banner1.jpeg);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position-x: center;
  background-position-y: 80px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#banner button {
  font-size: 0.8rem;
  font-weight: 900;
  outline: none;
  border: none;
  background-color: #1d1d1d;
  color: aliceblue;
  padding: 13px 30px;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #fb774b;
  transition: 0.5s ease;
}

#banner button:hover {
  background-color: #1d1d1d;
  color: aqua;
}

#banner h1 {
  color: coral;
}

#banner h4 {
  color: #fff;
}

/* Product Ends Here*/

/* Main Ends Here */

.small-img-group {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.small-img {
  width: 100%;
  height: 100%;
}

.small-img-col {
  flex-basis: 24%;
  cursor: pointer;
}

/* Single Product Start Here */

.single-product-page {
  max-width: 1200px;
}

.product-main-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.product-image-area {
  background: #f8fafc;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box {
  width: 100%;
  height: 520px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.product-info-area {
  padding: 35px;
  display: flex;
  align-items: center;
}

.product-info-card {
  width: 100%;
}

.category-pill {
  display: inline-block;
  background: #1d1c36;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
}

.single-product-title {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.single-product-price {
  color: #fb774b;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  margin-bottom: 20px;
}

.stock-row i {
  color: #fb774b;
}

.quantity-row {
  margin-bottom: 22px;
}

.quantity-row label {
  display: block;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.quantity-input {
  width: 90px !important;
  height: 44px !important;
  padding-left: 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px;
  font-size: 1rem !important;
}

.product-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.add-cart-btn,
.buy-now-btn {
  min-width: 150px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.add-cart-btn {
  background: #fff;
  color: #fb774b;
  border: 2px solid #fb774b;
}

.add-cart-btn:hover {
  background: #fff3ed;
  color: #fb774b;
}

.buy-now-btn {
  background: #fb774b;
  color: #fff;
  border: 2px solid #fb774b;
}

.buy-now-btn:hover {
  background: #e85f35;
  color: #fff;
}

.add-cart-btn:disabled,
.buy-now-btn:disabled {
  background: #e5e7eb;
  border-color: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

.buyer-note {
  background: #f8fafc;
  color: #64748b;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.9rem;
}

.product-details-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.product-details-card h4 {
  color: #1e293b;
  font-weight: 700;
  margin-bottom: 15px;
}

.product-details-text {
  color: #475569;
  line-height: 1.7;
}

/* Mobile responsive */
@media (max-width: 991.98px) {
  .product-image-box {
    height: 380px;
  }

  .product-info-area {
    padding: 25px;
  }

  .single-product-title {
    font-size: 1.6rem;
  }

  .single-product-price {
    font-size: 1.3rem;
  }

  .product-action-buttons {
    flex-direction: column;
  }

  .add-cart-btn,
  .buy-now-btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .single-product-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-image-area {
    padding: 15px;
  }

  .product-image-box {
    height: 300px;
  }

  .product-info-area {
    padding: 20px;
  }
}

.category-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
}
/* Single Product Ends Here */

/* Cart Starts Here*/
.cart-hr {
  width: 30px;
  height: 3px !important;
  opacity: 1 !important;
  background-color: #fb774b;
  margin-left: 0;
  margin-right: auto;
  display: block;
}
/* Cart Ends Here*/

/* Account Starts Here*/

.profile-avatar img {
  width: 32px;
  height: 32px;
  display: none;
  object-fit: cover;
}

#defaultProfileIcon {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.profile-image-wrapper {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #f0f0f0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.default-icon {
  font-size: 80px;
}

.profile-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
  margin-left: 100px;
}

.profile-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-change,
.updateAccountInfo {
  background-color: #2c3e50;
  color: white;
  font-size: 14px;
  padding: 5px 15px;
  border-radius: 5px;
}
.btn-change:hover,
.updateAccountInfo:hover {
  background-color: #1a242f;
  color: aqua;
  transition: all 0.4s ease;
}

.help-text {
  color: gray;
  font-size: 14px;
  margin-top: 10px;
}

#account-form {
  margin: 35px auto;
  text-align: center;
  padding: 20px;
}

#account-form input {
  margin: 5px auto;
}

.account-info #order-btn,
#logout-btn,
#change-pass-btn {
  background-color: #fb774b;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.account-info #order-btn:hover,
#logout-btn:hover,
#change-pass-btn:hover {
  background-color: #0056b3;
}

/* Account Ends Here*/

/* Orders */

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

.orders .product-info {
  display: flex;
  flex-wrap: wrap;
}

.orders th {
  padding: 5px 10px;
  color: #fff;
  background-color: #fb774b;
  text-align: left;
}

.orders th:nth-child(2) {
  text-align: right;
}

.orders td {
  padding: 10px 20px;
}

.orders td img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

/* CheckOut Starts Here */

#checkoutform .checkout-small-element {
  display: inline-block;
  width: 48%;
  margin: 10px auto;
}

#checkoutform .checkout-large-element {
  width: 96%;
}

#checkoutform .checkout-btn-container {
  margin: 10px;
  text-align: right;
  margin-right: 40px;
}

#checkoutform #checkout-btn {
  color: #fff;
  background-color: #fb774b;
}

#placeOrder {
  color: black;
  background-color: transparent;
  border: solid 2px #ccc;
}

#placeOrder:hover {
  background-color: #fb774b;
  color: aqua;
  transition: all 0.4s ease;
}

.cart-item-details {
  text-align: start;
  margin: 0 0 0 15px;
}
/* CheckOut Ends Here */

/* Contact Starts Here */

#contact span {
  color: #fb774b;
}

/* Contact Ends Here */

.product-section {
  margin: 15px 0;
  padding: 50px 10px;
  background-color: #fff;
  width: 100%;
}

.section-header {
  width: 100%;
  height: 40px;
}

.section-header .header {
  font-weight: 400;
  border-bottom: 2px solid;
  padding: 7px;
  display: inline-block;
}

.section-product-cards {
  width: 100%;
  margin-top: 30px;
}

/* Single Product */
.product-card {
  width: 250px;
  height: 400px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  margin: 10px 10px;
}

.product-card .product-img img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.product-card .product-img {
  height: 300px;
  padding: 5px 5px;
  background-color: #f1f1f1;
}

.brand-card .brand-img img {
  width: 90%;
  height: 290px;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.brand-card .brand-img {
  height: 300px;
  padding: 5px 5px;
  background-color: #f1f1f1;
}

#dailyProducts-container {
  display: flex;
  justify-content: center;
}

.dailyProductCard {
  width: 250px;
  height: auto;
  position: relative;
  margin: 10px;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

#dailyProducts-container .dailyProductCard:hover,
#shop-products-container .dailyProductCard:hover {
  transform: translateY(-4px);
  border: 1px solid #ee4d2d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

#dailyProducts-container .dailyProductCard:hover::after,
#shop-products-container .dailyProductCard:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow:
    0 4px 12px rgba(180, 143, 143, 0.12),
    0 0 10px rgba(19, 18, 18, 0.4);
  pointer-events: none;
}

#dailyProducts-container .dailyProductCard img,
#shop-products-container .dailyProductCard img {
  padding: 10px;
  transition: transform 0.3s ease;
}

#dailyProducts-container .dailyProductCard:hover img,
#shop-products-container .dailyProductCard:hover img {
  transform: scale(1.1);
}

.card-contents {
  position: absolute;
  background: rgb(0, 0, 0, 0.3);
  top: -400px;
  left: 0;
  width: 100%;
  height: 300px;
  visibility: hidden;
  transition: 0.2s all ease-in-out;
}

.product-card:hover .card-contents {
  top: 0;
  visibility: visible;
}

.cart-btn {
  margin: 130px 100px;
}

.product-details {
  padding: 8px;
}

.product-name {
  font-weight: 400;
  color: #575252;
}

.product-price {
  font-weight: bold;
  font-size: 1rem;
}

.section-product-cards .owl-carousel .owl-nav button.owl-next,
.section-product-cards .owl-carousel .owl-nav button.owl-prev {
  background-color: greenyellow;
  color: #fff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  text-align: center;
  position: absolute;
  line-height: 40px;
  outline: none;
}

.section-product-cards .owl-carousel .owl-nav button.owl-next {
  right: 0;
  top: 150px;
}

.section-product-cards .owl-carousel .owl-nav button.owl-prev {
  left: 0;
  top: 150px;
}

/* Admin Starts */

header {
  width: 100%;
  height: 50px;
  line-height: 50px;
  background: rgb(52, 58, 64);
  font-weight: bold;
}

.menu-btn,
.close-btn {
  font-size: 30px !important;
  cursor: pointer;
  position: absolute;
  top: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
}

.header-content ul {
  display: flex;
}

.header-content ul li {
  list-style: none;
  margin-right: 30px;
}

.header-content ul li a {
  color: #fff;
  text-decoration: none;
}

.user-menu {
  min-width: 120px;
  max-width: 150px;
}

.user-menu .dropdown-item {
  padding: 4px 10px;
  line-height: 1.2;
  text-align: center;
}

.profile-link i {
  font-size: 20px;
}

.header-nav .nav-item .nav-link {
  padding: 10px 15px;
  line-height: 1.5;
}

.sidebar {
  position: fixed;
  top: 56px;
  left: 0;
  width: 153px;
  height: calc(100vh - 56px);
  background: #1d1d1d;
  color: #fff;
  overflow-y: auto;
}

.sidebar.collapsed {
  width: 60px !important;
  font-size: 25px;
}

.working-panel,
footer {
  margin: 15px 20px 0 170px;
  flex: 1;
  transition: margin-left 0.3s ease;
}

footer {
  margin-left: 170px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.footer-shop {
  margin: 30px 25px 10px;
}

.footer-main {
  margin: 30px 25px 10px;
}

.sidebar.collapsed ~ .working-panel {
  margin-left: 75px !important;
}

.wrapper.sidebar-collapsed + footer {
  margin-left: 75px !important;
}

.sidebar ul {
  padding-left: 0;
}

.sidebar .nav-bar li {
  list-style: none;
  height: 50px;
  padding: 15px;
}

.sidebar .nav-bar li a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.sidebar .nav-bar li:hover {
  background: #725f58;
  color: #fff;
}

.wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.working-panel {
  width: auto;
  background-color: #fff;
  margin-top: 26px; /* below navbar */
  min-height: calc(100vh - 56px);
  padding: 20px;
  transition: margin-left 0.3s ease;
}

.working-panel .admin-hr {
  width: 100%;
  height: 1px !important;
  opacity: 2 !important;
  background-color: #69504a;
  margin-left: 0;
  margin-right: auto;
  display: block;
}

.cart-panel {
  width: auto;
  margin: 10px 24px;
  min-height: calc(100vh - 56px);
}

.bg-orange-g {
  background: linear-gradient(to right, #ff6600, #de3a3a) !important;
}

.bg-green-g {
  background: linear-gradient(to right, #00b09b, #96c93d) !important;
}

.bg-blue-g {
  background: linear-gradient(to right, #00c6ff, #0072ff) !important;
}

.bg-grey-g {
  background: linear-gradient(to right, #bdc3c7, #2c3e50) !important;
}

/* Dashboard page upgrade */
.dashboard-layout-wrapper .sidebar {
  top: 66px;
  height: calc(100vh - 66px);
  width: 232px;
  padding: 18px 12px;
  background: linear-gradient(180deg, #15182a 0%, #1f2942 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 18px 0 35px rgba(15, 23, 42, 0.16);
}

.dashboard-layout-wrapper .sidebar.collapsed {
  width: 78px !important;
}

.dashboard-layout-wrapper .working-panel,
.dashboard-layout-wrapper ~ footer {
  margin-left: 250px;
}

.dashboard-layout-wrapper .working-panel {
  margin-top: 18px;
  padding: 24px 10px 36px;
  background: transparent;
}

.dashboard-layout-wrapper .sidebar.collapsed ~ .working-panel,
.dashboard-layout-wrapper.sidebar-collapsed .working-panel {
  margin-left: 96px !important;
}

.dashboard-layout-wrapper .sidebar ul {
  padding-left: 0;
}

.dashboard-layout-wrapper .sidebar .nav-bar li {
  height: auto;
  padding: 0;
  margin-bottom: 8px;
}

.dashboard-layout-wrapper .sidebar .nav-bar li:hover {
  background: transparent;
}

.dashboard-layout-wrapper .sidebar .nav-bar li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  color: #e5e7eb;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-layout-wrapper .sidebar .nav-bar li a i {
  width: 18px;
  text-align: center;
}

.dashboard-layout-wrapper .sidebar .nav-bar li a:hover,
.dashboard-layout-wrapper .sidebar .nav-bar li a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.dashboard-layout-wrapper .sidebar .nav-bar li.active {
  background: transparent;
}

.dashboard-working-panel {
  min-height: calc(100vh - 72px);
}

.dashboard-role-panel {
  padding-bottom: 12px;
}

.dashboard-navbar {
  padding: 0.3rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.18),
      transparent 32%
    ),
    linear-gradient(135deg, #151a2f 0%, #1d1c36 52%, #0f172a 100%);
}

.dashboard-navbar .container-fluid {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 60px;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.dashboard-navbar-brand {
  margin-right: 0.95rem;
}

.dashboard-navbar-brand img {
  height: 34px !important;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.dashboard-sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem;
}

.dashboard-navbar .menu-btn,
.dashboard-navbar .close-btn {
  position: static;
  top: auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  font-size: 1.15rem !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-navbar .menu-btn:hover,
.dashboard-navbar .close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.dashboard-navbar .navbar-toggler {
  width: 38px;
  height: 38px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.dashboard-navbar .navbar-toggler:focus {
  outline: none;
  box-shadow:
    0 0 0 0.2rem rgba(96, 165, 250, 0.18),
    0 10px 25px rgba(15, 23, 42, 0.12);
}

.dashboard-primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.dashboard-primary-nav .nav-item,
.dashboard-navbar-actions .nav-item {
  flex-shrink: 0;
}

.dashboard-nav-link {
  position: relative;
  min-height: 38px;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-nav-link:hover,
.dashboard-nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.dashboard-navbar-actions {
  margin-left: auto;
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.dashboard-navbar-actions .nav-link,
#cartNavMobile .nav-link {
  min-height: 38px;
}

.dashboard-navbar-actions .white-icon,
#cartNavMobile .white-icon {
  font-size: 1.2rem !important;
  padding: 0 !important;
}

.dashboard-icon-btn {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-icon-btn:hover,
.dashboard-icon-btn:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.dashboard-profile-pill {
  max-width: 228px;
  min-height: 42px;
  padding: 0.28rem 0.72rem 0.28rem 0.42rem !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-profile-pill:hover,
.dashboard-profile-pill:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.dashboard-profile-pill::after {
  margin-left: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
}

.dashboard-username {
  display: inline-block;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-user-dropdown {
  width: 288px;
  margin-top: 0.75rem;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.16);
}

.dashboard-user-dropdown .dropdown-item,
.dashboard-user-dropdown .dropdown-item-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 42px;
  padding: 0.7rem 0.9rem;
  margin: 0;
  border-radius: 12px;
  font-size: 0.93rem;
}

.dashboard-user-dropdown .dropdown-item {
  color: #0f172a;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.dashboard-user-dropdown .dropdown-item:hover,
.dashboard-user-dropdown .dropdown-item:focus {
  background: #f8fafc;
  color: #0f172a;
  transform: translateX(2px);
}

.dashboard-user-dropdown .dropdown-item-text {
  color: #64748b;
  font-size: 0.84rem;
}

.dashboard-user-dropdown .dropdown-item i {
  width: 18px;
  padding: 0;
  font-size: 1rem;
  color: #475569 !important;
  text-align: center;
}

.dashboard-user-dropdown .dropdown-item span,
.dashboard-user-dropdown .dropdown-item-text span {
  display: inline;
  justify-content: flex-start;
  margin: 0;
}

.dashboard-user-dropdown .user-menu {
  min-width: 100%;
  max-width: none;
  margin: 0.35rem 0;
}

.navbar-default-avatar {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

#cart-count,
#notification-count {
  top: -8px;
  right: -8px;
  min-width: 20px;
  padding: 0.32em 0.45em;
  font-size: 0.68rem;
}

#cart-count-mobile {
  min-width: 20px;
  font-size: 0.7rem;
}

.dashboard-mobile-cart-link {
  gap: 0.4rem;
  min-height: 42px;
  margin-top: 0.35rem;
  padding: 0.75rem 0.95rem !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.dashboard-mobile-cart-link:hover,
.dashboard-mobile-cart-link:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.dashboard-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 32px;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.dashboard-hero--admin {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f172a 100%);
  color: #fff;
}

.dashboard-hero--seller {
  background: linear-gradient(135deg, #0f766e 0%, #14532d 100%);
  color: #fff;
}

.dashboard-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.dashboard-hero__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.82;
}

.dashboard-hero__title {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
}

.dashboard-hero__text {
  margin: 0;
  max-width: 560px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.dashboard-hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.dashboard-section-card,
.dashboard-panel-card {
  border: 1px solid #e6ebf4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.dashboard-section-card {
  padding: 24px;
}

.dashboard-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-section-overline,
.notification-dropdown-kicker {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dashboard-section-title,
.dashboard-panel-title {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 700;
}

.dashboard-section-copy {
  margin-top: 0.55rem;
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.6;
}

.dashboard-role-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.dashboard-role-chip--admin {
  background: #dbeafe;
  color: #1d4ed8;
}

.dashboard-role-chip--seller {
  background: #d1fae5;
  color: #047857;
}

.dashboard-stat-card {
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.1);
}

.dashboard-stat-card--orange {
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
  border-color: #fdba74;
}

.dashboard-stat-card--green {
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
  border-color: #86efac;
}

.dashboard-stat-card--blue {
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
  border-color: #93c5fd;
}

.dashboard-stat-card--amber {
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
  border-color: #fcd34d;
}

.dashboard-stat-card--red {
  background: linear-gradient(180deg, #fef2f2 0%, #fff 100%);
  border-color: #fca5a5;
}

.dashboard-stat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-stat-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.dashboard-stat-label {
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
}

.dashboard-stat-value {
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dashboard-stat-note {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.dashboard-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.dashboard-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.dashboard-action-btn:hover {
  color: #0f172a;
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #bfdbfe;
  background: #fff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.dashboard-action-btn i {
  width: 18px;
  text-align: center;
  color: #2563eb;
}

.dashboard-alerts .alert {
  margin-bottom: 0;
  padding: 16px 18px;
  border: none;
  border-left: 5px solid #f59e0b;
  border-radius: 18px;
  background: #fff7ed;
  color: #9a3412;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.14);
}

.dashboard-inline-alert i {
  margin-right: 10px;
}

.dashboard-orders-card {
  overflow: hidden;
}

.dashboard-table-shell {
  margin-top: 8px;
  padding: 18px 18px 14px;
  border: 1px solid #e6ebf4;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 16%);
}

.dashboard-table {
  width: 100% !important;
  margin-bottom: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}

.dashboard-table thead th {
  padding: 1rem 1.1rem;
  background: #f8fafc;
  color: #334155;
  border-top: none;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.dashboard-table tbody td {
  padding: 1rem 1.1rem;
  border-top: 1px solid #eef2f7;
  vertical-align: middle;
  background: #fff;
}

.dashboard-table tbody tr:hover td {
  background: #f8fbff;
}

.dashboard-order-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-table-main {
  color: #0f172a;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-table-subtext {
  margin-top: 0.28rem;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
}

.dashboard-table-clamp,
.dashboard-table-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.dashboard-table-clamp {
  -webkit-line-clamp: 1;
}

.dashboard-table-description {
  max-width: 280px;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

.dashboard-amount-cell {
  white-space: nowrap;
  color: #0f172a;
  font-weight: 700;
}

.dashboard-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.dashboard-status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}

.dashboard-status-pill--pending {
  background: #fffbeb;
  color: #b45309;
}

.dashboard-status-pill--completed {
  background: #ecfdf5;
  color: #047857;
}

.dashboard-status-pill--shipped {
  background: #eff6ff;
  color: #1d4ed8;
}

.dashboard-status-pill--cancelled {
  background: #fef2f2;
  color: #b91c1c;
}

.dashboard-status-pill--neutral {
  background: #f1f5f9;
  color: #475569;
}

.dashboard-payment-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-table-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.58rem 0.95rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.dashboard-table-action:hover,
.dashboard-table-action:focus {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.24);
  filter: brightness(1.03);
}

.dashboard-table-shell .dataTables_wrapper .dataTables_filter,
.dashboard-table-shell .dataTables_wrapper .dataTables_info,
.dashboard-table-shell .dataTables_wrapper .dataTables_paginate {
  float: none;
}

.dashboard-table-shell .dataTables_wrapper .dataTables_filter {
  margin-bottom: 16px;
}

.dashboard-table-shell .dataTables_wrapper .dataTables_filter label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 0;
  color: #475569;
  font-weight: 600;
}

.dashboard-table-shell .dataTables_wrapper .dataTables_filter input {
  width: min(280px, 100%);
  height: 42px;
  margin-left: 0 !important;
  padding: 0 14px;
  border: 1px solid #d7e0ee;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-table-shell .dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.18rem rgba(59, 130, 246, 0.14);
}

.dashboard-table-shell .dataTables_wrapper .dataTables_info {
  padding-top: 1rem !important;
  color: #64748b;
  font-weight: 600;
}

.dashboard-table-shell .dataTables_wrapper .dataTables_paginate {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding-top: 0.75rem !important;
}

.dashboard-table-shell
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button {
  min-width: 38px;
  height: 38px;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #dbe4f0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #334155 !important;
  box-shadow: none !important;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.dashboard-table-shell
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button:hover {
  border-color: #93c5fd !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

.dashboard-table-shell
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current,
.dashboard-table-shell
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current:hover {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #fff !important;
}

.dashboard-table-shell
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.disabled,
.dashboard-table-shell
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.disabled:hover {
  opacity: 0.45;
  cursor: not-allowed !important;
  border-color: #dbe4f0 !important;
  background: #fff !important;
  color: #94a3b8 !important;
}

.order-details-modal .modal-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.order-details-modal .modal-header {
  align-items: flex-start;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid #e8eef7;
  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.order-details-modal .modal-title {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 700;
}

.order-details-modal .modal-header .close {
  margin: -0.25rem -0.25rem 0 auto;
  padding: 0;
  color: #475569;
  opacity: 1;
  text-shadow: none;
}

.order-details-modal .modal-body {
  padding: 1.5rem;
  background: #f8fbff;
}

.order-details-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1rem 1.5rem 1.3rem;
  border-top: 1px solid #e8eef7;
  background: #fff;
}

.order-details-kicker {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.order-details-summary {
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.order-details-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.order-details-summary-item {
  min-height: 98px;
  padding: 14px 16px;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  background: #f8fafc;
}

.order-details-summary-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.order-details-summary-value {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: capitalize;
}

.order-status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.68;
}

.order-status-badge.status-pending {
  background: #fff7ed;
  color: #c2410c;
}

.order-status-badge.status-processing {
  background: #dbeafe;
  color: #1d4ed8;
}

.order-status-badge.status-shipped {
  background: #ede9fe;
  color: #6d28d9;
}

.order-status-badge.status-delivered {
  background: #dcfce7;
  color: #15803d;
}

.order-status-badge.status-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.order-details-tracking {
  color: #2563eb;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.order-details-tracking.is-empty {
  color: #64748b;
}

.order-status-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}

.order-status-timeline.is-cancelled {
  grid-template-columns: minmax(0, 1fr);
  border-color: #fecaca;
  background: #fef2f2;
}

.order-status-timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #94a3b8;
  font-weight: 700;
}

.order-status-timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% - 18px);
  right: -12px;
  top: 50%;
  height: 2px;
  background: #e2e8f0;
  transform: translateY(-50%);
}

.order-status-timeline-step.is-complete,
.order-status-timeline-step.is-active {
  color: #1d4ed8;
}

.order-status-timeline-step.is-complete::after {
  background: #93c5fd;
}

.order-status-timeline-step.is-cancelled {
  color: #b91c1c;
}

.order-status-timeline-dot {
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.82rem;
}

.order-status-timeline-step.is-complete .order-status-timeline-dot,
.order-status-timeline-step.is-active .order-status-timeline-dot {
  background: #2563eb;
  color: #fff;
}

.order-status-timeline-step.is-cancelled .order-status-timeline-dot {
  background: #dc2626;
  color: #fff;
}

.order-status-timeline-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-details-items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-details-items-title {
  color: #0f172a;
  font-size: 1.12rem;
  font-weight: 700;
}

.order-details-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.order-details-table {
  width: 100%;
  margin-bottom: 0 !important;
}

.order-details-table thead th {
  padding: 0.95rem 1rem;
  border-top: none;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.order-details-table tbody td {
  padding: 1rem;
  border-top: 1px solid #eef2f7;
  vertical-align: middle;
}

.order-details-table tbody tr:hover td {
  background: #f8fbff;
}

.order-details-product-image {
  width: 70px;
  height: 70px;
  display: block;
  border-radius: 14px;
  border: 1px solid #d8e2f0;
  object-fit: cover;
  background: #fff;
}

.order-details-product-name {
  color: #0f172a;
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.45;
}

.order-details-party-name {
  color: #1e293b;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

.order-details-meta {
  margin-top: 0.28rem;
  color: #64748b;
  font-size: 0.83rem;
  line-height: 1.45;
}

.order-details-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.86rem;
  font-weight: 700;
}

.order-details-price {
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.order-details-subtotal {
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
}

.order-details-empty {
  padding: 2rem 1rem !important;
  color: #64748b;
  font-weight: 600;
}

.order-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
}

.order-modal-btn,
.order-modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.order-modal-btn--primary {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
}

.order-modal-btn--secondary {
  border: 1px solid #d7e0ee;
  background: #f8fafc;
  color: #334155;
}

.order-modal-btn:disabled {
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
  filter: saturate(0.65);
}

.order-modal-close-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
}

.order-modal-status-message {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid #dbe4f0;
  border-radius: 16px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.order-modal-status-message i {
  flex-shrink: 0;
  color: currentColor;
}

.order-modal-status-message--delivered {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.order-modal-status-message--cancelled {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.notification-dropdown {
  width: 390px;
  margin-top: 0.75rem;
  padding: 0;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.18);
}

.notification-dropdown-header {
  padding: 16px 18px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f7;
}

.notification-dropdown-body {
  background: #fff;
}

.notification-items-scroll {
  max-height: 390px;
  overflow-y: auto;
  padding: 8px;
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
}

.notification-items-scroll::-webkit-scrollbar {
  width: 6px;
}

.notification-items-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.notification-items-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd5e1;
}

.notification-items-scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 13px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.notification-item + .notification-item {
  margin-top: 8px;
}

.notification-item:hover,
.notification-item:focus {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: inherit;
  text-decoration: none;
  transform: translateY(-1px);
}

.notification-item-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.notification-item--warning .notification-item-icon {
  background: #fff7ed;
  color: #ea580c;
}

.notification-item--info .notification-item-icon {
  background: #eff6ff;
  color: #2563eb;
}

.notification-item--success .notification-item-icon {
  background: #ecfdf5;
  color: #059669;
}

.notification-item--danger .notification-item-icon {
  background: #fef2f2;
  color: #dc2626;
}

.notification-item-copy {
  min-width: 0;
  flex: 1;
  padding-bottom: 1px;
}

.notification-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.notification-item-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.notification-item-title h6 {
  margin: 0;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.notification-item-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 700;
}

.notification-item-copy p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.notification-item-link-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.notification-item:hover .notification-item-link-label,
.notification-item:focus .notification-item-link-label {
  background: #dbeafe;
}

.notification-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-top: 1px solid #eef2f7;
  background: #f8fafc;
  color: #2563eb;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.notification-view-all:hover,
.notification-view-all:focus {
  background: #eff6ff;
  color: #1d4ed8;
  text-decoration: none;
}

.notification-empty-state {
  padding: 34px 18px;
  text-align: center;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.45;
}

#navbarProfileImage {
  width: 32px !important;
  height: 32px !important;
}

@media (max-width: 991.98px) {
  .dashboard-navbar-actions #cartNav {
    display: none !important;
  }

  .dashboard-navbar {
    padding: 0.45rem 0.8rem;
  }

  .dashboard-navbar .container-fluid {
    gap: 0.65rem;
  }

  .dashboard-sidebar-toggle {
    order: 1;
    margin-right: 0;
  }

  .dashboard-navbar-brand {
    margin-right: auto;
  }

  .dashboard-navbar .navbar-toggler {
    margin-left: 0;
  }

  .dashboard-primary-nav {
    margin-top: 0.75rem;
    gap: 0.45rem;
    flex-wrap: wrap;
  }

  .dashboard-nav-link {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    border-radius: 14px;
  }

  .dashboard-navbar-actions {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-profile-pill {
    max-width: 100%;
  }

  .dashboard-layout-wrapper .sidebar {
    top: 66px;
    height: calc(100vh - 66px);
    width: 82px;
    padding: 16px 10px;
  }

  .dashboard-layout-wrapper .working-panel,
  .dashboard-layout-wrapper ~ footer {
    margin-left: 98px;
  }

  .dashboard-layout-wrapper .text-link {
    display: none;
  }

  .dashboard-hero__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-table-shell {
    padding: 16px 16px 12px;
  }

  .order-details-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-hero__pills {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .dashboard-navbar .container-fluid {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    gap: 0.5rem;
  }

  .dashboard-navbar-actions {
    align-items: stretch !important;
  }

  .dashboard-navbar-actions .nav-item {
    margin-right: 0 !important;
  }

  #notificationNav .notification-dropdown,
  .notification-dropdown {
    width: min(92vw, 340px);
    right: 0;
    left: auto;
  }

  .dashboard-profile-pill {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .dashboard-username {
    max-width: calc(100vw - 220px);
  }

  .dashboard-user-dropdown {
    width: min(92vw, 320px);
  }

  .dashboard-layout-wrapper .sidebar {
    top: 64px;
    height: calc(100vh - 64px);
  }

  .dashboard-layout-wrapper .working-panel {
    margin: 14px 12px 0 96px;
    padding: 10px 4px 28px;
  }

  .dashboard-section-card {
    padding: 20px;
  }

  .dashboard-orders-card .dashboard-section-head {
    align-items: flex-start;
  }

  .dashboard-table-shell {
    padding: 14px 14px 10px;
  }

  .dashboard-table-shell .dataTables_wrapper .dataTables_filter label {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
  }

  .dashboard-table-shell .dataTables_wrapper .dataTables_filter input {
    width: 100%;
  }

  .dashboard-table thead th,
  .dashboard-table tbody td {
    padding: 0.9rem 0.85rem;
  }

  .dashboard-table-description {
    max-width: 200px;
  }

  .dashboard-table-action {
    width: 100%;
    justify-content: center;
  }

  .order-details-modal .modal-header,
  .order-details-modal .modal-body,
  .order-details-modal .modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .order-details-summary {
    padding: 16px;
  }

  .order-details-summary-grid {
    grid-template-columns: 1fr;
  }

  .order-status-timeline {
    grid-template-columns: 1fr;
  }

  .order-status-timeline-step:not(:last-child)::after {
    left: 16px;
    right: auto;
    top: 32px;
    bottom: -12px;
    width: 2px;
    height: auto;
    transform: none;
  }

  .order-details-table thead th,
  .order-details-table tbody td {
    padding: 0.85rem 0.75rem;
  }

  .order-details-product-image {
    width: 62px;
    height: 62px;
  }

  .order-details-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .order-modal-actions {
    width: 100%;
  }

  .order-modal-status-message {
    width: 100%;
  }

  .order-modal-btn,
  .order-modal-close-btn {
    width: 100%;
  }

  .dashboard-hero {
    padding: 24px 22px;
  }

  .dashboard-hero__title {
    font-size: 1.7rem;
  }

  .dashboard-stat-value {
    font-size: 1.75rem;
  }

  .notification-dropdown {
    width: 320px;
  }
}

/* Admin Ends */

/* DataTable */

.text-center {
  text-align: center;
}

/* DataTable Ends */

/* Footer Here */

footer li {
  transform: all 2s ease-in-out;
}

footer li:hover {
  color: var(--primary-color);
  font-size: larger;
}

.social-share ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.social-share ul li {
  margin: 0.5% 1%;
}

/* Modern Shop Footer */
.footer-shop {
  margin: 30px 25px 25px;
  overflow: hidden;
  border: 1px solid var(--ui-border, #e2e8f0);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--ui-shadow, 0 14px 34px rgba(15, 23, 42, 0.08));
}

/* Social icons */
.footer-shop-social {
  padding: 18px 16px 10px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f7;
}

.footer-shop-social ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-shop-social li {
  margin: 0;
}

.footer-shop-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--ui-blue-dark, #1d4ed8);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-shop-social a:hover {
  transform: translateY(-3px);
  background: var(--ui-blue-dark, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

/* Footer columns */
.general-info-shop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  padding: 30px 38px;
  background: #eaf3fb;
  text-transform: none;
  cursor: default;
}

.general-info-shop .footer-column {
  min-width: 0;
}

.general-info-shop h3 {
  position: relative;
  margin-bottom: 18px;
  color: var(--ui-heading, #0f172a);
  font-size: 1.08rem;
  font-weight: 800;
}

.general-info-shop h3::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: #fb774b;
}

.general-info-shop ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.general-info-shop li {
  margin-bottom: 11px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

.general-info-shop a {
  color: #475569;
  text-decoration: none;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.general-info-shop a:hover {
  color: var(--ui-blue-dark, #1d4ed8);
  padding-left: 4px;
  text-decoration: none;
}

/* Prevent old footer hover from making text jump */
.footer-shop li:hover {
  color: inherit;
  font-size: inherit;
}

/* Bottom footer */
.footer-shop-bottom {
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid #eef2f7;
  text-align: center;
}

.footer-shop-bottom p {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
}

/* Tablet */
@media (max-width: 991.98px) {
  .general-info-shop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 28px;
  }

  .general-info-shop .legal {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .footer-shop {
    margin: 20px 12px;
    border-radius: 16px;
  }

  .general-info-shop {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .general-info-shop .legal {
    grid-column: auto;
  }

  .footer-shop-social ul {
    gap: 10px;
  }

  .footer-shop-social a {
    width: 36px;
    height: 36px;
  }
}

.general-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #e6eef5;
  text-transform: capitalize;
  padding: 1% 1%;
  width: 100%;
  transition: margin-left 0.3s ease;
  cursor: pointer;
}

.general-info h3 {
  margin-bottom: 25px;
  font-weight: bold;
}

.general-info ul {
  list-style: none;
  padding: 0;
  margin: -14px;
  margin: -14px 0;
}

.general-info ul li {
  margin: 15px;
  text-align: start;
}

/* Footer Ends Here*/

/* CheckOut Starts */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin: 0 30px 30px 30px;
  text-align: center;
  font-family: arial;
}

.listCartItems {
  background: #f5f5f5;
}

#selected-total {
  min-height: 1.5rem;
  margin-bottom: 0;
}

#total-amount {
  margin-top: 0.5rem;
}

/* CheckOut Ends */

/* Add to Cart */
.addtoItem {
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: #e2dbdb;
  padding: 15px;
  border-radius: 5px;
}

.address-card {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.address-name {
  font-weight: bold;
  margin-right: 10px;
}

.default-badge {
  border: 1px solid #dc3545;
  color: #dc3545;
  padding: 2px 6px;
  font-size: 0.8rem;
  border-radius: 3px;
}

.separator {
  font-size: 25px;
}

/* Adding Accounts */
.is-invalid {
  border-color: #dc3545 !important; /* red */
}
.is-valid {
  border-color: #28a745 !important; /* green */
}

#admin-table tbody td {
  text-align: left !important;
}

#seller-table tbody td {
  text-align: left !important;
}

#user-table tbody td {
  text-align: left !important;
}

#admin-table td:last-child,
th:last-child {
  text-align: center !important;
}
#seller-table td:last-child,
th:last-child {
  text-align: center !important;
}

#user-table td:last-child,
th:last-child {
  text-align: center !important;
}
/* Adding Accounts ends */

/* Registration */

.role-choice {
  text-align: center;
}

/* Profile Styles */
.dashboard {
  display: flex;
  min-height: 100vh; /* full screen height */
}

.sidebar-profile {
  width: 250px; /* adjust sidebar width */
  background: #2c3e50;
  color: white;
  padding: 20px;
}

.sidebar-profile .nav-bar {
  list-style: none;
  padding: 0;
}

.sidebar- .nav-bar li {
  margin: 15px 0;
}

.sidebar- .nav-bar a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.sidebar- .nav-bar a:hover {
  background: #34495e;
  padding-left: 5px;
  transition: 0.3s;
}

.profile-section {
  padding: 20px;
  background: #f9f9f9;
  margin: auto;
}

.category-section {
  padding: 20px;
  background: #f9f9f9;
  margin: auto;
}

.brand-section {
  padding: 20px;
  background: #f9f9f9;
  margin: auto;
}

.manageAccount-section {
  padding: 20px;
  background: #f9f9f9;
  margin: auto;
}

.product-section {
  padding: 20px;
  background: #f9f9f9;
  margin: auto;
}

/* Orders Start */
/* Tabs */
.order-tab-btn {
  font-size: 15px;
  font-weight: 600;
  color: #666;
}
.order-tab-btn.active {
  color: #ff5000;
  border-bottom: 2px solid #ff5000;
}

/* Order Card */
.order-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 22px 16px;
  margin-bottom: 15px;
  border: 1px solid #d9e1ee;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.order-header {
  gap: 16px;
  align-items: center !important;
}

.order-header-product {
  min-width: 260px;
  flex: 0 1 320px;
}

.order-header-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  margin-right: 14px;
  border: 1px solid #d7dfef;
  background: #f8fafc;
  flex-shrink: 0;
  display: flex;
}

.order-header-thumb.multi {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: -10px; /* overlap effect */
  border: 2px solid #fff;
}

.order-header-meta {
  min-width: 0;
  flex: 1;
}

.order-header-summary {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.order-header-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef3fb;
  border: 1px solid #e2e8f0;
}

.order-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.order-card-seller {
  font-size: 0.98rem;
  margin-top: 2px;
}

.order-card-total {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: lowercase;
}

.status-pending {
  background: #fff3bf;
  color: #8a6100;
}

.status-completed {
  background: #d1fae5;
  color: #047857;
}

.status-shipped {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

.order-chevron {
  color: #0f172a;
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.order-body {
  padding-top: 14px;
}

.order-body-divider {
  height: 1px;
  background: #d7dfef;
  margin-bottom: 18px;
}

.order-items-list {
  margin-bottom: 18px;
}

.order-item-row {
  padding: 6px 0;
}

.order-item-name {
  font-size: 1.3rem;
  font-weight: 500;
  color: #1f2937;
}

.order-item-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: #0f172a;
}

.order-card-meta {
  font-size: 0.95rem;
  line-height: 1.5;
}

.order-card-footer .btn {
  min-width: 96px;
  font-weight: 600;
}

.order-shop-name {
  font-weight: bold;
  font-size: 15px;
}

.order-status {
  font-size: 14px;
  font-weight: 600;
  color: #ff5000;
}

.order-item img {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 10px;
}

.order-item-name {
  font-size: 14px;
  font-weight: 600;
}

.order-summary {
  font-size: 15px;
  font-weight: bold;
}

.btn-orange {
  background: #ff5000;
  color: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
}

.btn-outline {
  border: 1px solid #999;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  color: #666;
  background: white;
}

#buyerOrders .order-hr {
  width: 100%;
  height: 1px !important;
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: var(--bs-border-width) solid;
  opacity: 0.25 !important;
  background-color: black !important;
}

.status-timeline {
  margin-bottom: 20px;
}

.detail-label {
  font-weight: 600;
  color: #555;
}

.product-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* Center Table Content */
#brand-table tbody tr td {
  text-align: center;
  vertical-align: middle;
}
#brand-table thead tr th {
  text-align: center;
  vertical-align: middle;
}

/* Dashboard role-based counts */
.admin-only,
.seller-only {
  display: none;
}

.order-status-tabs .nav-link {
  color: #555;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 15px 0;
  font-weight: 500;
}

.order-status-tabs .nav-link.active {
  color: #d4a017; /* Use your Hanz-Go Gold color */
  border-bottom: 3px solid #d4a017;
  background: none;
}

.order-status-tabs .nav-item:hover {
  background-color: #f8f9fa;
}

.order-page-container {
  margin: 0 auto;
  padding-right: 18px;
  padding-left: 18px;
}

.seller-order-view-switcher {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.seller-order-view-switcher .btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seller-order-view-btn {
  min-width: 150px;
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: none !important;
}

.seller-order-view-btn.btn-dark,
.seller-order-view-btn.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.seller-order-view-btn.btn-outline-dark {
  border-color: #cbd5e1;
  background: #fff;
  color: #475569;
}

.seller-order-view-btn.btn-outline-dark:hover {
  border-color: #111827;
  color: #111827;
}

.order-page-container > .d-flex,
.order-page-container .card-header,
.order-page-container .d-flex.justify-content-end {
  gap: 12px;
}

.order-page-container .card-header > .d-flex,
.order-page-container > .d-flex.justify-content-end {
  flex-wrap: wrap;
}

.order-page-container .search-box input {
  max-width: 100%;
}

@media (max-width: 768px) {
  .order-page-container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .seller-order-view-switcher .btn-group,
  .seller-order-view-btn {
    width: 100%;
  }

  .order-page-container > .d-flex,
  .order-page-container .card-header {
    align-items: stretch !important;
    flex-direction: column;
  }

  .order-page-container .card-header input,
  .order-page-container .card-header select,
  .order-page-container .search-box,
  .order-page-container .search-box input,
  .order-page-container > .d-flex.justify-content-end select,
  .order-page-container > .d-flex.justify-content-end input {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* Order End */

/* Shopee Brand Orange */
.text-orange {
  color: #ee4d2d;
}
.btn-orange {
  background-color: #ee4d2d;
  color: white;
  border: none;
}
.btn-orange:hover {
  background-color: #d73211;
  color: white;
}

/* Custom 5-column grid for desktop */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Product Card Improvements */
.product-card {
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid #ee4d2d !important;
}

/* Limit product title to 2 lines */
.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5em;
  line-height: 1.25em;
}

.shopee-filter-list a:hover {
  color: #ee4d2d !important;
  text-decoration: none;
}

.shopee-filter-list a.active {
  color: #ee4d2d !important;
  font-weight: 700;
}

.shop-main .container-fluid {
  max-width: none;
}

.welcomeHanz {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ee4d2d;
  width: 100%;
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.latestCategories {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ee4d2d;
  width: 100%;
  height: 300px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hanzGoSocial {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ee4d2d;
  width: 100%;
  height: 250px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
}

#shop-products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#shop-products-container .shop-product-item {
  padding: 8px;
}

#shop-products-container .dailyProductCard {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Shared modern dashboard visual layer */
:root {
  --ui-navy: #0f172a;
  --ui-navy-2: #151a2f;
  --ui-blue: #2563eb;
  --ui-blue-dark: #1d4ed8;
  --ui-bg: #f4f7fb;
  --ui-panel: #ffffff;
  --ui-border: #e2e8f0;
  --ui-muted: #64748b;
  --ui-heading: #0f172a;
  --ui-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  --ui-radius: 18px;
}

body {
  background: var(--ui-bg);
  color: #334155;
}

.navbar.navbar-dark {
  min-height: 66px;
  padding: 0.35rem 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.18),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      var(--ui-navy-2) 0%,
      #1d1c36 52%,
      var(--ui-navy) 100%
    );
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.navbar.navbar-dark .container-fluid {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 60px;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.navbar-brand img {
  height: 38px !important;
  width: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.navbar-dark .navbar-nav .nav-link {
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #dbe4f0;
  font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.navbar i:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.navbar .white-icon {
  font-size: 1.15rem !important;
  padding: 0;
}

.navbar.navbar-dark .navbar-brand {
  margin-right: 0.95rem;
}

.navbar.navbar-dark .navbar-brand img {
  height: 34px !important;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.navbar.navbar-dark .toggle-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem;
}

.navbar.navbar-dark .menu-btn,
.navbar.navbar-dark .close-btn {
  position: static;
  top: auto;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  font-size: 1.15rem !important;
}

.navbar.navbar-dark .menu-btn:hover,
.navbar.navbar-dark .close-btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.navbar.navbar-dark .navbar-toggler {
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.navbar.navbar-dark .navbar-toggler:focus {
  outline: none;
  box-shadow:
    0 0 0 0.2rem rgba(96, 165, 250, 0.18),
    0 10px 25px rgba(15, 23, 42, 0.12);
}

.navbar.navbar-dark .navbar-nav.mr-auto {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.navbar.navbar-dark .navbar-nav.ml-lg-3 {
  margin-left: auto !important;
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.navbar.navbar-dark .navbar-nav .nav-item {
  flex-shrink: 0;
}

.navbar.navbar-dark .navbar-nav.mr-auto .nav-link {
  position: relative;
  min-height: 38px;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.navbar.navbar-dark .navbar-nav.mr-auto .nav-link:hover,
.navbar.navbar-dark .navbar-nav.mr-auto .nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.navbar.navbar-dark #cartNav > .nav-link,
.navbar.navbar-dark
  .navbar-nav.ml-lg-3
  > .nav-item
  > .nav-link.position-relative {
  display: inline-flex !important;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.navbar.navbar-dark #cartNav > .nav-link:hover,
.navbar.navbar-dark
  .navbar-nav.ml-lg-3
  > .nav-item
  > .nav-link.position-relative:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.navbar.navbar-dark .nav-item.dropdown > .dropdown-toggle {
  max-width: 228px;
  min-height: 42px;
  padding: 0.28rem 0.72rem 0.28rem 0.42rem !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.navbar.navbar-dark .nav-item.dropdown > .dropdown-toggle:hover,
.navbar.navbar-dark .nav-item.dropdown > .dropdown-toggle:focus {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.navbar.navbar-dark .nav-item.dropdown > .dropdown-toggle::after {
  margin-left: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
}

.navbar.navbar-dark #displayUsername {
  display: inline-block;
  max-width: 120px;
  margin-left: 0.4rem;
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-link.position-relative .badge,
#cart-count {
  top: -6px;
  right: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.35rem;
  border: 2px solid var(--ui-navy);
  font-size: 0.68rem;
  background: #ef4444 !important;
  color: #fff !important;
}

#cart-count,
#cart-count-mobile,
#notification-count {
  background: #ef4444 !important;
  color: #fff !important;
}

#defaultProfileIcon,
.navbar-default-avatar {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.dropdown-menu {
  width: 288px;
  margin-top: 0.75rem;
  padding: 0.65rem;
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.16);
}

.dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 42px;
  padding: 0.7rem 0.9rem;
  margin: 0;
  border-radius: 12px;
  font-size: 0.93rem;
}

.dropdown-menu .dropdown-item {
  color: #0f172a;
  font-weight: 600;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background: #f8fafc;
  color: #0f172a;
  transform: translateX(2px);
}

.dropdown-menu .dropdown-item-text {
  color: #64748b;
  font-size: 0.84rem;
}

.dropdown-menu .dropdown-item i {
  width: 18px;
  margin-right: 0;
  padding: 0;
  color: #475569 !important;
  font-size: 1rem !important;
  text-align: center;
}

.dropdown-menu span {
  display: inline;
  justify-content: flex-start;
  margin: 0;
}

.dropdown-menu .user-menu {
  min-width: 100%;
  max-width: none;
  margin: 0.35rem 0;
}

.wrapper {
  background: var(--ui-bg);
}

.wrapper .sidebar {
  top: 66px;
  width: 232px;
  height: calc(100vh - 66px);
  padding: 18px 12px;
  background: linear-gradient(180deg, #15182a 0%, #1f2942 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 18px 0 35px rgba(15, 23, 42, 0.16);
}

.wrapper .sidebar.collapsed {
  width: 78px !important;
}

.wrapper .sidebar .nav-bar li {
  height: auto;
  margin-bottom: 8px;
  padding: 0;
}

.wrapper .sidebar .nav-bar li:hover {
  background: transparent;
}

.wrapper .sidebar .nav-bar li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  color: #e5e7eb;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.wrapper .sidebar .nav-bar li a:hover,
.wrapper .sidebar .nav-bar li a.active,
.wrapper .sidebar .nav-bar li.active a {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.wrapper .sidebar .nav-bar li a i {
  width: 20px;
  text-align: center;
  color: #93c5fd;
}

.wrapper .working-panel {
  margin: 18px 20px 0 250px;
  padding: 24px 10px 36px;
  background: transparent;
}

.sidebar.collapsed ~ .working-panel,
.wrapper.sidebar-collapsed .working-panel {
  margin-left: 96px !important;
}

.working-panel > .container-fluid > h1.display-4,
.working-panel h1.display-4 {
  margin-bottom: 0.4rem;
  padding: 24px;
  border: 1px solid var(--ui-border);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), transparent 42%), #fff;
  color: var(--ui-heading);
  font-size: clamp(1.8rem, 2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: var(--ui-shadow);
}

.working-panel > .container-fluid > h1.display-4 + p {
  margin: -18px 24px 18px;
  color: var(--ui-muted);
  font-size: 0.96rem;
}

.working-panel .admin-hr {
  display: none;
}

.working-panel .card,
.ui-card,
.profile-section,
.brand-section,
.category-section,
.product-section,
.adminBrandContent,
.approvedCategoryContent {
  border: 1px solid var(--ui-border) !important;
  border-radius: 22px !important;
  background: var(--ui-panel);
  box-shadow: var(--ui-shadow);
}

.working-panel .card,
.ui-card,
.profile-section {
  margin-bottom: 24px;
  overflow: hidden;
}

.working-panel .card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--ui-border);
  background: #fff;
}

.working-panel .card-header h2,
.working-panel .card-header h5,
.working-panel h3.font-weight-bold,
.ui-card h4 {
  color: var(--ui-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.working-panel .card-body,
.ui-card {
  padding: 22px;
}

.table-responsive,
.dashboard-table-shell {
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 18%);
}

.table-responsive > .table {
  margin-bottom: 0;
}

.table thead th {
  padding: 0.95rem 1rem;
  border-top: none;
  border-bottom: 1px solid var(--ui-border);
  background: #f8fafc;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.table tbody td {
  padding: 0.95rem 1rem;
  border-top: 1px solid #eef2f7;
  color: #475569;
  vertical-align: middle;
}

.table tbody tr:hover td {
  background: #f8fbff;
}

.dataTables_wrapper {
  color: #475569;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  padding: 0.85rem 0;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.form-control,
.custom-select,
input[type="search"] {
  min-height: 44px;
  border: 1px solid #d7dfef;
  border-radius: 12px;
  background-color: #fff;
  color: #0f172a;
  box-shadow: none;
}

.form-control:focus,
.custom-select:focus,
input[type="search"]:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.14);
}

label,
.form-label,
.font-weight-bold {
  color: #334155;
  font-weight: 700 !important;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary,
.btn-dark,
.checkout-btn-custom,
.signUp {
  border-color: var(--ui-blue);
  background: linear-gradient(
    135deg,
    var(--ui-blue) 0%,
    var(--ui-blue-dark) 100%
  );
  color: #fff;
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover,
.btn-dark:hover,
.checkout-btn-custom:hover,
.signUp:hover {
  border-color: #1e40af;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #fff;
}

.btn-success {
  border-color: #16a34a;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.btn-danger {
  border-color: #dc2626;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.table .btn,
.dataTable .btn,
.modal-footer .btn {
  min-height: 34px;
  padding: 0.4rem 0.78rem;
  font-size: 0.82rem;
}

.modal-content {
  border: 1px solid var(--ui-border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.modal-header,
.modal-footer {
  border-color: var(--ui-border);
  background: #f8fafc;
}

.status-badge,
.order-status-badge,
.dashboard-status-pill,
.badge {
  border-radius: 999px;
  font-weight: 800;
}

.status-pending,
.badge-pending,
.badge-warning {
  background: #fffbeb !important;
  color: #b45309 !important;
}

.status-approved,
.status-completed,
.status-delivered,
.badge-approved,
.badge-success {
  background: #ecfdf5 !important;
  color: #047857 !important;
}

.status-rejected,
.status-cancelled,
.badge-rejected,
.badge-danger {
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

.status-processing,
.badge-processing,
.badge-info {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

.status-shipped,
.badge-shipped {
  background: #eef2ff !important;
  color: #4338ca !important;
}

.cart-page-bg,
.shop-main,
section.my-2.py-2 {
  background: var(--ui-bg) !important;
  min-height: calc(100vh - 66px);
}

.cart-header-banner {
  border-bottom: 1px solid var(--ui-border);
  background: #fff;
  box-shadow: var(--ui-shadow) !important;
}

.cart-item-card,
.order-summary-card,
.product-card,
.dailyProductCard,
.shop-main .card {
  border: 1px solid var(--ui-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--ui-shadow) !important;
}

.cart-item-card {
  padding: 18px;
}

.cart-item-card:hover,
.product-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe !important;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.1) !important;
}

.order-summary-card {
  top: 92px;
  overflow: hidden;
}

.checkout-stepper {
  max-width: 860px;
  margin: 88px auto 18px;
  padding: 12px 16px;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--ui-shadow);
}

.checkout-stepper .step {
  border-radius: 999px;
  color: #64748b;
  font-weight: 800;
}

.checkout-stepper .step.active {
  background: #eff6ff;
  color: var(--ui-blue-dark);
}

section.my-2.py-2 > .container,
section.my-2.py-2 > .container.d-flex {
  max-width: 1180px;
  padding-top: 12px;
}

section.my-2.py-2 .row > [class*="col-"] {
  margin-bottom: 20px;
}

.login-container {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.14),
      transparent 28%
    ),
    var(--ui-bg);
}

.loginform,
.card-resetPsswrd {
  width: min(100%, 520px);
  max-width: 520px;
  margin: 0 auto;
  padding: 28px !important;
  border: 1px solid var(--ui-border);
  border-radius: 24px !important;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12) !important;
}

.login-container .loginform:has(#signupForm) {
  width: min(100%, 760px);
  max-width: 760px;
}

.loginform > .row > .col-md-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.loginform .logo img,
.loginform img.img-fluid {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: contain;
  border: 1px solid var(--ui-border);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.loginform h2 {
  color: var(--ui-heading);
  font-weight: 800;
}

.card-resetPsswrd h3 {
  color: var(--ui-heading);
  font-weight: 800;
}

#contact {
  max-width: 860px;
  margin-top: 110px !important;
  padding: 34px !important;
  border: 1px solid var(--ui-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--ui-shadow);
}

#contact h3 {
  color: var(--ui-heading);
  font-weight: 800;
}

#contact p {
  width: auto !important;
  color: #475569;
  font-size: 1rem;
}

.footer-main,
footer {
  border-radius: 18px;
}

@media (max-width: 991.98px) {
  .navbar.navbar-dark {
    padding: 0.45rem 0.75rem;
  }

  .wrapper {
    display: block;
    background: var(--ui-bg);
  }

  .wrapper .sidebar {
    position: static;
    width: auto;
    height: auto;
    margin: 12px;
    border-radius: 20px;
  }

  .wrapper .sidebar .nav-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0;
  }

  .wrapper .sidebar .nav-bar li {
    margin-bottom: 0;
  }

  .wrapper .working-panel,
  .sidebar.collapsed ~ .working-panel,
  .wrapper.sidebar-collapsed .working-panel {
    width: auto !important;
    margin: 12px !important;
    padding: 16px !important;
  }

  .working-panel > .container-fluid > h1.display-4,
  .working-panel h1.display-4 {
    padding: 20px;
    font-size: 1.65rem;
  }

  .cart-item-card {
    flex-wrap: wrap;
    gap: 14px;
  }

  .checkout-stepper {
    margin-top: 78px;
    border-radius: 18px;
    flex-wrap: wrap;
  }

  section.my-2.py-2 .col-7,
  section.my-2.py-2 .col-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .wrapper .sidebar .nav-bar {
    grid-template-columns: 1fr;
  }

  .working-panel .card-body,
  .ui-card,
  .profile-section {
    padding: 16px;
  }

  .loginform {
    padding: 22px !important;
  }

  .table-responsive {
    border-radius: 14px;
  }
}

/* Footer should align with the working-panel/profile-section */
.wrapper + footer {
  margin-left: var(--sidebar-open-width);
  width: calc(100% - var(--sidebar-open-width));
  transition:
    margin-left 0.25s ease,
    width 0.25s ease;
}

/* When sidebar is collapsed, footer follows the collapsed sidebar */
.wrapper.sidebar-collapsed + footer {
  margin-left: var(--sidebar-collapsed-width);
  width: calc(100% - var(--sidebar-collapsed-width));
}

/* Keep the general-info clean and full inside the adjusted footer */
.wrapper + footer .general-info {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  background: #eaf3fb;
}

/* Make footer lists cleaner */
.wrapper + footer .general-info ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.wrapper + footer .general-info li {
  margin-bottom: 14px;
}

/* Social icons should also follow the footer width */
.wrapper + footer .social-share {
  width: 100%;
  margin-left: 0;
}

/* Mobile/tablet view */
@media (max-width: 991.98px) {
  .wrapper + footer,
  .wrapper.sidebar-collapsed + footer {
    margin-left: 0;
    width: 100%;
  }

  .wrapper + footer .general-info {
    flex-direction: column;
    padding: 24px;
  }
}

/* Modern Contact Page */
.contact-page {
  max-width: 1180px !important;
  margin: 108px auto 48px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-header {
  margin-bottom: 30px;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--ui-blue-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-header h1,
.contact-form-copy h2 {
  color: var(--ui-heading);
  font-weight: 800;
  letter-spacing: 0;
}

.contact-header h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-header p,
.contact-form-copy p,
.contact-info-card p {
  color: var(--ui-muted);
  line-height: 1.7;
}

.contact-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.contact-info-row {
  margin-bottom: 12px;
}

.contact-info-card,
.contact-form-panel {
  border: 1px solid var(--ui-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ui-shadow);
}

.contact-info-card {
  padding: 28px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.contact-card-icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--ui-blue-dark);
  font-size: 1.25rem;
}

.contact-info-card h3 {
  margin-bottom: 10px;
  color: var(--ui-heading);
  font-size: 1.18rem;
  font-weight: 800;
}

.contact-info-card a,
.contact-info-card span {
  color: #fb774b;
  font-weight: 800;
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--ui-blue-dark);
  text-decoration: none;
}

.contact-form-panel {
  overflow: hidden;
}

.contact-form-panel > .row,
.contact-form-panel .row.align-items-stretch {
  min-height: 100%;
}

.contact-form-copy {
  height: 100%;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent 52%), #f8fbff;
}

.contact-form-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
}

.contact-support-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #fff;
  color: #334155;
  font-weight: 700;
  line-height: 1.5;
}

.contact-support-note i {
  margin-top: 3px;
  color: var(--ui-blue-dark);
}

.contact-form {
  padding: 34px;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border: 0;
  background: linear-gradient(135deg, #fb774b 0%, #f0522b 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(251, 119, 75, 0.22);
}

.contact-submit-btn:hover,
.contact-submit-btn:focus {
  color: #fff;
  background: linear-gradient(135deg, #f0522b 0%, #d9421e 100%);
  box-shadow: 0 14px 26px rgba(251, 119, 75, 0.28);
}

.footer-main {
  overflow: hidden;
  margin: 0 25px 25px;
  border: 1px solid var(--ui-border);
  background: #fff;
  box-shadow: var(--ui-shadow);
}

.footer-main .social-share {
  padding: 18px 16px 8px;
  background: #fff;
}

.footer-main .social-share ul {
  gap: 14px;
  margin: 0;
  padding: 0;
}

.footer-main .social-share ul li {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--ui-blue-dark);
}

.footer-main .general-info {
  gap: 28px;
  padding: 28px 34px;
  background: #eaf3fb;
}

.footer-main .general-info > div {
  flex: 1 1 220px;
}

.footer-main .general-info h3 {
  margin-bottom: 16px;
  color: var(--ui-heading);
  font-size: 1.05rem;
}

.footer-main .general-info ul {
  margin: 0;
}

.footer-main .general-info ul li {
  margin: 0 0 10px;
  color: #475569;
  line-height: 1.5;
}

.footer-main li:hover {
  color: var(--ui-blue-dark);
  font-size: inherit;
}

@media (max-width: 991.98px) {
  .contact-page {
    margin-top: 92px !important;
  }

  .contact-form-copy,
  .contact-form {
    padding: 26px;
  }

  .footer-main .general-info {
    padding: 26px;
  }
}

@media (max-width: 575.98px) {
  .contact-page {
    margin-bottom: 30px !important;
    padding: 0 12px !important;
  }

  .contact-header {
    margin-bottom: 22px;
  }

  .contact-info-card,
  .contact-form-copy,
  .contact-form {
    padding: 22px;
  }

  .contact-submit-btn {
    width: 100%;
  }

  .footer-main {
    margin: 0 12px 20px;
  }

  .footer-main .social-share ul {
    flex-wrap: wrap;
  }

  .footer-main .general-info {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
}

.swal2-container {
  z-index: 20000 !important;
}

/* Notification dropdown display fix */
.notification-dropdown {
  width: 380px;
  min-width: 380px;
  max-height: 500px;
  overflow: hidden;
}

.notification-dropdown-body {
  max-height: 400px;
  overflow-y: auto;
}

.notification-item {
  display: block !important;
  white-space: normal !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #eef2f7;
  line-height: 1.4;
}

.notification-item:hover {
  background: #f8fafc;
  text-decoration: none;
}

.notification-item.unread {
  background: #eef6ff;
}

.notification-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.notification-message {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #4b5563;
  white-space: normal;
  word-break: break-word;
  margin-bottom: 4px;
}

.notification-time {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}

#markAllNotificationsRead {
  color: #2563eb !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

#markAllNotificationsRead:hover {
  text-decoration: underline;
}

/* Fix notification hover blinking / horizontal overflow */
.notification-dropdown {
  overflow: hidden !important;
}

.notification-dropdown-body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.notification-item {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow: hidden !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  transform: none !important;
}

.notification-item:hover {
  transform: none !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.notification-title,
.notification-message,
.notification-time {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.notification-message {
  line-height: 1.35;
}

/* Shop Search Bar */
.shop-search-box {
  border-radius: 10px;
}

.shop-search-box .form-control {
  height: 42px;
  box-shadow: none;
}

.shop-search-box .input-group-text {
  border-right: 0;
}

#shopSearchInput {
  border-left: 0;
}

#shopSearchInput:focus {
  border-color: #ced4da;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .shop-search-box form {
    width: 100%;
  }

  .shop-search-box .btn {
    width: 100%;
  }
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 1rem);
}

.modal.show .modal-dialog {
  transform: none;
}
