* {
  font-family: "inter";
}

/* ------ NEW -----  */
:root {
  --bs-primary: #d68421;
  --bs-primary-rgb: 214, 132, 33;
}

/* Custom styles for outline buttons */
.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
  color: #fff;
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/* --- PAGINATION OVERRIDES --- */

/* Style for the active page link ("hold state") - a.k.a the current page */
.pagination .page-item.active .page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}

/* Style for the disabled page links (e.g., "Previous" on page 1) */
.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

/* -----------  */

.navbar-color {
  background-color: #281a11;
  /* background-color: #fff6eb; */

  position: sticky;
  top: 0;
  z-index: 1030;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

li {
  cursor: pointer;
}

.text-color .nav-link {
  color: rgba(212, 132, 35, 1);
  margin-top: 0.3rem;
  font-size: 13px;
}

.textLeft .nav-link {
  margin-left: 3rem;
}
.textRight .nav-link {
  margin-right: 3rem;
}

.text-color .nav-link:hover {
  color: rgba(123, 61, 0, 1);
}

.logo {
  max-width: 90px;
  height: auto;
  margin-left: 10px;
}

@media (min-width: 992px) {
  .navbar .container-fluid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .navbar-brand {
    grid-column: 2;
    margin: auto;
  }
  .navbar-left {
    justify-content: flex-start;
  }
  .navbar-right {
    justify-content: flex-end;
  }
}

.navbar-toggler {
  border-color: rgba(212, 132, 35, 1);
  background-color: transparent;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(212,132,35,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:hover {
  border: 1px solid #fba439;
}

/* Offcanvas (sidebar) */
.offcanvas-custom {
  --bs-offcanvas-width: 280px; /* Increased width */
  background-color: #281a11; /* Darker background */
  color: #fff6eb; /* Light text */
  font-weight: bold;
  border-left: 2px solid #d48423; /* Accent border */
}

.offcanvas-custom .offcanvas-header {
  border-bottom: 1px solid #d48423; /* Accent border */
  padding: 1.5rem;
}

.offcanvas-custom .offcanvas-title {
  font-family: "campana", cursive;
  font-size: 3rem;
  color: #d48423;
  margin-left: 2rem;
}

.offcanvas-custom .btn-close {
  margin-left: 5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d48423'><path d='M2.146 2.854a.5.5 0 0 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854z'/></svg>");
}

.offcanvas-custom .nav-link {
  color: #fff6eb;
  font-size: 1.2rem; /* Increased font size */
  padding: 1rem 1.5rem; /* Increased padding */
  border-radius: 5px;
  margin: 0.5rem 0;
  transition:
    background-color 0.3s,
    color 0.3s;
  display: flex;
  align-items: center;
}

.offcanvas-custom .nav-link:hover {
  background-color: #d48423;
  color: #281a11;
}

.offcanvas-custom .nav-link .icon {
  margin-right: 1rem;
  font-size: 1.5rem; /* Larger icons */
}

.mobile-acc-icon {
  color: #fff6eb !important;
}

/* Style for the dropdown in offcanvas */
.offcanvas-custom .dropdown-menu {
  background-color: #281a11;
  border: 1px solid #d48423;
}

.offcanvas-custom .dropdown-item {
  color: #fff6eb;
}

.offcanvas-custom .dropdown-item:hover {
  background-color: #d48423;
  color: #281a11;
}

.btn-close {
  width: 2rem;
  height: 2rem;
  background-size: 2rem;
  opacity: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d48423'><path d='M2.146 2.854a.5.5 0 0 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854z'/></svg>");
}

.icon {
  font-size: 16px;
}
.house-icon {
  margin-top: 1.4px;
  font-size: 16.5px;
}

.nav-text {
  margin-top: 2px;
}

/* Dropdown menu background, border, shadow */

.dropdown-account-icon {
  padding: 5rem;
  font-size: 50px;
  color: #281a11;
}

.dropdown-menu {
  margin-top: 50px;
  background-color: #fff6eb;
  border-radius: 1rem;
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 0.5rem 0;
  transform: translateX(1.9rem) translateY(0.2rem);
}

/* Dropdown items */
.dropdown-menu .dropdown-item {
  margin-left: 10px;
  margin-right: 10px;
  width: 90%;
  border-radius: 5rem;
  color: #281a11;
  padding: 10px 20px;
  margin-top: 0.1rem;
  transition: background 0.3s; /* smooth hover */
  text-align: center;
  background-color: #edddc9;
  display: block !important;
}

/* Hover/focus on items */
.dropdown-menu .btn:hover {
  background-color: #3b1700;
  color: #fff;
}

/* Dropdown divider */
.dropdown-menu .dropdown-divider {
  margin: 0.25rem 0;
}

.btn-account {
  border-top: 1px rgb(237, 227, 210) solid;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  text-align: center;
  border-radius: 1rem;
  background-color: #e9dccd;
  height: 3rem;
  width: 90%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
/* greeting) */
.dropdown-menu .dropdown-item-text {
  font-family: "inter";
  color: #231200;
  padding: 10px 20px;
  text-align: center;
  cursor: default; /* non-clickable */
}

.btn-account:hover,
.btn-account:focus,
.btn-account:active {
  color: rgb(100, 55, 0);
  text-decoration: none;
  outline: none;
}

body {
  background-color: #fff6eb;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Pacifico&display=swap");

.product-toggle {
  color: #b46a0f;
  margin-top: 5rem;
}

.product-toggle:hover {
  color: #dd9133;
}

.product-title {
  color: #d68421;
  font-size: 5rem;
  font-family: "campana";
  text-align: center;
  margin-bottom: 15px;
}

/* ALERTS */
.cart-alerts.sticky-alerts {
  text-align: center;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  z-index: 1050;
  background: transparent;
}

.popup-alert {
  animation: popUp 0.4s ease-out;
}

@keyframes popUp {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  70% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 575.98px) {
  .cart-alerts.sticky-alerts {
    text-align: center !important;
    position: fixed;
    top: 75px !important;
    left: 50%;
    transform: translateX(-50%);

    width: 75% !important;
    z-index: 1050;
    background: transparent;
  }
}
