:root {
  --baby-pink: #FFB6C1;
  --dark-pink: #FF8FA3;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #f8f9fa;
}

/* Product title - fixed height */
.product-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  /* line-height: 1.5;
  min-height: 48px; */
}

/* Product benefit - fixed height */
.product-benefit {
  font-size: 13px;
  margin-bottom: 15px;
  min-height: 40px;
}


/* Product details - grow to fill space */
.product-details {
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Ensure all cards have equal height and proper structure */
.product-card-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px !important;
  box-shadow: 2px 5px 20px -5px rgba(0, 0, 0, 0.2);
  background: white;

}

/* Push meta area and button to bottom */
.product-meta-area {
  margin-top: auto;
  margin-bottom: 15px;
}

.badge-tag {
  top: 7px !important;
  left: 13px !important;
  border-radius: 6px !important;
}

/* .product-card-item .btn-add-to-cart:hover {
  transform: translateY(-3px);
  background: linear-gradient(177deg, #2a2a2a, #5a2d3a);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 12px rgba(255, 150, 180, 0.35);
  border-color: transparent;
}

.product-card-item .btn-add-to-cart {
  border-radius: 10px;
} */

/* Out of Stock Styles */
.out-of-stock-overlay .product-img {
  position: relative;
}

.out-of-stock-overlay .product-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  border-radius: 15px;
}

.badge-tag.bg-out-of-stock {
  background-color: #333 !important;
  position: absolute;
  color: white;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
  letter-spacing: 0.5px;
}

.btn-notify-me {
  width: 100%;
  padding: 10px;
  background: #000;
  border: 2px solid #000;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-notify-me:hover {
  transform: translateY(-3px);
  background: linear-gradient(177deg, #2a2a2a, #5a2d3a);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 12px rgba(255, 150, 180, 0.35);
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px 35px;
  max-width: 450px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #f0f0f0;
  color: #333;
}

.modal-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #FFB6C1;
  box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: white;
  border: 2px solid #FFA0B0;
  color: #FFA0B0;
  font-weight: 600;
  font-size: 16px;
  border-radius: 10px;
  cursor: not-allowed;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.submit-btn.filled {
  background: #FFA0B0;
  color: white;
  cursor: pointer;
}

.submit-btn.filled:hover {
  background: #FFA0B0;
  transform: scale(1.02);
}

/* Quantity Control Inline */
/* Quantity Control Inline */
.qty-control-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: #fff;
  border: 2px solid #000;
  border-radius: 10px;
  font-weight: 700;
  overflow: hidden;
}

.qty-btn {
  width: 45px;
  height: 45px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 0;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.qty-btn:hover {
  color: #2d2d2d;
}

.qty-value {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
  text-align: center;
  color: #000;
}



/* For sort by dropdown */
/*  Shop bar layout */
.shop-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/*  Wrapper for select + arrow */
.sort-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/*  Select style */
.sort-select {
  padding: 10px 34px 10px 14px;
  /* right padding for ↑↓ */
  font-size: 14px;
  border: none;
  /*  no border */
  outline: none;
  border-radius: 12px;

  background: #fff;
  /*  normal white */
  color: #111;
  cursor: pointer;

  /*  remove default dropdown arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  transition: 0.25s ease;
}

/*  Hover only black */
.sort-select:hover {
  background: #F4D3D9;
  color: #000000;
}

/*  Click / Focus should remain white */
.sort-select:focus {
  background: #fff;
  color: #111;
}

/*  Arrow like screenshot */
.sort-arrow-text {
  position: absolute;
  right: 12px;
  font-size: 14px;
  /* font-weight: 400; */
  color: #111;
  pointer-events: none;
  transition: 0.25s ease;
}

/*  Arrow turns white on hover/focus */
.sort-wrapper:hover .sort-arrow-text,
.sort-select:focus+.sort-arrow-text {
  color: #000000;
}

/*  Mobile center align */
@media (max-width: 767px) {

  .shop-top-bar {
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    text-align: center;
  }

  .shop-top-bar .section-main-title {
    width: 100%;
    text-align: center;
  }

  /*  Make wrapper fixed width and centered */
  .sort-wrapper {
    position: relative;
    width: 200px;
    /*  decrease width */
    margin: 0 auto;
    /*  center */
    display: block;
  }

  /*  Select inside wrapper 100% */
  .sort-select {
    width: 100%;
    padding: 10px 34px 10px 14px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #111;
    text-align: center;
    text-align-last: center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: 0.25s ease;
  }

  /*  Arrow stays inside same box */
  .sort-arrow-text {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #111;
  }

  /*  Hover black only */
  .sort-select:hover {
    background: #000;
    color: #fff;
  }

  /*  Arrow white on hover */
  .sort-wrapper:hover .sort-arrow-text {
    color: #fff;
  }

  @media (max-width: 767px) {

    /*  Select Normal */
    .sort-select {
      background: #fff;
      color: #111;
      transition: 0.25s ease;
    }

    /*  Hover = Pink */
    .sort-select:hover {
      background: #F4D3D9;
      color: #111;
    }

    /*  Click / Focus = Pink */
    .sort-select:focus,
    .sort-select:active {
      background: #ffffff;
      color: #111;
    }

    /*  Arrow always black */
    .sort-arrow-text {
      color: #111 !important;
    }

    /*  Arrow stays black even hover */
    .sort-wrapper:hover .sort-arrow-text {
      color: #111 !important;
    }
  }

  /*  Sort wrapper center */
  .sort-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /*  Select Box Perfect Alignment */
  .sort-select {
    width: 220px;
    height: 42px;
    /*  fixed height */
    line-height: 42px;
    /*  align text vertically */
    padding: 0 38px 0 14px;
    /*  arrow space */
    font-size: 14px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #111;
    cursor: pointer;

    text-align: center;
    /*  center text */
    text-align-last: center;
    /*  important */

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /*  Arrow Alignment */
  .sort-arrow-text {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #111;
    pointer-events: none;
  }

  /*  Hover/Click Color (Pink) */
  .sort-select:hover,
  .sort-select:focus,
  .sort-select:active {
    background: #ffffff;
    color: #111;
    outline: none;
  }

  /*  Mobile center */
  @media (max-width: 767px) {
    .sort-select {
      width: 200px;
      /*  smaller in mobile */
    }
  }

}

.sort-wrapper {
  position: relative;
  display: inline-block;
  width: 250px;
}

.sort-select-custom {
  width: 100%;
  padding: 12px 45px 12px 20px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  appearance: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sort-select-custom:hover {
  border-color: var(--baby-pink);
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
  transform: translateY(-1px);
}

.sort-select-custom:focus {
  outline: none;
  border-color: var(--baby-pink);
  box-shadow: 0 0 0 4px rgba(255, 182, 193, 0.2);
}

.sort-select-custom.active {
  border-color: var(--baby-pink);
  box-shadow: 0 6px 16px rgba(255, 182, 193, 0.4);
}

.sort-arrow-text {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--black);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sort-arrow-text.rotate {
  transform: translateY(-50%) rotate(180deg);
  color: var(--baby-pink);
}

/* Custom Dropdown */
.custom-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid var(--baby-pink);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  max-height: 0;
}

.custom-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  max-height: 300px;
}

.dropdown-option {
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
}

.dropdown-option:hover {
  background: linear-gradient(90deg, rgba(255, 182, 193, 0.15) 0%, rgba(255, 182, 193, 0.05) 100%);
  border-left-color: var(--baby-pink);
  padding-left: 24px;
}

.dropdown-option.selected {
  background: linear-gradient(90deg, rgba(255, 182, 193, 0.25) 0%, rgba(255, 182, 193, 0.1) 100%);
  border-left-color: var(--dark-pink);
  color: var(--dark-pink);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Staggered animation for dropdown items */
.custom-dropdown.show .dropdown-option:nth-child(1) {
  animation-delay: 0.05s;
}

.custom-dropdown.show .dropdown-option:nth-child(2) {
  animation-delay: 0.1s;
}

.custom-dropdown.show .dropdown-option:nth-child(3) {
  animation-delay: 0.15s;
}

.custom-dropdown.show .dropdown-option:nth-child(4) {
  animation-delay: 0.2s;
}

.custom-dropdown.show .dropdown-option:nth-child(5) {
  animation-delay: 0.25s;
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 182, 193, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.shop-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/*  Wrapper for select + arrow */
.sort-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/*  Select style */
.sort-select {
  padding: 10px 34px 10px 14px;
  /* right padding for ↑↓ */
  font-size: 14px;
  border: none;
  /*  no border */
  outline: none;
  border-radius: 12px;

  background: #fff;
  /*  normal white */
  color: #111;
  cursor: pointer;

  /*  remove default dropdown arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  transition: 0.25s ease;
}

/*  Hover only black */
.sort-select:hover {
  background: #F4D3D9;
  color: #000000;
}

/*  Click / Focus should remain white */
.sort-select:focus {
  background: #fff;
  color: #111;
}

/*  Arrow like screenshot */
.sort-arrow-text {
  position: absolute;
  right: 12px;
  font-size: 14px;
  /* font-weight: 400; */
  color: #111;
  pointer-events: none;
  transition: 0.25s ease;
}

/*  Arrow turns white on hover/focus */
.sort-wrapper:hover .sort-arrow-text,
.sort-select:focus+.sort-arrow-text {
  color: #000000;
}

/*  Mobile center align */
@media (max-width: 767px) {

  .shop-top-bar {
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    text-align: center;
  }

  .shop-top-bar .section-main-title {
    width: 100%;
    text-align: center;
  }

  /*  Make wrapper fixed width and centered */
  .sort-wrapper {
    position: relative;
    width: 200px;
    /*  decrease width */
    margin: 0 auto;
    /*  center */
    display: block;
  }

  /*  Select inside wrapper 100% */
  .sort-select {
    width: 100%;
    padding: 10px 34px 10px 14px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #111;
    text-align: center;
    text-align-last: center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: 0.25s ease;
  }

  /*  Arrow stays inside same box */
  .sort-arrow-text {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #111;
  }

  /*  Hover black only */
  .sort-select:hover {
    background: #000;
    color: #fff;
  }

  /*  Arrow white on hover */
  .sort-wrapper:hover .sort-arrow-text {
    color: #fff;
  }

  @media (max-width: 767px) {

    /*  Select Normal */
    .sort-select {
      background: #fff;
      color: #111;
      transition: 0.25s ease;
    }

    /*  Hover = Pink */
    .sort-select:hover {
      background: #F4D3D9;
      color: #111;
    }

    /*  Click / Focus = Pink */
    .sort-select:focus,
    .sort-select:active {
      background: #ffffff;
      color: #111;
    }

    /*  Arrow always black */
    .sort-arrow-text {
      color: #111 !important;
    }

    /*  Arrow stays black even hover */
    .sort-wrapper:hover .sort-arrow-text {
      color: #111 !important;
    }
  }

  /*  Sort wrapper center */
  .sort-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /*  Select Box Perfect Alignment */
  .sort-select {
    width: 220px;
    height: 42px;
    /*  fixed height */
    line-height: 42px;
    /*  align text vertically */
    padding: 0 38px 0 14px;
    /*  arrow space */
    font-size: 14px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: #111;
    cursor: pointer;

    text-align: center;
    /*  center text */
    text-align-last: center;
    /*  important */

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  /*  Arrow Alignment */
  .sort-arrow-text {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #111;
    pointer-events: none;
  }

  /*  Hover/Click Color (Pink) */
  .sort-select:hover,
  .sort-select:focus,
  .sort-select:active {
    background: #ffffff;
    color: #111;
    outline: none;
  }

  /*  Mobile center */
  @media (max-width: 767px) {
    .sort-select {
      width: 200px;
      /*  smaller in mobile */
    }
  }

}

.sort-wrapper {
  position: relative;
  display: inline-block;
  width: 250px;
}

.sort-select-custom {
  width: 100%;
  padding: 12px 45px 12px 20px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  appearance: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sort-select-custom:hover {
  border-color: var(--baby-pink);
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
  transform: translateY(-1px);
}

.sort-select-custom:focus {
  outline: none;
  border-color: var(--baby-pink);
  box-shadow: 0 0 0 4px rgba(255, 182, 193, 0.2);
}

.sort-select-custom.active {
  border-color: var(--baby-pink);
  box-shadow: 0 6px 16px rgba(255, 182, 193, 0.4);
}

.sort-arrow-text {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--black);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sort-arrow-text.rotate {
  transform: translateY(-50%) rotate(180deg);
  color: var(--baby-pink);
}

/* Custom Dropdown */
.custom-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid var(--baby-pink);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  max-height: 0;
}

.custom-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  max-height: 300px;
}

.dropdown-option {
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
}

.dropdown-option:hover {
  background: linear-gradient(90deg, rgba(255, 182, 193, 0.15) 0%, rgba(255, 182, 193, 0.05) 100%);
  border-left-color: var(--baby-pink);
  padding-left: 24px;
}

.dropdown-option.selected {
  background: linear-gradient(90deg, rgba(255, 182, 193, 0.25) 0%, rgba(255, 182, 193, 0.1) 100%);
  border-left-color: var(--dark-pink);
  color: var(--dark-pink);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Staggered animation for dropdown items */
.custom-dropdown.show .dropdown-option:nth-child(1) {
  animation-delay: 0.05s;
}

.custom-dropdown.show .dropdown-option:nth-child(2) {
  animation-delay: 0.1s;
}

.custom-dropdown.show .dropdown-option:nth-child(3) {
  animation-delay: 0.15s;
}

.custom-dropdown.show .dropdown-option:nth-child(4) {
  animation-delay: 0.2s;
}

.custom-dropdown.show .dropdown-option:nth-child(5) {
  animation-delay: 0.25s;
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 182, 193, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}


.product-details {
  padding: 40px 15px;
}

.product-card-item {
  border-radius: 20px !important;
  box-shadow: 2px 5px 20px -5px rgba(0, 0, 0, 0.2);
}

.badge-tag {
  top: 7px !important;
  left: 13px !important;
  border-radius: 6px !important;
}

/* Header */
.flash-sale-header {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.flash-sale-header::before,
.flash-sale-header::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 50%;
}

.flash-sale-header::before {
  top: -100px;
  left: -100px;
}

.flash-sale-header::after {
  bottom: -100px;
  right: -100px;
}

.sale-title {
  font-size: 36px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.sale-subtitle {
  font-size: 20px;
  color: #d32f2f;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Timer Section */
.timer-section {
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

.timer-label {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.time-unit {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.time-value {
  font-size: 18px;
  font-weight: bold;
  color: #000000;
  line-height: 1;
}

.time-label {
  font-size: 9px;
  color: #666;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Discount Banner */
.discount-banner {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: #ffffff;
  padding: 18px;
  text-align: center;
  margin: 25px auto;
  max-width: 300px;
  max-height: fit-content;
  border-radius: 20px;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1040;
  display: none;
}

.cart-overlay.active {
  display: block;
}

/* Header */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #000;
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #fff;
}

.cart-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.cart-close:hover {
  color: #FFC0CB;
}

/* Progress Bar */
.shipping-progress {
  padding: 24px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}

.progress-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.progress-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  flex: 0 0 auto;
}

.milestone-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e0e0;
  border: 4px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: bold;
  margin-bottom: 8px;
}

.progress-milestone.active .milestone-circle {
  background: #FFC0CB;
}

.milestone-label {
  text-align: center;
}

.milestone-amount {
  font-size: 12px;
  font-weight: 600;
  color: #000;
}

.milestone-status {
  font-size: 10px;
  color: #0a0a0a;
  font-weight: 500;
}

.progress-milestone:not(.active) .milestone-status {
  color: #999;
}

.progress-line {
  position: absolute;
  top: 16px;
  height: 3px;
  background: #e0e0e0;
  z-index: 1;
}

.progress-line.line-1 {
  left: 15%;
  width: 20%;
}

.progress-line.line-2 {
  left: 50%;
  width: 20%;
}

.progress-line.active {
  background: #FFC0CB;
}

/* Cart Body */
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  background: #fafafa;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0f0f0;
}

.cart-item-image-placeholder {
  width: 40px;
  height: 40px;
  background: #e0e0e0;
  border-radius: 4px;
}

.cart-details {
  flex: 1;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  margin: 0 0 4px 0;
}

.cart-item-variant {
  font-size: 12px;
  color: #666;
  margin: 0 0 12px 0;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  background: white;
  border: none;
  padding: 2px 4px;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #FFC0CB;
  color: white;
}

.qty-value {
  padding: 6px 12px;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  font-size: 14px;
  min-width: 40px;
  text-align: center;
  color: #000;
}

.item-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-price del {
  font-size: 12px;
  color: #999;
}

.item-price-current {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.remove-item {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  transition: color 0.2s;
}

.remove-item:hover {
  color: #000;
}

/* Offers Section */
.offers-section,
.best-offers {
  margin-bottom: 20px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0 0 12px 0;
}

.coupons-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff0f5;
  border-radius: 8px;
  font-size: 13px;
  border: 1px solid #FFC0CB;
}

.coupon-count {
  margin-left: auto;
  color: #000;
  font-weight: 500;
}

/* Offers Carousel */
.offers-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.offers-carousel::-webkit-scrollbar {
  height: 4px;
}

.offers-carousel::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 4px;
}

.offer-card {
  flex: 0 0 160px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 12px;
  position: relative;
  background: #fafafa;
}

.offer-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #000;
  color: white;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 1;
}

.offer-image {
  width: 100%;
  height: 96px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0f0f0;
}

.offer-image.pink {
  background: #fff0f5;
}

.offer-image-placeholder {
  width: 64px;
  height: 64px;
  background: #e0e0e0;
  border-radius: 4px;
}

.offer-image-placeholder.pink {
  background: #FFC0CB;
}

.offer-title {
  font-size: 11px;
  color: #000;
  margin: 0 0 8px 0;
  line-height: 1.3;
  height: 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.offer-price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.offer-price del {
  font-size: 10px;
  color: #999;
}

.offer-price-current {
  font-size: 12px;
  font-weight: 600;
  color: #000;
}

.add-btn {
  width: 100%;
  padding: 6px;
  border: 1px solid #000;
  background: white;
  color: #000;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.add-btn:hover {
  background: #000;
  color: white;
}

.carousel-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
  background: #FFC0CB;
  color: white;
  border-color: #FFC0CB;
}

/* Newsletter */
.newsletter-opt {
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-opt input[type="checkbox"] {
  accent-color: #FFC0CB;
  width: 16px;
  height: 16px;
}

.newsletter-opt label {
  font-size: 12px;
  color: #666;
  margin: 0;
  cursor: pointer;
}

/* Cart Footer */
.cart-footer {
  border-top: 1px solid #f0f0f0;
  padding: 20px;
  background: white;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.total-section {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.total-amount {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.estimated-text {
  font-size: 12px;
  color: #999;
}

.checkout-btn {
  flex: 1;
  padding: 16px 24px;
  background: #000;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: 12px;
}

.checkout-btn:hover {
  background: #FFC0CB;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 192, 203, 0.4);
}

.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #999;
  margin-top: 12px;
}

/* Open Cart Button */
.open-cart-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 24px;
  background: black;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.2s;
}

.open-cart-btn:hover {
  background: #1f2937;
}

#card_list .product-card-item {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  min-height: unset !important;
  display: flex !important;
  flex-direction: column !important;
  padding-bottom: 0 !important;
}

#card_list .product-card-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(255, 255, 255, 0) 70%,
      transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
}

#card_list .product-card-item:hover::after {
  animation: cardShine 0.6s ease forwards;
}

@keyframes cardShine {
  0% {
    left: -100%;
  }

  100% {
    left: 160%;
  }
}

#card_list .product-card-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

#card_list .product-card-item .product-img {
  width: calc(100% - 40px) !important;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 47px auto 0 auto !important;
  /* increased top margin to clear badge */
  object-fit: cover;
  object-position: center;
  background: #ffffff;
  display: block;
  position: static !important;
  flex-shrink: 0;
  border-radius: 12px !important;
  clip-path: inset(0 round 12px) !important;
  transition: transform 0.3s ease;
}

#card_list .product-card-item:hover .product-img {
  transform: scale(1.03);
}

/* Badge styling */
#card_list .product-card-item .badge,
#card_list .product-card-item [class*="stock"],
#card_list .product-card-item [class*="label"],
#card_list .product-card-item [class*="tag"],
#card_list .product-card-item [class*="badge"]:not(.discount-badge) {
  display: inline-block !important;
  width: auto !important;
  position: absolute !important;
  top: 12px !important;
  left: 20px !important;
  z-index: 10;
}

.container.pb-5.mt-5 {
  background: none;
  border-radius: 20px;
  padding: 20px !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.container.pb-5.mt-5 #card_list {
  background: linear-gradient(to right, #f9c0d0 0%, #f6d2de 40%, #f4d9e1 70%, #fffefe 100%);
  border-radius: 20px;
  padding: 20px;
  padding: 5px 20px 40px 15px;
}

.container.mt-4.mb-2 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 15px !important;
  padding-bottom: 24px !important;
}

.breadcrumb {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

.d-flex.align-items-center.justify-content-between {
  margin-bottom: 0 !important;
}

.sort-select-custom {
  height: 45px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 0px 0px 14px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  min-width: 180px !important;
}

.sort-arrow-text {
  font-size: 20px !important;
}

/* ── Large desktop: 4 cards (1400px+) ── */
@media (min-width: 1400px) {
  #card_list .product-card-item {
    flex: 0 0 calc(25% - 12px) !important;
    max-width: 100% !important;
    margin: 6px !important;
    gap: 8px !important;
  }
}

/* ── Tablet + small desktop (768px–1399px): 3 cards ALWAYS ── */
@media (min-width: 983px) and (max-width: 1250px) {
  #card_list .product-card-item {
    flex: 0 0 calc(33.333% - 12px) !important;
    max-width: 100% !important;
    margin: 6px !important;
    padding: 4px !important;
    overflow: hidden !important;
  }

  #card_list .product-card-item .product-img {
    margin-top: 44px !important;
    clip-path: none !important;
    /* remove clip on this breakpoint */
    border-radius: 12px !important;
  }

  #card_list .product-card-item p,
  #card_list .product-card-item small,
  #card_list .product-card-item [class*="desc"] {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 11px !important;
  }
}

/* ── Mobile (under 768px): compact 2-card layout ── */
@media (max-width: 982px) {

  .container.pb-5.mt-5 #card_list {
    padding: 8px 6px !important;
    border-radius: 14px !important;
  }

  #card_list.row {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    margin: 0 !important;
    justify-content: flex-start !important;
  }

  #card_list>[class*="col-"] {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 12px !important;
  }

  /* Universal product card mobile styling will handle the rest */
}

@media (max-width: 475px) {
  #card_list>[class*="col-"] {
    padding: 8px !important;
  }
}

@media (max-width: 375px) {
  #card_list>[class*="col-"] {
    padding: 4px !important;
  }
}

/* Extra-small phones: keep 2 cards but shrink image slightly */
@media (max-width: 380px) {

  /* #card_list .product-title {
    font-size: 11px !important;
  } */

  #card_list .product-price {
    font-size: 12px !important;
  }
}

@media (max-width: 768px) {
  .category-bg {
    background-color: #c0576a;
    min-height: 140px !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 10px 0 !important;
  }

  .category-banner.category-bg h1 {
    font-size: 22px !important;
  }

  .category-banner.category-bg p {
    font-size: 13px !important;
  }
}

/* ── Hero slider banner fix ── */
.hero-slider-container {
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
  /* prevents gray sides */
}

.nivioma-swiper,
.swiper-wrapper,
.swiper-slide {
  width: 100% !important;
  background-color: #ffffff;
}

.hero-main-img {
  width: 100% !important;
  max-width: 100% !important;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .hero-main-img {
    height: 140px;
  }
}


#card_list .product-details {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  margin-top: -30px !important;
}

#card_list .btn-add-to-cart,
#card_list .btn-notify-me {
  margin-bottom: 16px !important;
}

#card_list .product-meta-area {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* ── Filter bar row: tabs scroll left, sort pinned right ── */
.filter-bar-row {
  flex-wrap: nowrap;
  overflow: visible;
}

.filter-tabs-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.filter-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.filter-tabs-scroll .shop-tabs {
  flex-wrap: nowrap;
  display: flex;
  gap: 10px;
  overflow-x: visible !important;
}

.filter-tabs-scroll .shop-tabs .cate {
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-tabs-scroll .shop-tabs .cate:last-child {
  margin-right: 16px;
}
.filter-tabs-scroll .shop-tabs .cate:first-child {
  margin-left: 4px;
}

/* ── Below 920 px: stack filter and sort vertically ── */
@media (max-width: 768px) {
  .filter-bar-row {
    flex-direction: column;
    align-items: stretch !important;
    overflow: visible;
  }

  .filter-tabs-scroll {
    width: 100%;
  }

  .filter-bar-row .sort-wrapper {
    align-self: flex-start;
  }
}

.shop-tabs .cate {
  padding: 7px 18px;
  border: 1.5px solid #ccc;
  background: transparent;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  transition: border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  white-space: nowrap;
}

.shop-tabs .cate:hover {
  background: transparent;
  border-color: var(--dark-pink);
  color: var(--dark-pink);
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(255, 143, 163, 0.22);
}

.shop-tabs .cate.active {
  background: var(--dark-pink);
  border-color: var(--dark-pink);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(255, 143, 163, 0.35);
}

.shop-tabs .cate:active {
  transform: scale(0.97);
}

.shop-top-bar.d-flex {
  margin-bottom: 20px !important;
  /*  gap below heading+sort */
}

.container.pb-5.mt-5 {
  margin-top: 20px !important;
  /*  gap above pink bg */
}

@media (max-width: 768px) {
  .shop-header {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px;
    margin-bottom: 20px !important;
  }

  .section-main-title {
    width: 100%;
    text-align: center !important;
  }

  .sort-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 5px !important;
    /* space between sort by and pink bg */
  }

  .sort-select-custom {
    flex: 1;
  }

  #card_list .product-card-item {
    margin: 0 auto !important;
    width: 100% !important;
  }

  #card_list {
    justify-content: center !important;
  }
}

.all-products-page .container-fluid {
  padding-left: 20px !important;
  padding-bottom: 40px !important;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-btn {
  padding: 6px 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.page-btn.active-page {
  background: #000;
  color: #fff;
}

.fs-hero {
  background: #fff;
  color: #2b2b2b;
  padding: 40px 16px 30px;
  text-align: center;
}

.fs-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.fs-hurry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 8px;
  color: #ed1c24;
  font-size: clamp(34px, 5.5vw, 54px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.5px;
}

.fs-hurry-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.fs-hurry-bars span {
  display: block;
  width: clamp(28px, 4vw, 44px);
  height: 4px;
  background: #ed1c24;
  border-radius: 2px;
}

.fs-expire-sub {
  color: #6b6b6b;
  font-size: clamp(14px, 1.6vw, 17px);
  margin: 6px 0 26px;
  font-weight: 500;
}

/* Coupon chip above the rings — kept compact */
.fs-coupon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px dashed #c8b984;
  border-radius: 12px;
  padding: 8px 12px 8px 14px;
  margin: 0 0 18px;
}

.fs-coupon-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #888;
  text-transform: uppercase;
}

.fs-coupon-code {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #2b2b2b;
  font-family: monospace;
}

.fs-coupon-copy {
  background: #2b2b2b;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.fs-coupon-copy:hover {
  transform: translateY(-1px);
  background: #000;
}

/* ===== Circular countdown rings ===== */
.fs-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  flex-wrap: wrap;
  margin-top: 8px;
}

.fs-time-ring {
  position: relative;
  width: clamp(74px, 9vw, 100px);
  aspect-ratio: 1;
}

.fs-time-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  /* start arc at 12 o'clock */
  overflow: visible;
}

.fs-time-ring .ring-track {
  fill: none;
  stroke: #e6ecf0;
  stroke-width: 2.5;
}

.fs-time-ring .ring-progress {
  fill: none;
  stroke: #3aa0e8;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.4s ease;
}

.fs-time-ring .ring-dot {
  fill: #3aa0e8;
}

.fs-time-ring.is-active .ring-progress {
  stroke-width: 3.5;
}

.fs-time-ring.is-active .ring-track {
  stroke: #cfe6f6;
}

.fs-time-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.fs-time-num {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  color: #2b2b2b;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.fs-time-lbl {
  font-size: clamp(10px, 1.1vw, 12px);
  color: #9a9a9a;
  margin-top: 4px;
  letter-spacing: 0.4px;
}

.fs-ended {
  margin-top: 18px;
  color: #ed1c24;
  font-weight: 700;
}

/* ===== Urgency strip (kept simple, matches the cleaner palette) ===== */
.fs-strip {
  background: linear-gradient(90deg, #ed1c24, #ff6b3d, #ed1c24);
  background-size: 200% 100%;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.4px;
  font-size: 12px;
  padding: 9px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  animation: fs-strip-slide 9s linear infinite;
}

.fs-strip-track {
  display: inline-flex;
  gap: 36px;
  white-space: nowrap;
  animation: fs-strip-marquee 22s linear infinite;
}

.fs-strip-track i {
  color: #ffce00;
  margin-right: 6px;
}

@keyframes fs-strip-slide {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes fs-strip-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .fs-hero {
    padding: 30px 12px 22px;
  }

  .fs-hurry {
    gap: 10px;
  }

  .fs-countdown {
    gap: 12px;
  }
}

/* === BESTSELLER CAROUSEL === */
.bestseller-section {
  padding: 30px 0 10px;
}

.bestseller-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.bestseller-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: 0.3px;
}

.bestseller-tag {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #dd8688;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.bs-carousel {
  position: relative;
}

.bs-track-wrap {
  overflow: hidden;
}

.bs-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(.22, .61, .36, 1);
}

.bs-track>.bs-card {
  flex: 0 0 calc((100% / 4) - 12px);
  /* max-width: calc((100% / 4) - 12px); */
}

@media (max-width: 992px) {
  .bs-track>.bs-card {
    flex: 0 0 calc((100% / 3) - 11px);
    /* max-width: calc((100% / 3) - 11px); */
  }
}

@media (max-width: 768px) {
  .bs-track>.bs-card {
    flex: 0 0 calc((100% / 2) - 8px);
    max-width: calc((100% / 2) - 8px);
  }
}

@media (max-width: 480px) {
  .bs-track>.bs-card {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

.bs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  color: #333;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bs-arrow:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.bs-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bs-prev {
  left: -10px;
}

.bs-next {
  right: -10px;
}


/* flash sales swiper style */
.fs-bottom-banner {
  padding-top: 20px;
}

.fs-bottom-swiper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.fs-bottom-swiper .swiper-button-prev,
.fs-bottom-swiper .swiper-button-next {
  color: #fff;
  background: rgba(0, 0, 0, .35);
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.fs-bottom-swiper .swiper-button-prev::after,
.fs-bottom-swiper .swiper-button-next::after {
  font-size: 16px;
}

.fs-bottom-pagination {
  bottom: 12px !important;
}

.fs-bottom-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

/* wishlist close button */
.wl-remove-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  color: #e63946;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.wl-remove-btn:hover {
  background: #fff;
  transform: scale(1.05);
}

.product-card-item {
  position: relative;
}

/* === BESTSELLER LAZY-LOAD SKELETON CARD === */
.bs-loading-card {
  flex-shrink: 0;
  min-width: 280px;
  display: none;
}

.bs-skeleton {
  background: #fff;
  border-radius: 20px;
  box-shadow: 2px 5px 20px -5px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bs-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: bsShimmer 1.5s infinite linear;
}

@keyframes bsShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.bs-sk-img {
  width: 100%;
  height: 200px;
}

.bs-sk-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.bs-sk-line {
  height: 12px;
  border-radius: 4px;
}

.bs-sk-line.w75 { width: 75%; }
.bs-sk-line.w55 { width: 55%; }
.bs-sk-line.w40 { width: 40%; }

.bs-sk-btn {
  height: 40px;
  border-radius: 10px;
  margin-top: auto;
}

.wishlist-page {
  margin-bottom: 15px;
  margin-top: 15px;
}

/* empty state */
.wl-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  padding: 80px 20px;
  color: #aaa;
}

.wl-empty svg {
  margin-bottom: 20px;
}

.wl-empty h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.wl-empty p {
  font-size: 13px;
  margin-bottom: 24px;
}

.wl-empty-btn {
  display: inline-block;
  padding: 11px 32px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s;
}

.wl-empty-btn:hover {
  background: #333;
  color: #fff;
}

/* ── Filter tab scroll arrow buttons ── */
.filter-tabs-with-arrows {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  position: relative;
  z-index: 90;
}

.filter-tabs-with-arrows .filter-tabs-scroll {
  order: 0;
  flex: 0 0 100%;
}

.tab-scroll-btn {
  order: 1;
  width: 34px;
  height: 34px;
  border: 1.5px solid #ccc;
  background: transparent;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: #444;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
  padding: 0;
  touch-action: manipulation;
  position: relative;
  z-index: 99 !important;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.tab-scroll-btn:hover {
  background: transparent;
  border-color: var(--dark-pink);
  color: var(--dark-pink);
  box-shadow: 0 2px 10px rgba(255, 143, 163, 0.22);
}

@media (min-width: 768px) {
  .sort-wrapper-margin {
    margin-top: -25px;
  }
}

@media (max-width: 768px) {
  .filter-tabs-with-arrows {
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    width: 100%;
  }

  .filter-tabs-with-arrows .filter-tabs-scroll {
    order: 1;
    flex: 1;
    width: auto;
  }

  .filter-tabs-with-arrows .tab-scroll-left {
    order: 0;
    flex-shrink: 0;
  }

  .filter-tabs-with-arrows .tab-scroll-right {
    order: 2;
    flex-shrink: 0;
  }
}