@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/*===========================
    01.COMMON CSS 
===========================*/

body {
  font-family: 'Josefin Sans', sans-serif;
}

.berkshire-swash {
  font-family: 'Berkshire Swash', serif;
}

:root {
  --light-color: #ffffff;

  --dark-color: #000000;
  --dark-color-1: #040505;
  --dark-color-2: #303030;
  --dark-color-3: #636363;
  --dark-color-4: #818181;
  --dark-color-5: #999999;
  --dark-color-6: #484848;
  --dark-color-7: #ADAAAA;
  --dark-color-8: #9D9D9D;
  --dark-color-9: #FFF3E3;

  --primary-color: #462627;
  --primary-color-100: #B46800;
  --primary-color-200: #FFB857;

  scroll-behavior: smooth;
}

.primary-color {
  color: var(--primary-color);
}

.primary-bg-color {
  background-color: var(--primary-color);
}

.primary-color-100 {
  color: var(--primary-color-100);
}

.primary-bg-color-100 {
  background-color: var(--primary-color-100);
}

.primary-color-200 {
  color: var(--primary-color-200);
}

.primary-bg-color-200 {
  background-color: var(--primary-color-200);
}

.dark-color-3 {
  color: var(--dark-color-3);
}

.dark-bg-color-3 {
  background-color: var(--dark-color-3);
}

.dark-color-4 {
  color: var(--dark-color-4);
}

.dark-bg-color-4 {
  background-color: var(--dark-color-4);
}

.dark-color-6 {
  color: var(--dark-color-6);
}

.dark-bg-color-6 {
  background-color: var(--dark-color-6);
}

.dark-color-7 {
  color: var(--dark-color-7);
}

.dark-bg-color-7 {
  background-color: var(--dark-color-7);
}

.dark-color-8 {
  color: var(--dark-color-8);
}

.dark-bg-color-8 {
  background-color: var(--dark-color-8);
}

.dark-color-9 {
  color: var(--dark-color-9);
}

.dark-bg-color-9 {
  background-color: var(--dark-color-9);
}

/* HEADER START */

#mainLogo {
  height: 80px;
}

.topbar {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.topbar .topbar-link {
  color: var(--light-color);
}

.navbar .dropdown-menu {
  display: none;
  margin-top: 0;
}

.navbar .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar .dropdown-toggle::after {
  display: none !important;
}

.nav-link {
  color: var(--dark-color-3);
}

.nav-item:hover>.nav-link,
.nav-item .nav-link:hover {
  color: var(--primary-color-100) !important;
}

.nav-item .nav-link.active {
  color: var(--primary-color-100) !important;
}

.hover-dropdown:hover .dropdown-menu {
  display: block;
}

.hover-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--primary-color-100);
  transition: transform 0.3s ease;
}

.nav-item {
    position: relative;
}
.dropdown-toggle-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}


.cart-hover {
  position: relative;
}

.cart-count {
  background-color: var(--primary-color);
  font-size: 10px;
  padding: 3px 6px;
}

.cart-dropdown {
  position: fixed;
  top: 80px;
  right: 0;
  background: var(--light-color);
  width: 350px;
  z-index: 1050;
  border-radius: 6px;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-items-wrapper {
  max-height: 400px; /* limit just the items area */
  overflow-y: auto;
  padding-right: 5px; /* avoid scrollbar overlaying text */
}

.cart-items-wrapper::-webkit-scrollbar {
  width: 6px;
}
.cart-items-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.cart-dropdown h6 {
  color: var(--primary-color);
  font-family: 'Berkshire Swash', serif;
}

.cart-hover:hover .cart-dropdown {
  /*display: block;*/
}

.cart-dropdown.show {
    display: block;
}


.cart-counter-border {
  border: 1px solid var(--primary-color);
  border-radius: 2px;
}

.myborder {
  border: 1px solid var(--primary-color-100);
  border-radius: 2px;
}

#searchInput,
#searchInput:focus {
  border: 1px solid var(--primary-color);
}

/* HEADER END */

/* SUBSCRIPTION START */

.contact-banner {
  background-color: var(--dark-color-9);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  padding: 50px 20px;
  border-radius: 12px;
}

.contact-banner h4 {
  font-family: 'Berkshire Swash', serif;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 1.6rem;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 16px;
  pointer-events: none;
}

.input-icon-wrapper input {
  padding: 12px 20px 12px 38px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
}

.subscribe-btn {
  padding: 12px 20px;
  background-color: var(--primary-color-200);
  color: var(--primary-color);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

/* SUBSCRIPTION END */

/* TESTIMONIAL START */

.testimonials-section {
  text-align: center;
  padding: 40px 15px;
}

.heading {
  font-family: 'Berkshire Swash', serif;
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 8px;
}

.subheading {
  color: #f7982a;
  font-size: 16px;
  margin-bottom: 30px;
}

.swiper {
  padding-bottom: 40px;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  height: auto !important;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  /* max-width: 320px; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-card h3 {
  font-size: 18px;
  color: #333;
  margin-top: 0;
}

.testimonial-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}

.stars {
  color: #f7982a;
  font-size: 16px;
  margin-top: 10px;
}

.author {
  font-weight: bold;
  font-size: 14px;
  margin-top: 10px;
}

.author span {
  font-weight: normal;
  font-size: 13px;
  color: #888;
}

.clipart {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 100px;
  opacity: 0.8;
}

.swiper-pagination-bullet {
  width: 24px !important;
  height: 4px !important;
  background: var(--primary-color-200);
  opacity: 0.4;
  margin: 0 4px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  opacity: 1;
}

.category-card img,
.product-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  border-radius: 0.5rem;
}

.product-card select,
.product-card button {
  border-color: var(--primary-color-200);
}

.product-card .card-body {
  padding-bottom: 0;
}

.product-card .card-footer {
  background-color: transparent;
  border: none;
}

.form-select-sm {
  border: 1px solid var(--primary-color-200);
}

.text-primary-custom {
  color: var(--primary-color);
}

.wishlist-btn:hover .wishlist-icon {
  color: var(--primary-color-200);
}

.wishlist-icon.filled {
  color: var(--primary-color-200);
}

.object-fit-cover {
  object-fit: cover;
}

.text-truncate-multiline {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 8rem;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--primary-color-100);
}

.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  transition: 0.2s ease;
}

.card-img-top {
  width: 100%; 
  height: 250px;
  object-fit: cover;
  object-position: center center;
}


.faq-icon {
  font-size: 1.2rem;
  transition: 0.2s ease;
}

.step-tab {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.step-tab span {
  color: #aaa;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.step-tab .active {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.address-card {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 1rem;
  background: var(--light-color);
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(112, 112, 112, 0.2);
}

.address-card.selected {
  border-color: var(--primary-color-200);
  box-shadow: 0 0 10px rgba(255, 186, 66, 0.3);
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.custom-checkbox:checked {
  background-color: green;
  accent-color: var(--primary-color);
}

.order-card {
  background: var(--light-color);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.status-btn {
  color: var(--light-color);
  display: inline-block;
}

#menu-tabs .nav-link.active {
  color: var(--primary-color) !important;
  background-color: var(--primary-color-200);
}

.delivered {
  background-color: var(--primary-color);
  color: var(--primary-color-200);
}

.inprocess {
  background-color: #c68642;
}

.side-menu {
  background-color: #fff;
  padding-top: 20px;
}

.tab-content {
  padding: 20px;
}

/* TESTIMONIAL END */

.field-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
}

.input-wrapper {
    position: relative;
}

/*===========================
    02. RESPONSIVE
===========================*/

/* HEADER START */

@media (min-width: 992px) {
  #mainLogo {
    height: 100px;
  }
}

@media (max-width: 576px) {
  .search-box {
    width: 100% !important;
    right: 0;
    left: auto;
  }
}

.rotate-icon {
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .rotate-icon {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    #mobileNav {
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
}

@media (max-width: 576px) {
  .btn-sm-mobile {
    font-size: 8px !important;
  }
}

@media (max-width: 767.98px) {
  .mobile-mt {
    margin-top: 1rem;
  }
}

/* HEADER END */