/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 @codewithsadee 
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --spanish-gray: hsl(0, 0%, 60%);
  --sonic-silver: hsl(0, 0%, 47%);
  --eerie-black: hsl(0, 0%, 13%);
  --salmon-pink: hsl(353, 100%, 78%);
  --sandy-brown: hsl(29, 90%, 65%);
  --bittersweet: hsl(0, 100%, 70%);
  --ocean-green: hsl(152, 51%, 52%);
  --davys-gray: hsl(0, 0%, 33%);
  --cultured: hsl(0, 0%, 93%);
  --white: hsl(0, 100%, 100%);
  --onyx: hsl(0, 0%, 27%);

  /**
   * typography
   */

  --fs-1: 1.563rem;
  --fs-2: 1.375rem;
  --fs-3: 1.25rem;
  --fs-4: 1.125rem;
  --fs-5: 1rem;
  --fs-6: 0.938rem;
  --fs-7: 0.875rem;
  --fs-8: 0.813rem;
  --fs-9: 0.75rem;
  --fs-10: 0.688rem;
  --fs-11: 0.625rem;

  --weight-300: 300;
  --weight-400: 400;
  --weight-500: 500;
  --weight-600: 600;
  --weight-700: 700;

  /**
   * border-radius
   */

  --border-radius-md: 10px;
  --border-radius-sm: 5px;

  /**
   * transition 
   */

  --transition-timing: 0.2s ease;

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

a { text-decoration: none; }

li { list-style: none; }

button {
  background: none;
  font: inherit;
  border: none;
  cursor: pointer;
}

img, ion-icon, button, a { display: block; }

span { display: inline-block; }

html {
  font-family: "Poppins", sans-serif;
  overscroll-behavior: contain;
}

input {
  display: block;
  width: 100%;
  font: inherit;
}

input::placeholder { font: inherit; }

body { background: var(--white); }

/**
 * scrollbar style
 */

body::-webkit-scrollbar { width: 15px; }

body::-webkit-scrollbar-track {
  background: var(--white);
  border-left: 1px solid var(--cultured);
}

body::-webkit-scrollbar-thumb {
  background: hsl(0, 0%, 80%);
  border: 3px solid var(--white);
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover { background: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding: 0 15px; }

.has-scrollbar { padding-bottom: 5px; }

.has-scrollbar::-webkit-scrollbar {
  width: 12px; /* for vertical scroll */
  height: 12px; /* for horizontal scroll */
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: transparent;
  border: 3px solid var(--white);
  border-radius: 20px;
}

.has-scrollbar:hover::-webkit-scrollbar-thumb { background: hsl(0, 0%, 90%); }

.has-scrollbar::-webkit-scrollbar-thumb:hover { background: hsl(0, 0%, 80%); }

.title {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--weight-600);
  letter-spacing: 0.4px;
  text-transform: capitalize;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cultured);
  margin-bottom: 30px;
}





/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

/**
 * overlay 
 */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 15;
  transition: 0.5s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}



/**
 * MODAL 
 */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsla(0, 0%, 0%, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10;
  animation: popup 1s ease-in-out 5s forwards;
}

@keyframes popup {

  0% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  100% {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

}

.modal.closed { display: none; }

.modal-close-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.newsletter-img { display: none; }

.modal-content {
  position: relative;
  max-width: 350px;
  margin: 20px;
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  z-index: 2;
  animation: scaleUp 0.5s ease-in-out 5s forwards;
}

@keyframes scaleUp {

  0% { transform: scale(0.9); }
  100% { transform: scale(1); }

}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--salmon-pink);
  color: var(--white);
  font-size: 16px;
  padding: 5px;
  border-radius: var(--border-radius-sm);
}

.modal-close-btn:hover { opacity: 0.9; }

.modal-close-btn ion-icon { --ionicon-stroke-width: 70px; }

.newsletter {
  padding: 50px 30px;
  text-align: center;
}

.newsletter-header { margin-bottom: 20px; }

.newsletter-title {
  color: var(--onyx);
  font-size: var(--fs-2);
  font-weight: var(--weight-600);
  margin-bottom: 10px;
}

.newsletter-desc {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  line-height: 1.6;
}

.email-field {
  font-size: var(--fs-7);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--cultured);
  margin-bottom: 16px;
}

.btn-newsletter {
  background: var(--eerie-black);
  color: var(--white);
  font-size: var(--fs-7);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  padding: 10px 15px;
  border-radius: var(--border-radius-sm);
  margin: auto;
  transition: var(--transition-timing);
}

.btn-newsletter:hover { background: var(--salmon-pink); }





/**
 * NOTIFICATION TOAST 
 */

.notification-toast {
  position: fixed;
  bottom: 80px;
  left: 20px;
  right: 20px;
  background: var(--white);
  max-width: 300px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 20px hsla(0, 0%, 0%, 0.15);
  transform: translateX(calc(-100% - 40px));
  transition: 0.5s ease-in-out;
  z-index: 5;
  animation: slideInOut 10s ease-in-out infinite;
}

@keyframes slideInOut {

  0%,
  45%,
  100% {
    transform: translateX(calc(-100% - 40px));
    opacity: 0;
    visibility: hidden;
  }

  50%,
  95% {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

}

.notification-toast.closed { display: none; }

.toast-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--sonic-silver);
}

.toast-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.toast-banner {
  width: 70px;
  height: 70px;
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-sm);
}

.toast-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.toast-detail {
  width: calc(100% - 85px);
  padding-right: 10px;
}

.toast-message {
  font-size: var(--fs-10);
  color: var(--sonic-silver);
  margin-bottom: 8px;
}

.toast-title {
  font-size: var(--fs-7);
  font-weight: var(--weight-500);
  color: var(--onyx);
}

.toast-meta {
  font-size: var(--fs-10);
  color: var(--sonic-silver);
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header-top,
.header-user-actions,
.desktop-navigation-menu { display: none; }

.header-main {
  padding: 20px 0;
  border-bottom: 1px solid var(--cultured);
}

.header-logo { margin-bottom: 20px; }

.header-logo img { margin: auto; }

.header-search-container { position: relative; }

.header-search-container .search-field {
  font-size: var(--fs-7);
  color: var(--onyx);
  padding: 10px 15px;
  padding-right: 50px;
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
}

.search-field::-webkit-search-cancel-button { display: none; }

.search-btn {
  background: var(--white);
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  color: var(--onyx);
  font-size: 18px;
  padding: 8px 15px;
  border-radius: var(--border-radius-md);
  transition: color var(--transition-timing);
}

.search-btn:hover { color: var(--salmon-pink); }

.mobile-bottom-navigation {
  background: var(--white);
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5px 0;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.25);
  z-index: 5;
}

.mobile-bottom-navigation .action-btn {
  position: relative;
  font-size: 26px;
  color: var(--eerie-black);
  padding: 10px;
}

.mobile-bottom-navigation .count {
  background: var(--bittersweet);
  color: var(--white);
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  font-weight: var(--weight-500);
  line-height: 1;
  padding: 2px 4px;
  border-radius: 20px;
}

.mobile-navigation-menu {
  background: var(--white);
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  padding: 20px;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
  overflow-y: scroll;
  overscroll-behavior: contain;
  visibility: hidden;
  transition: 0.5s ease;
  z-index: 20;
}

.mobile-navigation-menu.active {
  left: 0;
  visibility: visible;
}

.menu-top {
  padding-bottom: 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--cultured);
}

.menu-top .menu-title {
  color: var(--salmon-pink);
  font-size: var(--fs-4);
  font-weight: var(--weight-600);
}

.menu-close-btn {
  color: var(--eerie-black);
  font-size: 22px;
}

.menu-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.mobile-menu-category-list { margin-bottom: 30px; }

.menu-category .accordion-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-category-list .menu-category { border-bottom: 1px solid var(--cultured); }

.mobile-menu-category-list .menu-title {
  color: var(--onyx);
  font-size: var(--fs-6);
  font-weight: var(--weight-500);
  padding: 12px 0;
}

.accordion-menu > div { font-size: 14px; }

.accordion-menu ion-icon {
  color: var(--onyx);
  --ionicon-stroke-width: 90px;
}

.accordion-menu.active .add-icon,
.accordion-menu .remove-icon { display: none; }

.accordion-menu .add-icon,
.accordion-menu.active .remove-icon { display: block; }

.menu-category .submenu-category-list { margin-left: 10px; }

.submenu-title {
  padding: 6px 0;
  font-size: var(--fs-6);
  color: var(--sonic-silver);
  font-weight: var(--weight-300);
}

.submenu-title:hover { color: var(--davys-gray); }

.submenu-category-list {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.5s ease-in-out;
}

.submenu-category-list.active {
  max-height: 148px;
  visibility: visible;
}

.menu-bottom .menu-category-list { margin-bottom: 20px; }

.menu-bottom .menu-category { border-bottom: none; }

.menu-bottom .menu-title {
  font-size: var(--fs-6);
  font-weight: var(--weight-500);
  color: var(--eerie-black);
  padding: 12px 0;
}

.accordion-menu.active .caret-back { transform: rotate(-0.25turn); }

.menu-bottom .submenu-category-list {
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
  padding: 0 15px;
  margin-left: 0;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.05);
}

.menu-bottom .submenu-category:not(:last-child) { border-bottom: 1px solid var(--cultured); }

.menu-social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.menu-social-container .social-link {
  background: var(--cultured);
  color: var(--eerie-black);
  font-size: 20px;
  padding: 10px;
  border-radius: var(--border-radius-md);
}





/*-----------------------------------*\
  #BANNER
\*-----------------------------------*/

.banner { margin: 30px 0; }

.slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--border-radius-md);
  overflow: auto hidden;
  scroll-snap-type: inline mandatory;
  overscroll-behavior-inline: contain;
}

.slider-item {
  position: relative;
  min-width: 100%;
  max-height: 450px;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}

.slider-item .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.banner-content {
  background: hsla(0, 0%, 100%, 0.8);
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  padding: 20px 25px;
  border-radius: var(--border-radius-md);
}

.banner-subtitle {
  color: var(--salmon-pink);
  font-size: var(--fs-7);
  font-weight: var(--weight-500);
  text-transform: capitalize;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.banner-title {
  color: var(--eerie-black);
  font-size: var(--fs-1);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
}

.banner-text { display: none; }

.banner-btn {
  background: var(--salmon-pink);
  color: var(--white);
  width: max-content;
  font-size: var(--fs-11);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-timing);
}

.banner-btn:hover { background: var(--eerie-black); }





/*-----------------------------------*\
  #CATEGORY
\*-----------------------------------*/

.category { margin-bottom: 30px; }

.category-item-container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: auto hidden;
  scroll-snap-type: inline mandatory;
  overscroll-behavior-inline: contain;
}

.category-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
  scroll-snap-align: start;
}

.category-img-box {
  background: var(--cultured);
  border: 1px solid hsl(0, 0%, 80%);
  padding: 10px;
  border-radius: var(--border-radius-sm);
}

.category-content-box { width: 100%; }

.category-content-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.category-item-title {
  color: var(--eerie-black);
  font-size: var(--fs-9);
  font-weight: var(--weight-600);
  text-transform: uppercase;
}

.category-item-amount {
  color: var(--sonic-silver);
  font-size: var(--fs-11);
}

.category-btn {
  color: var(--salmon-pink);
  font-size: var(--fs-9);
  font-weight: var(--weight-500);
  text-transform: capitalize;
}





/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
  background: var(--white);
  position: fixed;
  top: 0;
  left: -100%;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  padding: 30px;
  overflow-y: scroll;
  overscroll-behavior: contain;
  visibility: hidden;
  transition: 0.5s ease;
  z-index: 20;
}

.sidebar.active {
  left: 0;
  visibility: visible;
}

.sidebar-category {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--cultured);
}

.sidebar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sidebar-title {
  color: var(--onyx);
  font-size: var(--fs-5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: var(--weight-600);
}

.sidebar-close-btn {
  color: var(--eerie-black);
  font-size: 22px;
  font-weight: var(--weight-600);
}

.sidebar-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.sidebar-accordion-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
}

.sidebar .menu-title-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar .menu-title {
  font-size: var(--fs-5);
  color: var(--sonic-silver);
  font-weight: var(--weight-500);
}

.sidebar-accordion-menu ion-icon {
  color: var(--sonic-silver);
  font-size: 14px;
  --ionicon-stroke-width: 70px;
}

.sidebar-submenu-category-list {
  border-top: 1px solid var(--cultured);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.5s ease-in-out;
}

.sidebar-submenu-category-list.active {
  padding: 13px 0 8px;
  max-height: 122px;
  visibility: visible;
}

.sidebar-submenu-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  padding: 2px 0;
}

.sidebar-submenu-title:hover { color: var(--eerie-black); }

.sidebar .product-name { text-transform: capitalize; }

.sidebar-accordion-menu.active .add-icon,
.sidebar-accordion-menu .remove-icon { display: none; }

.sidebar-accordion-menu .add-icon,
.sidebar-accordion-menu.active .remove-icon { display: block; }

.sidebar .showcase-heading {
  font-size: var(--fs-5);
  font-weight: var(--weight-600);
  color: var(--onyx);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 15px;
}

.sidebar .showcase {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sidebar .showcase:not(:last-child) { margin-bottom: 15px; }

.sidebar .showcase-img { border-radius: var(--border-radius-sm); }

.sidebar .showcase-content { width: calc(100% - 90px); }

.sidebar .showcase-title {
  color: var(--onyx);
  font-size: var(--fs-7);
  font-weight: var(--weight-400);
  text-transform: capitalize;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 0.5px;
}

.sidebar .showcase-rating {
  display: flex;
  align-items: center;
  color: var(--sandy-brown);
  font-size: 13px;
  padding: 4px 0;
}

.sidebar .price-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sidebar .price-box del {
  color: var(--sonic-silver);
  font-size: 13px;
}

.sidebar .price-box .price {
  font-size: var(--fs-7);
  font-weight: var(--weight-600);
  color: var(--davys-gray);
}





/*-----------------------------------*\
  #PRODUCT MINIMAL
\*-----------------------------------*/

.product-minimal { margin-bottom: 30px; }

.product-minimal .product-showcase { margin-bottom: 10px; }

.product-minimal .showcase-wrapper {
  display: flex;
  align-items: center;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.product-minimal .showcase-container {
  min-width: 100%;
  padding: 0 5px;
  scroll-snap-align: start;
}

.product-minimal .showcase {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--cultured);
  padding: 15px;
  border-radius: var(--border-radius-md);
}

.product-minimal .showcase:not(:last-child) { margin-bottom: 15px; }

.product-minimal .showcase-content { width: calc(100% - 85px); }

.product-minimal .showcase-title {
  color: var(--eerie-black);
  font-size: var(--fs-7);
  font-weight: var(--weight-600);
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.product-minimal .showcase-category {
  width: max-content;
  color: var(--davys-gray);
  font-size: var(--fs-8);
  text-transform: capitalize;
  margin-bottom: 3px;
}

.product-minimal .showcase-category:hover { color: var(--salmon-pink); }

.product-minimal .price-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-minimal .price {
  font-size: var(--fs-7);
  font-weight: var(--weight-700);
  color: var(--salmon-pink);
}

.product-minimal .price-box del {
  font-size: var(--fs-9);
  color: var(--sonic-silver);
}





/*-----------------------------------*\
  #PRODUCT FEATURED
\*-----------------------------------*/

.product-featured { margin-bottom: 30px; }

.product-featured .showcase-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.product-featured .showcase-container {
  min-width: 100%;
  padding: 30px;
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
  scroll-snap-align: start;
}

.product-featured .showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-featured .showcase-content { margin-top: 30px; }

.product-featured .showcase-rating {
  color: var(--sandy-brown);
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 15px;
}

.product-featured .showcase-title {
  font-size: var(--fs-7);
  color: var(--eerie-black);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.product-featured .showcase-desc {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  font-weight: var(--weight-300);
  margin-bottom: 10px;
}

.product-featured .price-box {
  font-size: var(--fs-3);
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.product-featured .price {
  color: var(--salmon-pink);
  font-weight: var(--weight-700);
}

.product-featured del {
  color: var(--sonic-silver);
  font-weight: var(--weight-300);
}

.product-featured .add-cart-btn {
  background: var(--salmon-pink);
  padding: 8px 15px;
  color: var(--white);
  font-weight: var(--fs-9);
  font-weight: var(--weight-700);
  text-transform: uppercase;
  border-radius: var(--border-radius-md);
  margin-bottom: 15px;
  transition: var(--transition-timing);
}

.product-featured .add-cart-btn:hover {
  background: var(--eerie-black);
  color: var(--white);
}

.product-featured .showcase-status { margin-bottom: 15px; }

.product-featured .showcase-status .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--eerie-black);
  font-size: var(--fs-9);
  font-weight: var(--weight-400);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-featured .showcase-status-bar {
  background: var(--cultured);
  position: relative;
  height: 10px;
  border-radius: 5px;
}

.product-featured .showcase-status-bar::before {
  position: absolute;
  content: '';
  top: 3px;
  left: 3px;
  height: 4px;
  width: 40%;
  background: var(--salmon-pink);
  border-radius: 4px;
}

.product-featured .countdown-desc {
  color: var(--eerie-black);
  font-size: var(--fs-9);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-featured .countdown {
  display: flex;
  gap: 5px;
}

.product-featured .countdown-content {
  padding: 5px;
  background: var(--cultured);
  border-radius: var(--border-radius-md);
  text-align: center;
}

.product-featured .display-number {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--weight-500);
  min-width: 40px;
}

.product-featured .display-text {
  color: var(--davys-gray);
  font-size: var(--fs-11);
}





/*-----------------------------------*\
  #PRODUCT GRID
\*-----------------------------------*/

.product-main { margin-bottom: 30px; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.product-grid .showcase {
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-timing);
}

.product-grid .showcase:hover { box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1); }

.product-grid .showcase-banner { position: relative; }

.product-grid .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-timing);
}

.product-grid .product-img.default {
  position: relative;
  z-index: 1;
}

.product-grid .product-img.hover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
}

.product-grid .showcase:hover .product-img.hover { opacity: 1; }

.product-grid .showcase:hover .product-img.default { opacity: 0; }

.product-grid .showcase:hover .product-img { transform: scale(1.1); }

.product-grid .showcase-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--ocean-green);
  font-size: var(--fs-8);
  font-weight: var(--weight-500);
  color: var(--white);
  padding: 0 8px;
  border-radius: var(--border-radius-sm);
  z-index: 3;
}

.product-grid .showcase-badge.angle {
  top: 8px;
  left: -29px;
  transform: rotate(-45deg);
  text-transform: uppercase;
  font-size: 11px;
  padding: 5px 40px;
}

.product-grid .showcase-badge.black { background: var(--eerie-black); }

.product-grid .showcase-badge.pink { background: var(--salmon-pink); }

.product-grid .showcase-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  transform: translateX(50px);
  transition: var(--transition-timing);
  z-index: 3;
}

.product-grid .showcase:hover .showcase-actions { transform: translateX(0); }

.product-grid .btn-action {
  background: var(--white);
  color: var(--sonic-silver);
  margin-bottom: 5px;
  border: 1px solid var(--cultured);
  padding: 5px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-timing);
}

.product-grid .btn-action:hover {
  background: var(--eerie-black);
  color: var(--white);
  border-color: var(--eerie-black);
}

.product-grid .showcase-content { padding: 15px 20px 0; }

.product-grid .showcase-category {
  color: var(--salmon-pink);
  font-size: var(--fs-9);
  font-weight: var(--weight-500);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-grid .showcase-title {
  color: var(--sonic-silver);
  font-size: var(--fs-8);
  font-weight: var(--weight-300);
  text-transform: capitalize;
  letter-spacing: 1px;
  margin-bottom: 10px;
  transition: var(--transition-timing);
}

.product-grid .showcase-title:hover { color: var(--eerie-black); }

.product-grid .showcase-rating {
  display: flex;
  color: var(--sandy-brown);
  margin-bottom: 10px;
}

.product-grid .price-box {
  display: flex;
  gap: 10px;
  font-size: var(--fs-7);
  color: var(--eerie-black);
  margin-bottom: 10px;
}

.product-grid .price { font-weight: var(--weight-700); }

.product-grid del { color: var(--sonic-silver); }





/*-----------------------------------*\
  #TESTIMONIAL
\*-----------------------------------*/

.testimonials-box { margin-bottom: 50px; }

.testimonial-card {
  padding: 30px 20px;
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
  text-align: center;
  margin-bottom: 25px;
}

.testimonial-banner {
  margin: auto;
  margin-bottom: 20px;
  border-radius: 50%;
}

.testimonial-name {
  font-weight: var(--weight-700);
  text-transform: uppercase;
  color: var(--sonic-silver);
  margin-bottom: 5px;
}

.testimonial-title {
  color: var(--onyx);
  font-size: var(--fs-7);
  margin-bottom: 15px;
}

.quotation-img {
  margin: auto;
  margin-bottom: 10px;
}

.testimonial-desc {
  max-width: 70%;
  margin: auto;
  color: var(--sonic-silver);
  font-size: var(--fs-7);
}





/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta-container {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: 25px;
}

.cta-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  background: hsla(0, 0%, 100%, 0.7);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  padding: 15px 20px;
  text-align: center;
  border-radius: var(--border-radius-sm);
}

.cta-content .discount {
  background: var(--eerie-black);
  color: var(--white);
  font-size: var(--fs-11);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  width: max-content;
  margin: auto;
  padding: 0 5px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 5px;
}

.cta-title {
  color: var(--onyx);
  font-size: var(--fs-5);
  text-transform: capitalize;
  margin-bottom: 5px;
}

.cta-text {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  margin-bottom: 5px;
}

.cta-btn {
  font-size: var(--fs-9);
  color: var(--sonic-silver);
  text-transform: uppercase;
  font-weight: var(--weight-700);
  margin: auto;
}





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px 15px;
  border: 1px solid var(--cultured);
  border-radius: var(--border-radius-md);
}

.service-item {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-icon {
  font-size: 35px;
  color: var(--salmon-pink);
  transition: var(--transition-timing);
}

.service-icon ion-icon { --ionicon-stroke-width: 25px; }

.service-item:hover .service-icon { color: var(--eerie-black); }

.service-title {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  font-weight: var(--weight-600);
  text-transform: capitalize;
  margin-bottom: 5px;
}

.service-desc {
  color: var(--sonic-silver);
  font-size: var(--fs-9);
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog { margin-bottom: 30px; }

.blog-container {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.blog-card {
  min-width: 100%;
  scroll-snap-align: start;
}

.blog-banner {
  width: 100%;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
}

.blog-category {
  width: max-content;
  color: var(--salmon-pink);
  font-size: var(--fs-8);
}

.blog-title {
  color: var(--eerie-black);
  font-size: var(--fs-5);
  font-weight: var(--weight-600);
  line-height: 1.4;
  margin-bottom: 5px;
  transition: var(--transition-timing);
}

.blog-title:hover { color: var(--salmon-pink); }

.blog-meta {
  color: var(--sonic-silver);
  font-size: var(--fs-7);
}

.blog-meta cite {
  font-style: normal;
  color: var(--davys-gray);
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

footer {
  background: var(--eerie-black);
  padding: 18px 0;
}

.footer-category {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--onyx);
}

.footer-category-title {
  color: var(--salmon-pink);
  font-size: var(--fs-6);
  font-weight: var(--weight-600);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-category-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 20px;
  row-gap: 3px;
  margin-bottom: 15px;
}

.category-box-title {
  color: var(--spanish-gray);
  font-size: var(--fs-8);
  font-weight: var(--weight-600);
  text-transform: uppercase;
}

.footer-category-link {
  position: relative;
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  text-transform: capitalize;
  transition: var(--transition-timing);
}

.footer-category-link:hover { color: var(--spanish-gray); }

.footer-category-link:not(:last-child)::after {
  position: absolute;
  content: '';
  top: 3px;
  right: -10px;
  background: var(--sonic-silver);
  width: 1px;
  height: 15px;
}


/**
 * footer nav 
 */

.footer-nav {
  border-bottom: 1px solid var(--onyx);
  padding-bottom: 18px;
  margin-bottom: 12px;
}

.footer-nav-list:not(:last-child) { margin-bottom: 20px; }

.footer-nav .nav-title {
  position: relative;
  color: var(--white);
  font-size: var(--fs-7);
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

.footer-nav .nav-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--salmon-pink);
  width: 60px;
  height: 1px;
}

.footer-nav-item { padding: 3px 0; }

.footer-nav-link,
.footer-nav-item .content {
  width: max-content;
  color: var(--sonic-silver);
  font-size: var(--fs-7);
  text-transform: capitalize;
  transition: var(--transition-timing);
}

.footer-nav-link:hover { color: var(--salmon-pink); }

.footer-nav-item.flex {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav-item .content {
  font-style: normal;
  margin-bottom: 5px;
}

.footer-nav-item .icon-box {
  color: var(--sonic-silver);
  font-size: 25px;
}

.footer-nav-item .icon-box ion-icon { --ionicon-stroke-width: 30px; }

.footer-nav .social-link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.social-link .footer-nav-link { font-size: 25px; }

.footer-bottom {
  margin-bottom: 0;
  text-align: center;
}

.payment-img {
  max-width: 335px;
  width: 100%;
  margin: auto;
  margin-bottom: 15px;
}

.copyright {
  color: var(--sonic-silver);
  font-size: var(--fs-8);
  font-weight: var(--weight-500);
  text-transform: capitalize;
  letter-spacing: 1.2px;
}

.copyright a {
  display: inline;
  color: inherit;
}





/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/


/**
 * responsive larger than 480px screen
 */

@media (min-width: 480px) {

  /**
   * #CUSTOM PROPERTY
   */

  :root {

    /**
     * typography 
     */

    --fs-1: 1.875rem;

  }



  /**
   * #HEADER
   */

  .header-top {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--cultured);
  }

  .header-social-container,
  .header-top-actions { display: none; }

  .header-alert-news {
    color: var(--sonic-silver);
    font-size: var(--fs-9);
    text-transform: uppercase;
  }

  .header-alert-news b { font-weight: var(--weight-500); }

  .header-main { padding: 25px 0; }

  .mobile-bottom-navigation {
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
  }



  /**
   * #BANNER
   */

  .slider-item { aspect-ratio: 5 / 3; }

  .banner-content {
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    max-width: 320px;
  }

  .banner-subtitle { --fs-7: 1rem; }

  .banner-text {
    display: block;
    color: var(--sonic-silver);
    font-size: var(--fs-7);
    font-weight: var(--weight-500);
    margin-bottom: 10px;
  }

  .banner-text b { font-size: var(--fs-2); }

  .banner-btn { padding: 7px 20px; }



  /**
   * #PRODUCT 
   */

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }



  /**
   * #CTA
   */

  .cta-content { padding: 40px; }

  .cta-content .discount {
    --fs-11: 0.875rem;
    padding: 5px 10px;
  }

  .cta-title { --fs-5: 1.5rem; }

  .cta-text { --fs-7: 1rem; }

  .cta-btn { --fs-9: 1rem; }



  /**
   * #FOOTER
   */

  .copyright { --fs-8: 0.875rem; }

}





/**
 * responsive larger than 570px screen
 */

@media (min-width: 570px) {

  /**
   * #HEADER
   */

  .header-top .container,
  .header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-logo { margin-bottom: 0; }

  .header-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-top-actions select {
    border: none;
    display: block;
    min-width: 80px;
    padding: 5px 0;
    font: inherit;
    color: var(--sonic-silver);
    font-size: var(--fs-8);
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-timing);
  }

  .header-top-actions select:hover { color: var(--eerie-black); }

  .header-search-container { min-width: 300px; }



  /**
   * #BANNER
   */

  .slider-item { aspect-ratio: 4 / 2; }

  .banner-content { background: none; }



  /**
   * #CATEGORY
   */

  .category-item-container { gap: 30px; }

  .category-item { min-width: calc(50% - 15px); }



  /**
   * #PRODUCT
   */

  .product-minimal .showcase-container { min-width: 50%; }

  .product-featured .showcase-img {
    max-width: 450px;
    margin: auto;
  }

  .product-featured .countdown { gap: 20px; }



  /**
   * #CTA
   */

  .cta-container { aspect-ratio: 6 / 5; }



  /**
   * #BLOG
   */

  .blog-container { gap: 30px; }

  .blog-card { min-width: calc(50% - 15px); }

}





/**
 * responsive larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * #CUSTOM PROPERTY
   */

  :root {

    /**
     * typography 
     */

    --fs-1: 2.375rem;

  }



  /**
   * #BASE 
   */

  html { font-size: 17px; }



  /**
   * #REUSED STYLE 
   */

  .container {
    max-width: 750px;
    margin: auto;
  }


  
  /**
   * #MODAL 
   */

  .modal-content {
    display: flex;
    align-items: center;
    max-width: 750px;
    width: fit-content;
  }

  .newsletter-img { display: block; }

  .newsletter { text-align: left; }



  /**
   * #HEADER 
   */

  .header-main .container { gap: 80px; }

  .header-search-container { flex-grow: 1; }



  /**
   * #BANNER 
   */

  .slider-item {
    aspect-ratio: auto;
    height: 350px;
  }

  .banner-content { max-width: 380px; }

  .banner-subtitle { --fs-7: 1.25rem; }

  .banner-text { --fs-7: 1.125rem; }

  .banner-text b { --fs-2: 1.875rem; }

  .banner-btn { --fs-11: 0.75rem; }



  /**
   * #CATEGORY 
   */

  .category-img-box { padding: 20px; }



  /**
   * #PRODUCT 
   */

  .product-minimal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .product-minimal .product-showcase {
    min-width: calc(50% - 10px);
    width: calc(50% - 10px);
  }

  .product-minimal .showcase-container { min-width: 100%; }
  
  .product-featured .showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .product-featured .showcase-img { max-width: fit-content; }

  .product-featured .showcase-content {
    margin-top: 0;
    min-width: calc(100% - 345px);
  }



  /**
   * #FOOTER 
   */

  .footer-nav .container {
    display: flex;
    flex-wrap: wrap;
    row-gap: 50px;
    column-gap: 20px;
  }

  .footer-nav-list {
    min-width: calc(33.33% - 15px);
    width: calc(33.33% - 15px);
    flex-grow: 1;
  }

  .footer-nav-list:not(:last-child) { margin-bottom: 0; }

}





/**
 * responsive larger than 1024px screen
 */

@media (min-width: 1024px) {

  /**
   * #CUSTOM PROPERTY
   */

  :root {

    /**
     * typography 
     */

    --fs-1: 2.625rem;
    --fs-2: 1.125rem;

  }



  /**
   * #REUSED STYLE 
   */

  .container { max-width: 980px; }



  /**
   * #NOTIFICATION TOAST 
   */

  .notification-toast { bottom: 30px; }



  /**
   * #HEADER 
   */

  .header-social-container {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .header-social-container .social-link {
    padding: 5px;
    background: hsl(0, 0%, 95%);
    border-radius: var(--border-radius-sm);
    color: var(--sonic-silver);
    transition: var(--transition-timing);
  }

  .header-social-container .social-link:hover {
    background: var(--salmon-pink);
    color: var(--white);
  }

  .header-user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .header-user-actions .action-btn {
    position: relative;
    font-size: 35px;
    color: var(--onyx);
    padding: 5px;
  }

  .header-user-actions .count {
    position: absolute;
    top: -2px;
    right: -3px;
    background: var(--bittersweet);
    color: var(--white);
    font-size: 12px;
    font-weight: var(--weight-500);
    line-height: 1;
    padding: 2px 4px;
    border-radius: 20px;
  }

  .desktop-navigation-menu { display: block; }

  .desktop-menu-category-list {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .desktop-menu-category-list .menu-category:not(:nth-child(2)) { position: relative; }

  .desktop-menu-category-list .menu-category > .menu-title {
    position: relative;
    color: var(--onyx);
    font-size: var(--fs-7);
    font-weight: var(--weight-600);
    text-transform: uppercase;
    padding: 15px 0;
    transition: var(--transition-timing);
  }

  .desktop-menu-category-list .menu-category > .menu-title:hover { color: var(--salmon-pink); }
  
  .desktop-menu-category-list .menu-category > .menu-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--salmon-pink);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-timing);
  }

  .desktop-menu-category-list .menu-category > .menu-title:hover::after { transform: scaleX(1); }

  .dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px;
    border: 1px solid var(--cultured);
    box-shadow: 0 3px 5px hsla(0, 0%, 0%, 0.1);
    border-radius: var(--border-radius-md);
    transform: translateY(50px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-timing);
    z-index: 5;
  }

  .desktop-menu-category-list .menu-category:hover > .dropdown-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .dropdown-panel-list .menu-title a {
    color: var(--onyx);
    font-size: var(--fs-7);
    font-weight: var(--weight-600);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cultured);
    margin-bottom: 10px;
  }

  .panel-list-item a {
    color: var(--sonic-silver);
    font-size: var(--fs-7);
    text-transform: capitalize;
    transition: var(--transition-timing);
  }

  .panel-list-item a:hover { color: var(--salmon-pink); }

  .panel-list-item:not(:last-child) a { padding: 4px 0; }

  .panel-list-item:last-child { margin-top: 20px; }

  .panel-list-item img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
  }

  .dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: var(--white);
    padding: 20px 0;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--cultured);
    box-shadow: 0 3px 5px hsla(0, 0%, 0%, 0.1);
    transform: translateY(50px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-timing);
    z-index: 5;
  }

  .desktop-menu-category-list .menu-category:hover > .dropdown-list {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .dropdown-list .dropdown-item a {
    color: var(--sonic-silver);
    font-size: var(--fs-7);
    text-transform: capitalize;
    padding: 4px 20px;
    transition: var(--transition-timing);
  }

  .dropdown-list .dropdown-item a:hover { color: var(--salmon-pink); }

  .mobile-bottom-navigation { display: none; }



  /**
   * #BANNER 
   */

  .banner { margin-top: 0; }

  .slider-item { height: 380px; }

  .banner-content {
    left: 75px;
    max-width: 400px;
  }

  .banner-subtitle { --fs-7: 1.625rem; }

  .banner-text { --fs-7: 1.375rem; }

  .banner-btn { --fs-11: 0.875rem; }



  /**
   * #CATEGORY 
   */

  .category-item { min-width: calc(33.33% - 20px); }

  .category-img-box { padding: 10px; }



  /**
   * #PRODUCT 
   */

  .product-container .container {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
  }

  .sidebar {
    --fs-5: 0.941rem;

    position: sticky;
    top: 30px;
    left: 0;
    padding: 0;
    min-width: calc(25% - 15px);
    margin-bottom: 30px;
    visibility: visible;
    overflow-y: auto;
    overscroll-behavior: auto;
    z-index: 0;
  }

  .sidebar-category {
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--cultured);
    border-radius: var(--border-radius-md);
  }

  .sidebar-close-btn { display: none; }

  .product-box { min-width: calc(75% - 15px); }

  .product-minimal { margin-bottom: 20px; }

  .product-minimal .product-showcase {
    min-width: calc(33.33% - 14px);
    width: calc(33.33% - 14px);
    flex-grow: 1;
  }

  .product-minimal .showcase-wrapper { gap: 10px; }

  .product-minimal .showcase-container { padding: 2px; }

  .product-featured .countdown-content { padding: 5px 10px; }

  .product-grid { grid-template-columns: repeat(3, 1fr); }



  /**
   * #TESTIMONIALS, CTA & SERVICE 
   */

  .testimonials-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 30px;
  }

  .testimonial-card { margin-bottom: 0; }

  .testimonial, .cta-container {
    min-width: calc(50% - 15px);
    width: calc(50% - 15px);
    margin-bottom: 0;
  }

  .service { width: 100%; }

  .service-container { gap: 0; }

  .service-item {
    flex-direction: column;
    text-align: center;
    min-width: 20%;
  }



  /**
   * #BLOG
   */

  .blog-card { min-width: calc(33.33% - 20px); }

  .blog-title { --fs-5: 1rem; }


/* FOOTER GRID FIX */
.msb-footer .footer-nav .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

/* LIST RESET */
.msb-footer .footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* OUR SHOP LINKS — SINGLE LINE */
.msb-footer .footer-nav-list li a {
  white-space: nowrap;
}

/* CONTACT FIX — NO BREAK */
.msb-footer address,
.msb-footer .footer-nav-item a {
  white-space: nowrap;
}

/* CONTACT ROW ALIGN */
.msb-footer .footer-nav-item.flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* REMOVE TEMPLATE CONFLICT */

.footer-nav-list:last-child {
  display: block !important;
}


  /**
   * #BASE 
   */

  html { font-size: 18px; }



  /**
   * #REUSED STYLE 
   */

  .container { max-width: 1350px; }



  /**
   * #BANNER
   */

  .slider-item { height: 450px; }

  .banner-content {
    left: 110px;
    max-width: 460px;
  }
 }
/* ===== Footer text fix ===== */
.footer,
.footer a,
.footer p,
.footer li {
  white-space: normal;
  word-break: keep-all;
  line-height: 1.6;
}

.footer .footer-nav,
.footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer a {
  display: inline-block;
}



/* ===== Footer text wrap fix ===== */
.footer,
.footer a,
.footer p,
.footer li {
  white-space: normal;
  word-break: keep-all;
  line-height: 1.6;
}

.footer a {
  display: inline-block;
}








/* ===== FOOTER TEXT FIX ===== */

.msb-footer,
.msb-footer * {
  word-break: normal !important;
  overflow-wrap: break-word;
  white-space: normal;
}

.msb-footer address,
.msb-footer a,
.msb-footer p,
.msb-footer li {
  line-height: 1.6;
}

/* Contact section alignment fix */
.msb-footer .footer-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Prevent email & phone breaking */
.msb-footer a[href^="mailto"],
.msb-footer a[href^="tel"] {
  word-break: keep-all;
  white-space: nowrap;
}

/* Mobile responsive safety */
@media (max-width: 768px) {
  .msb-footer .footer-nav-list {
    margin-bottom: 25px;
  }
}



/* ==================================================
   FINAL FOOTER TEXT WRAP FIX – APPENDED
================================================== */
.msb-footer .footer-nav .container{
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 40px !important;
}

.msb-footer .footer-nav-list{
  width: auto !important;
  min-width: 0 !important;
}

.msb-footer .footer-nav-item.flex{
  align-items: flex-start !important;
}

.msb-footer .footer-nav-item.flex address,
.msb-footer .footer-nav-item.flex a,
.msb-footer .footer-nav-item.flex .content{
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  font-style: normal !important;
}

.msb-footer a[href^="tel"],
.msb-footer a[href^="mailto"]{
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

@media (max-width: 768px){
  .msb-footer .footer-nav .container{
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
}



/* =========================================
   FOOTER FINAL CLEAN FIX
========================================= */

/* Remove extra space below copyright */
.footer-bottom {
  margin-bottom: 0 !important;
  padding-bottom: 10px !important;
}

/* Remove any unwanted spacing after footer */
.msb-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Make ALL footer text pure white */
.msb-footer,
.msb-footer p,
.msb-footer li,
.msb-footer a,
.msb-footer address {
  color: #ffffff !important;
}

/* Footer icons pure white */
.msb-footer ion-icon {
  color: #ffffff !important;
}

/* Remove hover dim effect if any */
.msb-footer a:hover,
.msb-footer ion-icon:hover {
  color: #ffffff !important;
}

/* Social icons spacing fix */
.msb-footer .social-link {
  margin-top: 10px !important;
}

/* Copyright text center & no extra gap */
.footer-bottom p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6;
}

/* Ensure no pseudo empty blocks */
.msb-footer::after,
.footer-bottom::after {
  display: none !important;
  content: none !important;
}
/* ===== FIX: Footer height & bottom gap ===== */
.msb-footer,
footer {
  padding: 18px 0 !important;
}

.msb-footer .footer-nav,
footer .footer-nav {
  padding-bottom: 18px !important;
  margin-bottom: 12px !important;
}

.msb-footer .footer-bottom,
footer .footer-bottom {
  margin-bottom: 0 !important;
  padding: 8px 0 !important;
}

.msb-footer .footer-bottom p,
footer .footer-bottom p,
.msb-footer .copyright,
footer .copyright {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
}


/* ===== OVERRIDE: Remove gap above copyright (high specificity) ===== */
.msb-footer .footer-nav{
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--onyx);
}

.msb-footer .footer-bottom{
  margin-top: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.msb-footer .footer-bottom .copyright,
.msb-footer .footer-bottom p{
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

/* ================================
   FOOTER: FULL WIDTH + RESPONSIVE
   + Gray background + less side gap
   (paste at END of style-prefix.css)
================================ */

/* 1) Make footer gray (override the template footer rule) */
footer,
.msb-footer{
  background: #2f2f2f !important;
}

/* 2) IMPORTANT: override .container { max-width: 980px } for footer only */
.msb-footer .footer-nav .container{
  max-width: none !important;     /* remove 980px limit */
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 60px !important;  /* desktop side padding */
  padding-right: 60px !important;
  box-sizing: border-box;
}

/* 3) Keep 3 columns on desktop (your grid already exists) */
.msb-footer .footer-nav .container{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px !important;
  align-items: start;
}

/* 4) Tablet: 2 columns */
@media (max-width: 1023px){
  .msb-footer .footer-nav .container{
    grid-template-columns: repeat(2, 1fr) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    gap: 24px !important;
  }
}

/* 5) Mobile: 1 column */
@media (max-width: 768px){
  .msb-footer .footer-nav .container{
    grid-template-columns: 1fr !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    gap: 20px !important;
  }
}

/* 6) Footer bottom bar slightly darker (nice look) */
.msb-footer .footer-bottom{
  background: #242424 !important;
}

/* ================================
   NAVBAR: sticky + background image + soft overlay color
   - Keeps navbar always visible
   - Uses requested aqua tone (#E9FEFF)
================================ */
header{
  position: sticky;
  top: 0;
  z-index: 9999;
  background:
    linear-gradient(rgba(233,254,255,0.88), rgba(233,254,255,0.88)),
    url("../images/nav-bg.jpg");
  background-size: cover;
  background-position: center;
}

/* Put search + HOME/ABOUT on same line (center) */
.header-main .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-center{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

/* make search smaller & centered */
.nav-center .header-search-container{
  position: relative;
  min-width: 0;
}
.nav-center .search-field{
  width: 280px;
  max-width: 55vw;
  height: 42px;
  border-radius: 999px;
  padding: 0 16px;
}
.nav-center .search-btn{
  right: 2px;
}

/* inline nav links */
.nav-center .nav-links{
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-center .nav-links a{
  color: var(--eerie-black);
  font-weight: var(--weight-500);
  text-transform: uppercase;
  font-size: var(--fs-7);
}

/* Hide the old 2nd-line desktop nav (we show links inline now) */
.desktop-navigation-menu{ display: none !important; }

/* Search suggestion dropdown */
#search-suggestions{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--cultured);
  border-radius: 12px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 260px;
  overflow-y: auto;
  z-index: 10000;
  display: none;
  box-shadow: 0 10px 22px hsla(0,0%,0%,0.10);
}
#search-suggestions li{
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
}
#search-suggestions li:hover{
  background: hsla(0,0%,0%,0.04);
}

/* Mobile 3-dot dropdown */
.mobile-3dot{ display: none; position: relative; }
.mobile-more-dropdown{
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 160px;
  background: var(--white);
  border: 1px solid var(--cultured);
  border-radius: 12px;
  padding: 8px;
  display: none;
  z-index: 10001;
  box-shadow: 0 10px 22px hsla(0,0%,0%,0.10);
}
.mobile-more-dropdown.open{ display: grid; gap: 6px; }
.mobile-more-dropdown a{
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--eerie-black);
  font-size: 14px;
}
.mobile-more-dropdown a:hover{ background: hsla(0,0%,0%,0.04); }

/* Responsive: keep perfect on all devices */
@media (max-width: 768px){
  .nav-center{
    justify-content: center;
    gap: 10px;
  }
  .nav-center .search-field{
    width: 210px;
    max-width: 60vw;
  }
  .nav-center .nav-links{ display: none; }      /* mobile menu via 3-dot */
  .mobile-3dot{ display: block; }              /* show 3-dot on mobile */
}



/* ================================
   FIX: Header single-line layout + show HOME/ABOUT + smaller search button
   (Appended overrides)
================================ */
.header-main .container{
  flex-wrap: nowrap !important;
}

.header-logo{
  flex: 0 0 auto !important;
  margin-bottom: 0 !important;
}

.nav-center{
  min-width: 0 !important;
  flex: 1 1 auto !important;
  justify-content: center !important;
}

/* Search area should not eat all space */
.nav-center .header-search-container{
  flex: 0 1 auto !important;
}

.nav-center .search-field{
  width: 360px !important;      /* smaller */
  max-width: 46vw !important;
  height: 40px !important;
}

/* smaller search icon button */
.nav-center .search-btn{
  padding: 6px 10px !important;
  font-size: 16px !important;
}

/* Ensure nav links are visible on desktop */
@media (min-width: 769px){
  .nav-center .nav-links{ display: flex !important; }
  .mobile-3dot{ display: none !important; }
}

/* On mobile/tablet: hide inline nav and show 3-dot */
@media (max-width: 768px){
  .nav-center .nav-links{ display: none !important; }
  .mobile-3dot{ display: block !important; }
  .nav-center .search-field{
    width: 220px !important;
    max-width: 62vw !important;
  }
}

/* Keep icons on same line, no drop */
.header-user-actions{
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Optional: add a little separation so banner doesn't look stuck to navbar */
.banner{ margin-top: 12px !important; }



/* ================================
   RELAYOUT + CART OVERLAY FIX + BANNER NO-CROP
================================ */

/* Cart overlay in index.html uses z-index:9998 (inline),
   so keep header below it */
header{ z-index: 9000 !important; }

/* Header row: logo + search (left), nav centered, icons right */
.header-main .container{
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

/* Search right of logo */
.header-logo{ flex: 0 0 auto !important; }
.header-search-container{
  flex: 0 1 auto !important;
  position: relative !important;
  margin: 0 !important;
}
.header-search-container .search-field{
  width: 340px !important;
  max-width: 44vw !important;
  height: 40px !important;
  border-radius: 999px !important;
}
.header-search-container .search-btn{
  padding: 6px 10px !important;
  font-size: 16px !important;
}

/* Nav in the middle */
.nav-links{
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 22px !important;
}
.nav-links a{
  text-transform: uppercase !important;
}

/* Keep user icons right */
.header-user-actions{ flex: 0 0 auto !important; }

/* Desktop show inline nav, mobile show 3-dot */
@media (max-width: 768px){
  .nav-links{ display: none !important; }
  .mobile-3dot{ display: block !important; }
  .header-search-container .search-field{
    width: 220px !important;
    max-width: 60vw !important;
  }
}
@media (min-width: 769px){
  .nav-links{ display: flex !important; }
  .mobile-3dot{ display: none !important; }
}

/* Banner image should not crop */
.slider-item .banner-img{
  object-fit: contain !important;
  background: #fff;
}
.slider-item{
  aspect-ratio: auto !important;
}



/* ================================
   FIX: header height + search icon align + remove duplicate menu line
   (minimal UI change)
================================ */

/* keep header compact */
.header-main{ padding: 10px 0 !important; }

/* search icon alignment */
.header-search-container{ position: relative !important; }
.header-search-container .search-btn{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 12px !important;
  padding: 0 !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
}

/* make input leave room for icon */
.header-search-container .search-field{
  padding-right: 44px !important;
}

/* ensure old desktop menu never shows (prevents 2nd line HOME/ABOUT) */
.desktop-navigation-menu{ display: none !important; }

/* banner: prevent crop without changing slider sizing */
.slider-item .banner-img{ object-fit: contain !important; }




/* ================================
   FIX: Minimal navbar height + single line layout
================================ */
.header-main{ padding: 8px 0 !important; }
.header-main .container{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
}

/* Left group: logo + search (search stays right of logo) */
.header-logo{ flex: 0 0 auto !important; margin: 0 !important; }
.header-search-container{
  flex: 0 1 auto !important;
  min-width: 0 !important;
  position: relative !important;
}

/* Search size + icon position */
.header-search-container .search-field{
  width: 320px !important;
  max-width: 42vw !important;
  height: 38px !important;
  border-radius: 999px !important;
  padding: 0 44px 0 14px !important; /* room for icon */
}
.header-search-container .search-btn{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 10px !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
}

/* Center nav */
.nav-links{
  flex: 1 1 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 !important;
}
.nav-links a{
  color: var(--eerie-black) !important; /* prevent purple/visited look */
  text-decoration: none !important;
}

/* Right icons */
.header-user-actions{
  flex: 0 0 auto !important;
  gap: 10px !important;
  align-items: center !important;
}

/* Mobile: hide center nav, show 3-dot */
@media (max-width: 768px){
  .nav-links{ display: none !important; }
  .mobile-3dot{ display: block !important; }
  .header-search-container .search-field{
    width: 210px !important;
    max-width: 60vw !important;
  }
}

/* ================================
   BANNER: no crop + hide scrollbar (dot navigation)
================================ */
.banner .slider-container{
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.banner .slider-container::-webkit-scrollbar{ display:none; }

.slider-item{ aspect-ratio: auto !important; }
.slider-item .banner-img{
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;   /* no crop */
  object-position: center !important;
  background: #fff;
}

/* Dots UI */
.banner-dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.banner-dots .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
  transition: 0.25s ease;
}
.banner-dots .dot.active{
  width: 26px;
  background: var(--salmon-pink);
}


/* Navbar extra minimal */
.header-main{ padding: 6px 0 !important; }
/* FIX: footer email lowercase */
.footer-nav-item a[href^="mailto"] {
  text-transform: lowercase !important;
}


/* =========================================================
   ALL PAGES NAV FIX (mobile: only hamburger menu + cart)
   ========================================================= */
@media (max-width: 1023px){

  /* hide bottom navigation bar */
  .mobile-bottom-navigation{ display:none !important; }
  body{ padding-bottom: 0 !important; }

  /* hide inline desktop links on mobile/tablet */
  .nav-links{ display:none !important; }

  /* show header actions on mobile */
  .header-user-actions{
    display:flex !important;
    align-items:center;
    gap: 12px;
    margin-left: auto;
  }

  /* ensure cart badge anchored */
  #header-cart-btn{
    position: relative !important;
    width: 38px;
    height: 38px;
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
  }
  #header-cart-btn .count{
    position:absolute !important;
    top:-6px !important;
    right:-6px !important;
    background:#ff0000 !important;
    color:#fff !important;
    min-width:16px;
    height:16px;
    padding:0 4px;
    font-size:11px;
    line-height:16px;
    border-radius:999px;
    z-index: 5;
  }

  /* mobile menu dropdown */
  .mobile-3dot{ position: relative; display:flex; align-items:center; }
  #mobile-more-btn{
    width: 38px;
    height: 38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  #mobile-more-dropdown{
    position:absolute;
    top: 44px;
    right: 0;
    min-width: 190px;
    background: var(--white);
    border: 1px solid var(--cultured);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 10px 0;
    z-index: 9999;
  }
  #mobile-more-dropdown a{
    display:block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--onyx);
  }
  #mobile-more-dropdown a:hover{
    background: var(--cultured);
  }
}

/* Desktop: hide mobile dropdown button */
@media (min-width: 1024px){
  .mobile-3dot{ display:none !important; }
  .nav-links{ display:flex; gap: 20px; align-items:center; }
  .nav-links a{ color: var(--onyx); font-weight: 600; }
  .nav-links a:hover{ color: var(--salmon-pink); }
}

/* Prevent product image turning white on hover (no hover image) */
.product-grid .showcase:hover .product-img.default{ opacity: 1 !important; }
.product-grid .product-img.hover{ display:none !important; opacity: 0 !important; }
.product-grid .showcase:hover .product-img{ opacity: 1 !important; }

/* ===== FIX: Mobile header actions order + cart badge position ===== */
.header-user-actions{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:flex-end;
}

/* cart button badge (only inside header/mobile cart buttons) */
#header-cart-btn,
#mobile-cart-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

#header-cart-btn .count,
#mobile-cart-btn .count,
#header-cart-count,
#mobile-cart-count{
  position:absolute;
  top:-6px;
  right:-8px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#ff0000;
  color:#fff;
  font-size:11px;
  line-height:18px;
  text-align:center;
  font-weight:700;
}

/* Ensure order: cart left, menu right inside header actions */
#header-cart-btn{ order:1; }
#mobile-more-btn{ order:2; }

/* Only show hamburger dropdown on mobile */
@media (min-width: 769px){
  .mobile-3dot{ display:none !important; }
}
@media (max-width: 768px){
  .desktop-navigation-menu{ display:none !important; }
  .header-user-actions{ margin-left:auto; }
}
/* ===== END FIX ===== */



/* =========================================================
   FIX: NAV HOVER FLICKER OFF + HOVER COLOR RED ONLY
   - Works for both inline .nav-links (your custom header)
   - And template .desktop-menu-category-list (fallback)
   ========================================================= */
@media (min-width: 1024px){

  /* 1) Disable animated underline that causes flicker */
  .desktop-menu-category-list .menu-category > .menu-title::after{
    display: none !important;
    transition: none !important;
    transform: none !important;
  }

  /* 2) Make underline stable using border (no layout shift) */
  .desktop-menu-category-list .menu-category > .menu-title{
    border-bottom: 2px solid transparent !important;
    transition: color .15s ease, border-color .15s ease !important;
  }
  .desktop-menu-category-list .menu-category > .menu-title:hover{
    color: #ff0000 !important;
    border-bottom-color: #ff0000 !important;
  }

  /* 3) Your custom inline header links (.nav-links) */
  .nav-links a{
    border-bottom: 2px solid transparent !important;
    transition: color .15s ease, border-color .15s ease !important;
  }
  .nav-links a:hover{
    color: #ff0000 !important;
    border-bottom-color: #ff0000 !important;
  }

  /* 4) Dropdown links hover red too (optional) */
  .dropdown-panel-list .panel-list-item a:hover,
  .dropdown-list .dropdown-item a:hover{
    color: #ff0000 !important;
  }
}



/* =========================================================
   FINAL NAV FIX (MINIMAL):
   - Flicker OFF (no underline animation, no border/underline)
   - Hover/Focus/Active color RED only
   - UI/spacing unchanged
   ========================================================= */
@media (min-width: 1024px){

  /* Disable template underline animation */
  .desktop-menu-category-list .menu-category > .menu-title::before,
  .desktop-menu-category-list .menu-category > .menu-title::after{
    display: none !important;
    transition: none !important;
    transform: none !important;
  }

  /* Disable any underline/border that may cause layout shift */
  .desktop-menu-category-list .menu-category > .menu-title{
    border-bottom: none !important;
    text-decoration: none !important;
    transition: color .12s linear !important; /* only color */
  }

  /* Hover/Focus/Active: red only */
  .desktop-menu-category-list .menu-category > .menu-title:hover,
  .desktop-menu-category-list .menu-category > .menu-title:focus,
  .desktop-menu-category-list .menu-category > .menu-title:active{
    color: #ff0000 !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Your custom inline header links */
  .nav-links a{
    border-bottom: none !important;
    text-decoration: none !important;
    transition: color .12s linear !important; /* only color */
  }
  .nav-links a:hover,
  .nav-links a:focus,
  .nav-links a:active{
    color: #ff0000 !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

/* Remove underline on mobile dropdown too (no UI change) */
#mobile-more-dropdown a{
  text-decoration: none !important;
}
/* ================================
   SOCIAL ICON SPACING FIX
================================ */

/* social icons এর নিচে সুন্দর gap */
.msb-footer .social-link{
  margin-bottom: 14px !important;  /* icon -> map gap */
}

/* icon গুলোর মাঝেও একটু balance */
.msb-footer .social-link a{
  margin-right: 6px;
}

/* mobile এ সামান্য বেশি ফাঁকা ভালো লাগে */
@media (max-width: 768px){
  .msb-footer .social-link{
    margin-bottom: 16px !important;
  }
}
/* ================================
   FOOTER COPYRIGHT BOTTOM SPACE FIX
================================ */

/* footer bottom এর extra space remove */
.msb-footer .footer-bottom{
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* copyright text এর default margin remove */
.msb-footer .footer-bottom p,
.msb-footer .copyright{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* body/footer gap যদি থাকে */
body{
  margin-bottom: 0 !important;
}

/* ===== CONSISTENT PRODUCT DESCRIPTION ===== */

#product-modal .pm-desc-text{
  font-size:14px;
  line-height:1.28;        /* সব paragraph এর জন্য same */
  color:#334155;
  text-align:justify;
}

/* Heading */
#product-modal .pm-desc-text .desc-h{
  font-size:15px;
  font-weight:600;
  margin:10px 0 6px;       /* সব heading এর জন্য same */
  color:#0f172a;
  text-align:left;
}

/* Paragraph */
#product-modal .pm-desc-text .desc-p{
  margin:6px 0;            /* সব paragraph এর same margin */
}

/* Bullet container */
#product-modal .pm-desc-text .desc-ul{
  margin:6px 0 6px 18px;   /* same spacing */
  padding:0;
}

/* Bullet item */
#product-modal .pm-desc-text .desc-ul li{
  margin:3px 0;            /* সব bullet এর same gap */
  line-height:1.25;
  text-align:left;
}
/* =========================
   MOBILE RESPONSIVE FIX
========================= */

@media (max-width: 768px) {

  /* Header layout fix */
  .header,
  header {
    flex-wrap: wrap !important;
    padding: 10px 12px !important;
  }

  .logo {
    flex: 0 0 auto;
  }

  /* Search bar fix */
  .search-bar,
  .search,
  .header-search {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 8px 0 !important;
  }

  .search-bar input,
  .search input {
    width: 100% !important;
  }

  /* Category show in mobile */
  .sidebar {
    position: relative !important;
    left: 0 !important;
    width: 100% !important;
    margin-bottom: 20px;
    display: block !important;
  }

  .sidebar ul {
    padding-left: 0;
  }

  /* Product grid full width */
  .product-grid,
  #product-grid {
    width: 100% !important;
  }

}



/* =========================================================
   Munna's Shop BD - Responsive Fix Pack (mobile first)
   - Header search bar alignment (iPhone/Android)
   - Always show Category list on mobile
   - Safer images + text wrapping
   ========================================================= */

/* Prevent horizontal scroll on small devices */
html, body { max-width: 100%; overflow-x: hidden; }

/* Make all images behave nicely */
img { max-width: 100%; height: auto; }

/* -------- Header: single-row layout on mobile -------- */
@media (max-width: 768px) {

  .header-main { padding: 12px 0; }

  /* Use a single row: logo | search | icons */
  .header-main .container{
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-logo{ margin-bottom: 0 !important; flex: 0 0 auto; }
  .header-logo img{
    margin: 0 !important;
    height: 42px;
    width: auto;
    object-fit: contain;
  }

  .header-search-container{
    flex: 1 1 auto;
    min-width: 0; /* important so input can shrink */
  }

  .header-search-container .search-field{
    width: 100%;
    padding: 10px 44px 10px 14px; /* room for icon */
    font-size: 14px;
  }

  .search-btn{
    right: 6px;
    padding: 8px 10px;
    font-size: 18px;
  }

  /* If you have any header icon wrapper, keep it on the right */
  .header-user-actions,
  .mobile-bottom-navigation{
    z-index: 50;
  }

  /* Some builds have nav links visible and they break layout */
  .desktop-navigation-menu,
  .header-top { display: none !important; }
}

/* -------- Category: show inside page on mobile -------- */
@media (max-width: 992px) {

  /* Sidebar should be part of the page, not off-canvas */
  .sidebar{
    position: static !important;
    left: 0 !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
  }

  /* Hide sidebar close button area when shown inline */
  .sidebar-top,
  .sidebar-close-btn { display: none !important; }

  .sidebar-category{
    background: var(--white);
    border: 1px solid var(--cultured);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 18px;
  }

  /* Make category items tap-friendly */
  .sidebar-accordion-menu{
    padding: 10px 0 !important;
  }

  .sidebar .menu-title{
    font-size: 15px !important;
  }
}

/* -------- Product grid spacing on mobile -------- */
@media (max-width: 768px) {
  .product-grid{ gap: 16px; }
  .product-grid .showcase-content{ padding: 12px 14px 0; }
  .product-grid .showcase-title{ letter-spacing: 0.3px; }
}

/* -------- Mobile navigation menu: ensure category list scrolls nicely -------- */
@media (max-width: 768px) {
  .mobile-navigation-menu{
    max-width: 86vw;
  }
  .mobile-menu-category-list .menu-title{
    font-size: 15px;
  }
}

/* Optional: smooth tap highlight */
* { -webkit-tap-highlight-color: transparent; }











/* ===== Smart Search Icon Switch ===== */

.header-search-container {
  position: relative;
}

.search-field {
  padding-right: 50px !important;
}

.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}


/* =====================================================
   MSB Search UI Fix
   - Disable iOS native clear (×)
   - Show 🔍 only when empty
   - Show custom × only when typing
===================================================== */

/* Disable native iOS/Safari clear button */
.header-search-container input[type="search"]::-webkit-search-cancel-button,
.header-search-container input[type="search"]::-webkit-search-decoration,
.header-search-container input[type="search"]::-webkit-search-results-button,
.header-search-container input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

/* Ensure enough right padding for the icon buttons */
.header-search-container .search-field,
.header-search-container #search-field,
.header-search-container input[type="search"] {
  padding-right: 84px !important;
}

/* Make the container a positioning context */
.header-search-container {
  position: relative;
}

/* Position the existing search button nicely */
.header-search-container .search-btn,
.header-search-container #search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

/* Custom clear button (we create via JS) */
.header-search-container .msb-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

/* Default: show 🔍, hide × */
.header-search-container .msb-clear-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.header-search-container.msb-has-text .msb-clear-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-search-container.msb-has-text .search-btn,
.header-search-container.msb-has-text #search-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Keep icons crisp on small screens */
@media (max-width: 600px) {
  .header-search-container .search-btn,
  .header-search-container #search-btn,
  .header-search-container .msb-clear-btn {
    right: 10px;
    width: 32px;
    height: 32px;
  }
  .header-search-container .search-field,
  .header-search-container #search-field,
  .header-search-container input[type="search"] {
    padding-right: 78px !important;
  }
}


/* ================================
   FIX: Mobile header (prevent icons overlapping search)
   Keep layout stable on 360/390/412 widths
================================ */
@media (max-width: 430px){
  .header-main .container{
    gap: 10px !important;
  }
  .header-logo img{
    width: 46px !important;
    height: 46px !important;
  }
  .header-search-container{
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .header-search-container .search-field{
    width: 100% !important;
    max-width: none !important;
    height: 38px !important;
  }
  .header-user-actions{
    flex: 0 0 auto !important;
    gap: 8px !important;
  }
  /* keep menu/cart from shrinking into input */
  .header-user-actions .action-btn{
    flex: 0 0 auto !important;
  }
}
