:root {
  --c1: #34335f;
}

@font-face {
  font-family: 'lora';
  src: url(../lora/Lora-Regular.ttf);
}

@font-face {
  font-family: 'gantari';
  src: url(../gantari/Gantari-Medium.ttf);
}

/* @font-face {
  font-family: 'gantari';
  src: url(../gantari/Gantari-Regular.ttf);
} */

.c1 {
  color: var(--c1) !important;
}

/* ad sec */
.sec_light_bg {
  background: linear-gradient(#041433c4, #041433c4), url("../images/blog-5.jpg");
  /* background-color: #1D2B47 !important; */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

.sec_light_bg .inner_sub_sec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 380px;
  padding: 2rem 1.5rem;
}

.profile-avatar {
  font-family: 'gantari', sans-serif !important;
  width: 100px;
  height: 100px;
  background: var(--c1);
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  text-transform: uppercase;
}

.profile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: var(--c1);
  margin-bottom: 0.7rem;
  text-decoration: none;
  border: 1px solid var(--c1);
  transition: 0.3s ease;
}

.profile-link:hover {
  background-color: var(--c1);
  color: #fff;
}

.profile-link i {
  font-size: 1.2rem;
}

.logout-link {
  display: block;
  margin: 1.5rem auto 0;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 0.6rem;
  border: 2px solid var(--c1);
  color: var(--c1);
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s;
}

.logout-link:hover {
  background-color: var(--c1);
  color: #fff;
}

.custom-btn {
  background-color: var(--c1);
  /* Bootstrap success green */
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

.custom-btn:hover {
  background-color: var(--c1);
  /* Bootstrap success green */
  color: #fff;
  transform: translateY(-2px);
}

/* Sidebar styles */
.sidebar {
  width: 350px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  transition: transform 0.3s ease;
  transform: translateX(100%);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* Show sidebar */
.body-sidebar-open .sidebar {
  transform: translateX(0);
}

/* Backdrop */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5) !important;
  /* Semi-transparent black */
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show backdrop when sidebar is open */
.body-sidebar-open .sidebar-backdrop {
  opacity: 1;
  visibility: visible;
}

.body-sidebar-open {
  height: 100vh !important;
  width: 100% !important;
  overflow: hidden !important;
}

.closex-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

.products-section {
  flex: 1;
  min-height: 55%;
  max-height: 70%;
  overflow-y: auto;
  background-color: #fff;
}

.sidebar-preloader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(91, 91, 91, 0.7);
  /* Glassed black background */
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.body-sidebar-open {
  overflow: hidden !important;
}

.spinner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--c1);
  border-radius: 50%;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.modal-con1 {
  height: 135px;
  width: 40% !important;
}

.modal-con-img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.wish-qty-btn {
  border-radius: 0%;
}

.cqty {
  border-radius: 0%;
}

@media screen and (max-width:660px) {

  /* Sidebar styles */
  .sidebar {
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  }
}

.btn-cart-new.rounded-5 {
  border-radius: 1.5rem;
  /* rounded-5 equivalent */
  padding: 0.5rem 1.2rem;
  transition: background-color 0.3s, color 0.3s;
  background-color: #34335f !important;
  /* example hover color */
  color: #fff !important;
}

.quantity-selector-detail button {
  width: 40% !important;
  height: 40px !important;
}

.quantity-selector-detail input {
  width: 40% !important;
  height: 40px !important;
}


.quantity-selector-detail {
  display: flex;
  align-items: center;
}

.quantity-selector-detail button {
  border: 1.5px solid #bfbfbf;
  border-radius: 3px;
  color: #000;
  font-size: inherit;
  box-sizing: border-box;
  background-color: #f0f0f0;
  text-align: center;
}

.quantity-selector-detail input {
  text-align: center;
  border: 1px solid #ddd;
  margin: 0 5px;
  font-size: 16px;
  line-height: 14px;
  font-family: gantari, sans-serif;
  font-weight: 400;
  font-style: normal;
  background: #fff;
  color: #000;
  border: 1.5px solid #bfbfbf;
  padding: .8em 15px;
  vertical-align: middle;
  max-width: 100%;
  border-radius: 3px;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.btn-grad {
  background-color: var(--purple) !important;
  border: var(--purple) !important;
  color: #FFF !important;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-grad:disabled {
  background-color: #888;
  /* Greyed out */
  cursor: not-allowed;
  opacity: 0.6;
}

.category-section {
  text-align: center;
}

.category-card {
  background: #fff;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-card img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.category-title {
  font-weight: 600;
  margin-top: 15px;
  font-size: 1rem;
  text-align: center;
}

.category-items {
  color: #777;
  font-size: 0.9rem;
  text-align: center;
}

.category-items a {
  text-decoration: underline;
  font-weight: 600;
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .category-card {
    width: 100px;
    height: 100px;
  }

  .category-title {
    font-size: 0.9rem;
  }

  .category-items {
    font-size: 0.8rem;
  }

  /* Hide nav arrows on very small screens */
  .owl-nav {
    display: none !important;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .category-card {
    width: 110px;
    height: 110px;
  }
}