@import './styles-mobile.css';

#header-pc {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  width: 87.5rem;
  border-radius: 1rem;
  height: 4rem;

  /* bỏ border cũ */
  border: none;

  margin: 0 auto;

  /* cần để pseudo-element bám theo */
  position: fixed;
  font-family: 'SVN-Gilroy';
  overflow: visible;
}

#header-pc .header__backdrop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

#header-pc::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 1rem;
  /* độ dày border */
  border-radius: inherit;

  /* gradient đúng kiểu stops của Figma */
  background: linear-gradient(150deg, rgba(255, 254, 254, 1) 0%, rgba(255, 255, 255, 0.6) 100%);

  /* khoét phần giữa để chỉ còn viền */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  pointer-events: none;
  opacity: 0.2;
  z-index: 0;
}

#header-pc::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 14.625rem;
  height: 100%;
  border-radius: 1rem 0 2.25rem 1rem;
  background: linear-gradient(90deg, rgba(38, 38, 38, 0.45) -3.63%, rgba(102, 102, 102, 0) 85.04%);
  z-index: 1;
}

#header-pc .header__logo {
  width: 11.25rem;
  height: 2.4375rem;
  object-fit: contain;
  /* height: 100%;
  width: auto; */
}

#header-pc .header__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 1rem;
}

#header-pc .header__brand {
  display: flex;
  align-items: center;
  margin-right: 8.75rem;
}

#header-pc .header__nav {
  height: 100%;
  display: flex;
  align-items: center;
}

#header-pc .header__menu {
  height: 100%;
  list-style: none;
  display: flex;
  align-items: center;
}

#header-pc .header__menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Let category dropdown anchor to header, not the menu item */
#header-pc .header__menu-item--category {
  position: static;
}

#header-pc .header__menu-link {
  color: var(--Color-Text-Title-White, #fff);
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  transition: opacity 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
}

#header-pc .header__menu-link:hover {
  border-radius: 62.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.75rem;
}

#header-pc .header__menu-link--arrow {
  gap: 0.5rem;
}

#header-pc .header__menu-link-icon {
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(0.1rem);
  transition: transform 0.25s ease;
}

#header-pc .header__menu-item--mega:hover .header__menu-link-icon,
#header-pc .header__menu-item--category:hover .header__menu-link-icon {
  transform: translateY(0.1rem) rotate(180deg);
}

#header-pc .header__dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 16.5rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(60px);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

#header-pc .header__dropdown--mega {
  padding: 0;
  min-width: 12.5rem;
  border-radius: 0.375rem;
}

/* Bridge hover gap so dropdown doesn't flicker */
#header-pc .header__dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1.125rem;
  height: 1.125rem;
}

/* Category mega dropdown (3 columns) */
#header-pc .header__dropdown--category {
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  padding: 1.25rem;
  top: calc(100% + 0.675rem);
}

#header-pc .header__catmenu {
  display: flex;
  gap: 1.5rem;
}

#header-pc .header__catcol {
  overflow: hidden;
}

#header-pc .header__catcol--parents {
  min-width: 16.8125rem;
}

#header-pc .header__catcol--children {
  min-width: 14.5625rem;
}

/* Vertical dividers like design (pseudo-element) */
#header-pc .header__catcol--parents,
#header-pc .header__catcol--children {
  position: relative;
  padding-right: 1.5rem;
}

#header-pc .header__catcol--parents::after,
#header-pc .header__catcol--children::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 0.05rem;
  background: linear-gradient(180deg,
      rgba(153, 153, 153, 0) 0%,
      #fff 50%,
      rgba(153, 153, 153, 0) 100%);
  pointer-events: none;
}

#header-pc .header__catmenu.is-no-children .header__catcol--parents::after {
  content: none;
}

#header-pc .header__catcol--products {
  flex: 1 1 auto;
  min-width: 0;
}

/* If active parent has no children: hide children column */
#header-pc .header__catmenu.is-no-children .header__catcol--children {
  display: none;
}

/* Chỉ hiển thị panel con của parent đang hover/active */
#header-pc .header__catpanel {
  display: none;
}

#header-pc .header__catpanel.is-active {
  display: block;
}

#header-pc .header__catcol--products {
  background: transparent;
  border: none;
  overflow: visible;
}

#header-pc .header__catlist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#header-pc .header__catlink {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem;
  border-radius: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: SVN-Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  height: 2.8125rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#header-pc .header__catlink:hover,
#header-pc .header__catlink.is-active {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

#header-pc .header__catlink-arrow {
  width: 1rem;
  height: 1rem;
}

#header-pc .header__dropdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

#header-pc .header__dropdown-link {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  padding: 0.875rem;
}

/* Mega dropdown: keep column layout but add horizontal divider between items */
#header-pc .header__dropdown--mega .header__dropdown-item {
  position: relative;
}

#header-pc .header__dropdown--mega .header__dropdown-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.1rem;
  transform: scaleY(0.5);
  transform-origin: bottom;
  background: linear-gradient(90deg,
      rgba(153, 153, 153, 0) 0%,
      #fff 50%,
      rgba(153, 153, 153, 0) 100%);
  pointer-events: none;
}

/* Hover dropdown for category + mega */
#header-pc .header__menu-item--category:hover>.header__dropdown,
#header-pc .header__menu-item--mega:hover>.header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#header-pc .header__right {
  padding-left: 1.125rem;
  display: flex;
  align-items: center;
  height: 100%;
}

#header-pc .header__right-search {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 1.125rem;
}

#header-pc .header__right-search svg {
  width: 100%;
  height: 100%;
}

#header-pc .header__right-cart {
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

#header-pc .header__right-cart svg {
  width: 100%;
  height: 100%;
}

#header-pc .header__right-cart-count {
  display: flex;
  width: 1.1875rem;
  height: 1.1875rem;
  padding: 0.0625rem 0.625rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -0.71875rem;
  right: -0.5625rem;
  border-radius: 2.6875rem;
  background: #ff6a3d;
  color: var(--white, #fff);
  font-family: SVN-Gilroy;
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 700;
  /*line-height: normal;*/
}

#header-pc .header__right-languages {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 0.25rem;
}

#header-pc .header__right-languages-icon {
  width: 1.25rem;
  height: 1.25rem;
}

#header-pc .header__right-languages-text {
  color: var(--Color-Text-Title-White, #fff);

  /* PC/Body text/14/14-MD-120 */
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}

#header-pc .header__right-languages-icon-arrow {
  width: 1rem;
  height: 1rem;
  transform: translateY(0.1rem);
}

/* Language dropdown */
#header-pc .header__lang {
  position: relative;
  height: 100%;
  margin-left: 2.06rem;
}

#header-pc .header__lang-dropdown {
  position: absolute;
  left: -2.06rem;
  top: calc(100% + 0.75rem);
  width: 12.5rem;
  border-radius: 0.375rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(60px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  /*overflow: hidden;*/
}

#header-pc .header__lang-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1.125rem;
  height: 1.125rem;
}

#header-pc .header__lang:hover .header__lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#header-pc .header__lang-option {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.875rem;
  text-decoration: none;
  gap: 0.5rem;
}

#header-pc .header__lang-option:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.1rem;
  transform: scaleY(0.5);
  transform-origin: bottom;
  background: linear-gradient(90deg, rgba(153, 153, 153, 0) 0%, #fff 50%, rgba(153, 153, 153, 0) 100%);
  pointer-events: none;
}

#header-pc .header__lang-label {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

#header-pc .header__lang-flag {
  display: flex;
  align-items: center;
}

#header-pc .header__lang-flag img,
#header-pc .header__lang-flag svg {
  width: 1.25rem;
  height: 0.90906rem;
  overflow: hidden;
}

#header-pc .header__lang-radio {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#header-pc .header__lang-radio-inner {
  width: 0.70313rem;
  height: 0.70313rem;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

#header-pc .header__lang-option.is-active .header__lang-radio-inner {
  background: #fff;
}

#header-pc .header__login {
  display: flex;
  padding: 0.625rem 1.25rem;
  justify-content: center;
  align-items: end;
  gap: 0.375rem;
  height: 2.25rem;
  border-radius: 62.5rem;
  background: var(--Color-Buttons-Buttons-color,
      linear-gradient(92deg, #09b8b3 3.04%, #4dcbdf 99%));
  margin-left: 1.125rem;
  transition: opacity 0.3s ease;
}

#header-pc .header__login:hover {
  opacity: 0.8;
}

#header-pc .header__login svg {
  width: 1rem;
  height: 1rem;
}

#header-pc .header__login p {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* Account dropdown (logged-in) */
#header-pc .header__account {
  position: relative;
  margin-left: 1.125rem;
  position: relative;
  margin-left: 1.125rem;
  height: 100%;
  display: flex;
  align-items: center;
}

#header-pc .header__account-btn {
  display: flex;
  padding: 0.625rem 1.25rem;
  justify-content: center;
  gap:0.5rem;
  align-items: center;
  border-radius: 62.5rem;
  background: var(--Color-Buttons-Buttons-color,
      linear-gradient(92deg, #09b8b3 3.04%, #4dcbdf 99%));
  cursor: pointer;
  transition: opacity 0.3s ease;
}

#header-pc .header__account-btn:hover {
  opacity: 0.8;
}

#header-pc .header__account-btn-text {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

#header-pc .header__account-btn-arrow {
  width: 1rem;
  height: 1rem;
  margin-left: 0.375rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

#header-pc .header__account:hover .header__account-btn-arrow {
  transform: rotate(180deg);
}

#header-pc .header__account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: 16.625rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

#header-pc .header__account-dropdown::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 100%;
  height: 1.125rem;
}

#header-pc .header__account:hover .header__account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#header-pc .header__account-info {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border-radius: 0.75rem;
}

#header-pc .header__account-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

#header-pc .header__account-avatar img {
  position: static !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

#header-pc .header__account-name {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-left: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#header-pc .header__account-menu {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3.75rem);
  -webkit-backdrop-filter: blur(3.75rem);
  border-radius: 0.75rem;
  padding: 0.5rem;
  margin-top: 0.25rem;
}

#header-pc .header__account-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  border-radius: 0.375rem;
  transition: background 0.2s ease;
  text-decoration: none;
}

#header-pc .header__account-menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

#header-pc .header__account-menu-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(144deg) brightness(113%) contrast(115%);
}

.header__account-menu-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
}

#header-pc .header__account-menu-item:last-child .header__account-menu-divider {
  display: none;
}

#header-pc .header__account-menu-text {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin-left: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/* Header cart sheet                                                          */
/* -------------------------------------------------------------------------- */

.header-cart {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  pointer-events: none;
  font-family: 'SVN-Gilroy';
  transition: visibility 0s linear 0.25s;
}

html.is-cart-open .header-cart {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.header-cart__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.header-cart__sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: 31.875rem;
  max-width: 100%;
  height: 100%;
  background: #ffffff;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
}

html.is-cart-open .header-cart__backdrop {
  opacity: 1;
}

html.is-cart-open .header-cart__sheet {
  transform: translateX(0);
}

.header-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-cart__title {
  color: #000;
  font-family: SVN-Gilroy;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.header-cart__close {
  width: 1.5rem;
  height: 1.5rem;
}

.header-cart__close svg {
  width: 100%;
  height: 100%;
}

.header-cart__body {
  flex: 1 1 auto;
  overflow: auto;
  margin-top: 1rem;
  -ms-overflow-style: none;
  /* IE, Edge */
  scrollbar-width: none;
  /* Firefox */
  padding-bottom: 8.1875rem;
}

.header-cart__body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.header-cart__empty {
  margin: 0;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: #555;
}

.header-cart__total-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #efefef;
  box-shadow: -3px 2px 20px 0 rgba(0, 0, 0, 0.04);
  margin-bottom: 0.625rem;
}

.header-cart__total-product p {
  color: var(--Color-Text-Body-Black-60, rgba(66, 66, 66, 0.6));
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

.header-cart__total-product span {
  color: var(--Color-Text-Body-Black-100, #424242);
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}

.header-cart__select-all label {
  color: var(--text-body-75, rgba(46, 46, 46, 0.75));
  text-align: justify;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 0.01563rem;
}

.header-cart__select-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.heder-cart__select-all--mobile {
  display: none;
}

input[type='checkbox'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.375rem;
  outline: 1px solid #ccc;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition:
    outline 0.2s ease,
    background 0.2s ease;
}

input[type='checkbox']:checked {
  outline: none;
  background: linear-gradient(92deg, #09b8b3 3.04%, #4dcbdf 99%);
}

input[type='checkbox']:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.625rem;
  height: 0.5rem;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M2.72125 7.06581L0.283555 4.61426C0.101844 4.42964 0 4.18107 0 3.92203C0 3.66299 0.101844 3.41441 0.283555 3.22979C0.373852 3.1389 0.481236 3.06661 0.599524 3.01739C0.717811 2.96817 0.844662 2.94283 0.972783 2.94283C1.1009 2.94283 1.22776 2.96817 1.34605 3.01739C1.46434 3.06661 1.57172 3.1389 1.66202 3.22979L3.40971 4.98892L8.08355 0.287335C8.17375 0.196258 8.28109 0.124085 8.39939 0.0747446C8.5177 0.0254042 8.64461 0 8.77279 0C8.90097 0 9.02787 0.0254042 9.14617 0.0747446C9.26447 0.124085 9.37182 0.196258 9.46202 0.287335C9.64447 0.47156 9.74681 0.720473 9.74681 0.979755C9.74681 1.23904 9.64447 1.48776 9.46202 1.67199L4.09971 7.06825C4.0094 7.15926 3.90196 7.23136 3.7836 7.28065C3.66525 7.32994 3.53831 7.35539 3.41009 7.35539C3.28188 7.35539 3.15493 7.32994 3.03658 7.28065C2.91822 7.23136 2.81079 7.15926 2.72048 7.06825L2.72125 7.06581Z' fill='white'/%3E%3C/svg%3E") no-repeat center / contain;
}

.header-cart__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: #fff;
  box-shadow: 0 -4px 10px 0 rgba(0, 0, 0, 0.06);
}

.header-cart__footer-summary {
  display: none;
}

.header-cart__buy-more {
  display: flex;
  height: 2.375rem;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 0.625rem;
  border-radius: 0.5rem;
  border: 1px solid var(--greyscaletext-5, #ececec);
  background: linear-gradient(90deg, rgba(8, 163, 159, 0.47) var(--progress, 75.79%), #f2faf9 calc(var(--progress, 75.79%) + 0.42%));
  overflow: hidden;
}

.header-cart__buy-more p {
  position: relative;
  color: var(--greyscaletext-60, #3f3f3f);
  text-align: right;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  z-index: 5;
}

.header-cart__buy-more strong {
  color: var(--greyscaletext-60, #3f3f3f);
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.header-cart__buy-more::before {
  content: none;
}

.header-cart-product-gift {
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
}

.header-card-product-gift-content {
  padding: 0.75rem;
  border: 1px solid var(--Color-Stroke-01, rgba(0, 0, 0, 0.1));
  border-radius: inherit;
}

.header-cart-product-gift:not(:last-child) {
  margin-bottom: 0.875rem;
}

.header-cart-product-gift-img {
  width: 5.8125rem;
  height: 5.75rem;
  background-color: #d0dbdb;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.header-cart-product-gift-img img {
  width: 4.55331rem;
  height: 4.40688rem;
  object-fit: cover;
}

.header-cart-product-gift-flashsale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.5rem;
  padding: 0 0.9375rem;
  background: #ff6a3d;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.header-cart-product-gift-flashsale+.header-card-product-gift-content {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.header-cart-product-gift-flashsale__title {
  display: flex;
  align-items: center;
}

.header-cart-product-gift-flashsale__title-text {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 0.91344rem;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
}

.header-cart-product-gift-flashsale__title-text strong {
  font-weight: 800;
}

.header-cart-product-gift-flashsale__title-icon {
  display: inline-block;
  width: 0.58269rem;
  height: 0.9945rem;
  margin-left: 0.4rem;
}

.header-cart-product-gift-flashsale__title-icon svg {
  width: 100%;
  height: 100%;
}

.header-cart-product-gift-flashsale__time {
  display: flex;
  align-items: center;
}

.header-cart-product-gift-flashsale__time-hours,
.header-cart-product-gift-flashsale__time-minutes,
.header-cart-product-gift-flashsale__time-seconds {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: inline-flex;
  width: 0.9375rem;
  height: 0.9375rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-cart-product-gift-flashsale__time-separator {
  color: #fff;
  font-family: SVN-Gilroy;
  font-size: 0.57119rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: inline-flex;
  width: 0.9375rem;
  height: 0.9375rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-cart-product-gift-header {
  display: flex;
  align-items: center;
}

.header-cart-product-gift-variant {
  display: none;
}

.header-cart-product-gift-choose {
  display: flex;
  margin-top: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.header-cart-product-gift-choose-item {
  display: flex;
  align-items: center;
}

.header-cart-product-gift-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-cart-product-gift-title p {
  color: var(--Color-Text-Title-Black, #424242);
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}

.header-cart-product-gift-choose-label {
  color: var(--Color-Text-Body-Black-100, #424242);
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  margin-right: 0.375rem;
  white-space: nowrap;
}

/* Custom dropdown (replaces native select)
 * Scope dưới .header-cart để tránh đụng global component .custom-select
 * khi vào product page (component custom-select CSS được enqueue ở đó). */
.header-cart .custom-select {
  position: relative;
  display: inline-block;
  min-width: 0;
}

.header-cart .custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 1.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 0.8px solid var(--Color-Stroke-01, rgba(0, 0, 0, 0.1));
  background: #fff;
  color: var(--Color-Text-Body-Black-80, rgba(66, 66, 66, 0.8));

  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cart .custom-select__trigger#gift-color {
  max-width: 4.6875rem;
}

.header-cart .custom-select__trigger#gift-accessories {
  max-width: 7.6875rem;
}

.header-cart .custom-select__trigger#gift-color span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 2rem;
}

.header-cart .custom-select__trigger#gift-accessories span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 6rem;
}

.header-cart .custom-select__trigger-icon {
  width: 0.75rem;
  height: 0.75rem;
  margin-left: 0.5rem;
}

.header-cart .custom-select__trigger:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.header-cart .custom-select__trigger:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.header-cart .custom-select.is-open .custom-select__trigger {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.header-cart .custom-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 7.875rem;
  max-height: 12rem;
  overflow-y: auto;
  border-radius: 0.25rem;
  border: 1px solid var(--Color-Stroke-01, rgba(0, 0, 0, 0.1));
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 20;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    visibility 0.15s ease,
    opacity 0.15s ease,
    transform 0.15s ease;
}

.header-cart .custom-select.is-open .custom-select__dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header-cart .custom-select__option {
  padding: 0.5rem;
  color: var(--Color-Text-Body-Black-80, rgba(66, 66, 66, 0.8));

  /* MB/Body/12/12-MD-130 */
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  white-space: nowrap;
}

.header-cart .custom-select__option:hover,
.header-cart .custom-select__option.is-selected {
  background-color: #f6f6f6;
}

.header-cart .custom-select__option:focus {
  outline: none;
  background-color: #f6f6f6;
}

.header-cart-product-gift-price-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.625rem;
}

.header-cart-product-gift-price-wrap-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cart-product-gift-price-sale {
  color: var(--Color-Secondary-Orange, #ff6a3d);
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.header-cart-product-gift-price-regular {
  color: #a4a4a4;
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: line-through;
  margin-left: 0.375rem;
}

/* Quantity selector: pill shape, circular -/+, number in center */
.header-cart-product-gift-price-quantity {
  display: flex;
  padding: 0.125rem 0.1875rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  border-radius: 62.5rem;
  background: var(--Color-Neutral-10, rgba(164, 164, 164, 0.1));
  width: 5.75rem;
}

.header-cart-product-gift-price-quantity__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  padding: 0;
  border-radius: 0.8125rem;
  border: 0.65px solid var(--Color-Stroke-01, rgba(0, 0, 0, 0.1));
  background: #fff;
  color: #292d32;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.header-cart-product-gift-price-quantity__btn--minus {
  color: #808080;
}

.header-cart-product-gift-price-quantity__btn--plus {
  color: #292d32;
}

.header-cart-product-gift-price-quantity__btn:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background: #f6f6f6;
}

.header-cart-product-gift-price-quantity__btn:focus {
  outline: none;
}

.header-cart-product-gift-price-quantity__btn:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

.header-cart-product-gift-price-quantity__btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

.header-cart-product-gift-price-quantity__value {
  color: #1d1d1d;

  /* PC/Body text/14/14-MD-150 */
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.00875rem;
}

.header-cart-product-gift-price-quantity__btn--remove {
  width: 1.25rem;
  height: 1.25rem;
}

.header-cart-product-gift-price-quantity__btn--remove svg {
  width: 100%;
  height: 100%;
}

.header-cart-product-gift-body {
  flex: 1;
}

.header-cart-gift {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.625rem;
  border: 0.8px solid var(--Color-Stroke-02, rgba(172, 187, 181, 0.25));
  background: var(--Color-Neutral-10, rgba(164, 164, 164, 0.1));
  backdrop-filter: blur(6px);
  margin-top: 0.5rem;
}

.header-cart-gift img {
  width: 2.4375rem;
  height: 2.375rem;
  margin-right: 0.5rem;
  object-fit: cover;
}

.header-cart-gift-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.header-cart-gift-title p:first-child {
  color: var(--Color-Text-Body-Black-60, rgba(66, 66, 66, 0.6));
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  margin-bottom: 0.25rem;
}

.header-cart-gift-title p:last-child {
  color: var(--Color-Text-Body-Black-100, #424242);
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.header-cart-gift-price {
  text-align: right;
}

.header-cart-gift-price p:first-child {
  color: var(--Color-Text-Body-Black-100, #424242);
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.header-cart-gift-price p:last-child {
  color: #a4a4a4;
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: line-through;
  margin-top: 0.375rem;
}

/* Gift item row (quà tặng kèm) */
.header-cart-product-gift-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  border-radius: 0.625rem;
  border: 0.8px solid rgba(172, 187, 181, 0.25);
  background: rgba(164, 164, 164, 0.1);
  backdrop-filter: blur(6px);
  margin-top: 0.5rem;
}

.header-cart-product-gift-item__left {
  display: flex;
  align-items: center;
}

.header-cart-product-gift-item__img {
  width: 2.4375rem;
  height: 2.375rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.header-cart-product-gift-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

.header-cart-product-gift-item__label {
  display: block;
  color: rgba(66, 66, 66, 0.6);
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.header-cart-product-gift-item__name {
  display: block;
  color: #424242;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.header-cart-product-gift-item__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-cart-product-gift-item__free {
  color: #424242;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: normal;
}

.header-cart-product-gift-item__original {
  color: #a4a4a4;
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: line-through;
  margin-top: 0.375rem;
}

/* Standalone gift list (rule-based, không gắn parent) */
.header-cart-product-gift-standalone-list {
  margin-top: 1rem;
}

.header-cart-product-gift-standalone-list .header-cart-product-gift-item+.header-cart-product-gift-item {
  margin-top: 0.5rem;
}

/* Gift wrap service row */
.header-cart-services {
  margin-top: 0.5rem;
}

.header-cart-services-body {
  display: flex;
  align-items: center;
}

.header-cart-services-body-icon {
  width: 2.1875rem;
  height: 2.1875rem;
  background: #f6f6f6;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.375rem;
}

.header-cart-services-body-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.header-cart-services-body-info {
  flex: 1;
  min-width: 0;
}

.header-cart-services-body__title {
  color: rgba(26, 26, 26, 0.75);
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.header-cart-services-body__desc {
  color: rgba(66, 66, 66, 0.8);
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.header-cart-services-body-meta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0.625rem;
}

.header-cart-services-body-price {
  display: flex;
  align-items: center;
  margin-right: 0.625rem;
}

.header-cart-services-body-price__price {
  color: #424242;
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: normal;
}

.header-cart-services-body-price__quantity {
  color: #a4a4a4;
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: normal;
  margin-left: 0.25rem;
}

/* Toggle switch */
.header-cart-services-body-toggle-switch {
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.header-cart-services-body-toggle-switch-inner {
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  background: #ccc;
  transition: background 0.2s ease;
}

/* .header-cart-services-body-toggle-switch-inner::after {
/* .header-cart-services-body-toggle-switch-inner::after {
  content: '';
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
} */


/* .header-cart-services-body-toggle-switch input:checked+.header-cart-services-body-toggle-switch-inner {
  background: linear-gradient(92deg, #09b8b3 3.04%, #4dcbdf 99%);
} */

/* .header-cart-services-body-toggle-switch input:checked+.header-cart-services-body-toggle-switch-inner::after {
/* .header-cart-services-body-toggle-switch input:checked+.header-cart-services-body-toggle-switch-inner::after {
  transform: translateX(1rem);
} */



/* -------------------------------------------------------------------------- */
/* Header search dropdown overlay                                             */
/* -------------------------------------------------------------------------- */

.header-search {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
  font-family: 'SVN-Gilroy';
  transition: visibility 0s linear 0.2s;
}

html.is-search-open .header-search {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.header-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.header-search__panel {
  transform: translateY(8px);
  transition: transform 0.2s ease;
}

html.is-search-open .header-search__backdrop {
  opacity: 1;
}

html.is-search-open .header-search__panel {
  transform: translateY(0);
}

.header-search__panel {
  position: relative;
  max-width: 87.5rem;
  margin: 5.5rem auto 0;
  border-radius: 1rem;
  padding: 1.25rem 7.8125rem 2.5rem 7.8125rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(60px);
}

.header-search__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.header-search__input-wrap {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  border-radius: 62.5rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  background: rgba(56, 55, 56, 0.25);
  height: 3rem;
  width: 100%;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.header-search__input-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.header-search__input-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-right: 0.55rem;
}

.header-search__input {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  color: var(--text-text-oxford-blue-0, #fff);

  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  width: 100%;
}

.header-search__input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.header-search__close {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 68.18181rem;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-search__close-icon {
  width: 1.63638rem;
  height: 1.63638rem;
}

.header-search__body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.header-search__section-title {
  margin-bottom: 1rem;
  color: #fff;

  font-family: SVN-Gilroy;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: 0.01006rem;
}

.header-search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.header-search__tag {
  position: relative;
  border-radius: 62.5rem;
  background: rgba(71, 71, 71, 0.35);
  display: flex;
  padding: 0.3125rem 0.625rem;
  height: 1.9375rem;
  align-items: center;
  justify-content: center;
  color: var(--Color-Text-Body-White-100, #fff);
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.00875rem;
  cursor: pointer;
  white-space: nowrap;
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.header-search__tag::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.header-search__tag:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-search__products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.header-search__products-empty {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

/* end search */

.header-cart-services {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.header-cart-services-icon {
  display: flex;
  width: 2.1875rem;
  height: 2.1875rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.375rem;
  border-radius: 0.5rem;
  background: #f6f6f6;
}

.header-cart-services-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.header-cart-services-body {
  flex: 1 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-cart-services-body__title {
  color: rgba(26, 26, 26, 0.75);
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  margin-bottom: 0.25rem;
}

.header-cart-services-body__desc {
  color: rgba(66, 66, 66, 0.8);
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.header-cart-services-body-meta {
  display: flex;
  align-items: center;
}

.header-cart-services-body-price {
  display: flex;
  align-items: center;
  margin-right: 0.625rem;
}

.header-cart-services-body-price__price {
  color: #424242;
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.header-cart-services-body-price__quantity {
  display: inline-block;
  color: #a4a4a4;
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-left: 0.25rem;
}

.header-cart-services-body-toggle-switch {
  flex-shrink: 0;
  position: relative;
  width: 2rem;
  height: 1rem;
  border-radius: 62.5rem;
  transition: all 0.3s ease-out;
  border: 1px solid #09b8b3;
  cursor: pointer;
}

.header-cart-services-body-toggle-switch:has(input[type='checkbox']:checked) {
  background: #09b8b3;
}

.header-cart-services--disabled {
  opacity: 0.65;
}

.header-cart-services-body-toggle-switch--disabled,
.header-cart-services-body-toggle-switch:has(input[type='checkbox']:disabled) {
  cursor: not-allowed;
  border-color: rgba(164, 164, 164, 0.6);
}

.header-cart-services-body-toggle-switch--disabled .header-cart-services-body-toggle-switch-inner,
.header-cart-services-body-toggle-switch:has(input[type='checkbox']:disabled) .header-cart-services-body-toggle-switch-inner {
  background: rgba(164, 164, 164, 0.8);
}

.header-cart-services-body-toggle-switch-inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  left: 0.125rem;
  width: 0.72156rem;
  height: 0.72156rem;
  filter: drop-shadow(0 0.8px 1.6px rgba(16, 24, 40, 0.05));
  border-radius: inherit;
  background: #09b8b3;
  transition: all 0.3s ease-out;
}

.header-cart-services-body-toggle-switch input[type='checkbox']:checked+.header-cart-services-body-toggle-switch-inner {
  left: 1.125rem;
  background: #fff;
}

.header-cart__checkout-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.header-cart__checkout-cart-total__title {
  color: #424242;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.header-cart__checkout-cart-total__price {
  color: #ff6a3d;
  font-family: SVN-Gilroy;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.header-cart__checkout-cart-desc {
  color: rgba(66, 66, 66, 0.6);
  font-family: SVN-Gilroy;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.0075rem;
  margin-bottom: 0.75rem;
}

.header-cart__checkout-cart-button {
  width: 100%;
  display: inline-flex;
  border-radius: 62.5rem;
}

.header-cart__checkout-cart-button .component-button__icon {
  margin-left: 0.375rem;
}

/* Confirm delete modal */
.confirm-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s ease 0.3s;
}

.confirm-delete-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.confirm-delete-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.confirm-delete-modal.is-open .confirm-delete-modal__overlay {
  opacity: 1;
}

.confirm-delete-modal__container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-delete-modal__content {
  width: 100%;
  max-width: 22.875rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
  background: #FFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.confirm-delete-modal.is-open .confirm-delete-modal__content {
  opacity: 1;
}

.confirm-delete-modal__title {
  color: #424242;
  text-align: center;
  font-family: SVN-Gilroy;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 0.5rem;
}

.confirm-delete-modal__description {
  width: 15.375rem;
  color: rgba(66, 66, 66, 0.60);
  text-align: center;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.00875rem;
  margin-bottom: 1.5rem;
}

.confirm-delete-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.confirm-delete-modal__button {
  display: flex;
  height: 2.5rem;
  padding: 0 1.75rem;
  justify-content: center;
  align-items: center;
  border-radius: 62.5rem;
  transition: all 0.25s ease;
  font-family: SVN-Gilroy;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.confirm-delete-modal__button--outline {
  border: 1px solid #09B8B3;
  color: #09B8B3;
}

.confirm-delete-modal__button--primary {
  background: linear-gradient(92deg, #09B8B3 3.04%, #4DCBDF 99%);
  color: #FFF;
}

.header-cart-product-gift-drawer {
  display: none;
}

@media screen and (max-width: 639.98px) {

  /* -------------------------------------------------------------------------- */
  /* Header search dropdown overlay                                             */
  /* -------------------------------------------------------------------------- */
  .header-search {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    z-index: 100;
    visibility: hidden;
    pointer-events: none;
    font-family: 'SVN-Gilroy';
    overscroll-behavior: none;
    transition: visibility 0s ease 0.3s;
  }

  html.is-search-open .header-search {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .header-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    touch-action: none;
    transition: opacity 0.2s ease;
  }

  .header-search__panel {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  html.is-search-open .header-search__backdrop {
    opacity: 1;
  }

  html.is-search-open .header-search__panel {
    transform: translateX(0);
  }

  .header-search__panel {
    position: relative;
    max-width: 100%;
    width: 90%;
    height: 100vh;
    height: var(--okhub-search-vh, 100dvh);
    max-height: var(--okhub-search-vh, 100dvh);
    margin: 0;
    border-radius: 0;
    padding: 1.5rem 0 1rem 0;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(60px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .header-search__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    flex: 0 0 auto;
  }

  .header-search__input-wrap {
    padding: 0.625rem 0.75rem;
    background: rgba(56, 55, 56, 0.25);
    height: 2.4375rem;
    width: 100%;
    border: 0;
    box-shadow: inset 0 0.6px 0 rgba(255, 255, 255, 0.12);
  }

  .header-search__input-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 0.6px;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 100%);
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
  }

  .header-search__input {
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-family: SVN-Gilroy;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    width: 100%;
  }

  .header-search__input::placeholder {
    color: rgba(255, 255, 255, 0.8);
  }

  .header-search__close {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    border-radius: 0;
    background: transparent;
  }

  .header-search__close-icon {
    width: 100%;
    height: 100%;
  }

  .header-search__body {
    gap: 1.5rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .header-search__section-title {
    padding: 0 1rem;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    line-height: 150%;
    letter-spacing: normal;
  }

  .header-search__tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem;
  }

  .header-search__tags::-webkit-scrollbar {
    display: none;
  }

  .header-search__tags {
    scrollbar-width: none;
  }

  .header-search__tag {
    height: 1.75rem;
    font-size: 0.75rem;
    letter-spacing: -0.0075rem;
    border: 0;
    box-shadow: inset 0 0.6px 0 rgba(255, 255, 255, 0.12);
  }

  .header-search__tag::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 0.6px;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 100%);
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.9;
  }

  .header-search__tag:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .header-search__products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    max-height: none;
    overflow: visible;
    padding: 0 1rem;
  }

  .header-search__products-empty {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
  }

  /* -------------------------------------------------------------------------- */
  /* Header cart sheet                                                          */
  /* -------------------------------------------------------------------------- */
  .header-cart {
    position: fixed;
    inset: 0;
    z-index: 120;
    visibility: hidden;
    pointer-events: none;
    font-family: 'SVN-Gilroy';
    transition: visibility 0s linear 0.25s;
  }

  html.is-cart-open .header-cart {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .header-cart__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .header-cart__sheet {
    width: 90%;
    height: 100%;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 1rem;
    touch-action: pan-y;
  }

  html.is-cart-open .header-cart__backdrop {
    opacity: 1;
  }

  html.is-cart-open .header-cart__sheet {
    transform: translateX(0);
  }

  .header-cart__title {
    font-size: 1rem;
    line-height: 150%;
  }

  .header-cart__close {
    width: 1.25rem;
    height: 1.25rem;
  }

  .header-cart__body {
    margin-top: 0.75rem;
    padding-bottom: 7.875rem;
  }

  .header-cart__empty {
    margin: 0;
    padding-top: 1rem;
    font-size: 0.875rem;
    color: #555;
  }

  .header-cart__total-product p {
    font-size: 0.75rem;
    line-height: 150%;
    letter-spacing: -0.0075rem;
  }

  .header-cart__total-product span {
    font-size: 0.75rem;
    line-height: 130%;
  }

  .header-cart__select-all label {
    color: #424242;
    font-size: 0.75rem;
    line-height: 150%;
    letter-spacing: -0.0075rem;
  }

  .heder-cart__select-all--desktop {
    display: none;
  }

  .heder-cart__select-all--mobile {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-left: auto;
  }

  input[type='checkbox'] {
    width: 1.125rem;
    height: 1.125rem;
  }

  input[type='checkbox']:checked {
    outline: none;
    background: linear-gradient(92deg, #09b8b3 3.04%, #4dcbdf 99%);
  }

  input[type='checkbox']:checked::after {
    width: 0.54825rem;
    height: 0.41375rem;
  }

  .header-cart__footer {
    padding: 0.625rem 1rem;
    display: flex;
    flex-direction: column;
  }

  .header-cart__footer-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
  }

  .header-cart__footer-summary .header-cart__checkout-cart-total--footer {
    margin-bottom: 0;
    min-width: 0;
    flex: 1 1 auto;
  }

  .header-cart__select-all--footer {
    flex-shrink: 0;
    gap: 0.375rem;
  }

  .header-cart__body > .header-cart__checkout-cart-total {
    display: none;
  }

  .header-cart__buy-more {
    height: 1.875rem;
  }

  .header-cart__buy-more p {
    font-size: 0.75rem;
    letter-spacing: -0.0075rem;
  }

  .header-cart-product-gift:not(:last-child) {
    margin-bottom: 0.625rem;
  }

  .header-cart-product-gift-img {
    width: 4.54894rem;
    height: 4.5rem;
    margin-right: 0.5rem;
  }

  .header-cart-product-gift-img img {
    width: 3.56344rem;
    height: 3.44881rem;
  }

  .header-cart-product-gift-choose {
    display: none;
  }

  .header-cart-product-gift-title p {
    font-size: 0.75rem;
  }

  .header-cart-product-gift-price-wrap-left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-cart-product-gift-price {
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .header-cart-product-gift-price-sale {
    font-size: 0.75rem;
  }

  .header-cart-product-gift-price-regular {
    font-size: 0.625rem;
  }

  /* Quantity selector: pill shape, circular -/+, number in center */
  .header-cart-product-gift-price-quantity {
    padding: 0;
    gap: 0.5rem;
    border-radius: 0;
    background: transparent;
    width: 4.375rem;
  }

  .header-cart-product-gift-price-quantity__btn {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 68.75rem;
    border: none;
    background: rgba(164, 164, 164, 0.10);
  }

  .header-cart-product-gift-price-quantity__value {
    font-size: 0.625rem;
    letter-spacing: -0.00625rem;
  }

  .header-cart-product-gift-price-quantity__btn--remove {
    display: none;
  }

  .header-cart-gift {
    padding: 0.375rem;
    border-radius: 0.5rem;
  }

  .header-cart-gift img {
    width: 2.25rem;
    height: 2.19231rem;
  }

  .header-cart-gift-title p:first-child {
    font-size: 0.625rem;
  }

  .header-cart-gift-title p:last-child {
    font-size: 0.75rem;
  }

  .header-cart-gift-price p:first-child {
    font-size: 0.75rem;
  }

  .header-cart-gift-price p:last-child {
    font-size: 0.625rem;
  }

  .header-cart-services-body__title {
    font-size: 0.75rem;
  }

  .header-cart-services-body-meta {
    flex-direction: column;
    align-items: flex-end;
  }

  .header-cart-services-body-price {
    margin-right: 0;
    margin-bottom: 0.375rem;
  }

  .header-cart-services-body-price__price {
    font-size: 0.75rem;
  }

  .header-cart-services-body-toggle-switch {
    cursor: auto;
  }

  .header-cart__checkout-cart-total {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 0.5rem;
  }

  .header-cart__checkout-cart-total__title {
    font-size: 0.75rem;
    line-height: 130%;
    margin-right: 0.5rem;
  }

  .header-cart__checkout-cart-total__price {
    font-size: 0.875rem;
  }

  .header-cart__checkout-cart-desc {
    text-align: center;
    line-height: 130%;
    letter-spacing: normal;
    margin-bottom: 0rem;
    margin-top: 0.5rem;
    order: 3;
  }

  .header-cart__checkout-cart-button .component-button {
    height: 2.375rem;
  }

  .header-cart__checkout-cart-button .component-button__text {
    font-size: 0.75rem;
  }

  .header-cart__checkout-cart-button .component-button__icon {
    width: 0.875rem;
    height: 0.875rem;
  }

  /* Drawer choose */
  .header-cart-product-gift-variant {
    display: block;
  }

  .header-cart-product-gift-variant__trigger {
    display: flex;
    align-items: center;
    margin-top: 0.375rem;
  }

  .header-cart-product-gift-variant__label {
    color: #424242;
    font-family: SVN-Gilroy;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    margin-right: 0.5rem;
  }

  .header-cart-product-gift-variant__value {
    display: flex;
    align-items: center;
    padding: 0.1875rem 0.5rem;
    border-radius: 0.25rem;
    border: 0.8px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
  }

  .header-cart-product-gift-variant__text {
    color: rgba(66, 66, 66, 0.80);
    font-family: SVN-Gilroy;
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-right: 0.5rem;
  }

  .header-cart-product-gift-variant__icon {
    width: 0.75rem;
    height: 0.75rem;
  }

  .header-cart-product-gift-drawer {
    position: fixed;
    display: flex;
    align-items: end;
    inset: 0;
    z-index: 130;
    pointer-events: none;
  }

  .header-cart-product-gift-drawer.is-open {
    pointer-events: auto;
  }

  .header-cart-product-gift-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .header-cart-product-gift-drawer.is-open .header-cart-product-gift-drawer__backdrop {
    opacity: 1;
  }

  .header-cart-product-gift-drawer__panel {
    position: relative;
    width: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s ease;
  }

  .header-cart-product-gift-drawer.is-open .header-cart-product-gift-drawer__panel {
    transform: translateY(0);
  }

  .header-cart-product-gift-drawer__header {
    display: flex;
    padding: 0 1rem;
    justify-content: space-between;
    align-items: center;
    color: #FFF;
    font-family: SVN-Gilroy;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    text-transform: capitalize;
    margin-bottom: 0.75rem;
  }

  .header-cart-product-gift-drawer__close {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
  }

  .header-cart-product-gift-drawer__body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-radius: 1.5rem 1.5rem 0 0;
    background: #FFF;
  }

  .header-cart-product-gift-drawer__product {
    display: flex;
    padding: 1rem 1rem 1.25rem 1rem;
    align-items: center;
    border-bottom: 0.0375rem solid rgba(0, 0, 0, 0.15);
    margin-bottom: 1.25rem;
  }

  .header-cart-product-gift-drawer__product-image {
    width: 4.54894rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D0DBDB;
    border-radius: 0.75rem;
    margin-right: 0.5rem;
  }

  .header-cart-product-gift-drawer__product-image img {
    width: 3.56344rem;
    height: 3.44881rem;
    object-fit: cover;
  }

  .header-cart-product-gift-drawer__product-title {
    color: #424242;
    font-family: SVN-Gilroy;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 0.375rem;
  }

  .header-cart-product-gift-drawer__product-price {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
  }

  .header-cart-product-gift-drawer__price-sale {
    color: #FF6A3D;
    font-family: SVN-Gilroy;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-right: 0.375rem;
  }

  .header-cart-product-gift-drawer__price-regular {
    color: #A4A4A4;
    font-family: SVN-Gilroy;
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: line-through;
  }

  .header-cart-product-gift-drawer__product-variant {
    color: rgba(66, 66, 66, 0.80);
    font-family: SVN-Gilroy;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
  }

  .header-cart-product-gift-drawer__group {
    display: flex;
    padding: 0 1rem;
    flex-direction: column;
  }

  .header-cart-product-gift-drawer__group+.header-cart-product-gift-drawer__group {
    margin-top: 1.25rem;
  }

  .header-cart-product-gift-drawer__group-title {
    color: #424242;
    font-family: SVN-Gilroy;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 0.375rem;
  }

  .header-cart-product-gift-drawer__options {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
  }

  .header-cart-product-gift-drawer__option {
    display: flex;
    min-width: 3.75rem;
    height: 1.625rem;
    padding: 0 0.625rem;
    justify-content: center;
    align-items: center;
    border-radius: 62.5rem;
    border: 1px solid rgba(0, 0, 0, 0.10);
    color: rgba(66, 66, 66, 0.60);
    font-family: SVN-Gilroy;
    font-size: 0.625rem;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
  }

  .header-cart-product-gift-drawer__option.is-active {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.70) 0%, rgba(54, 54, 54, 0.56) 95.83%);
    backdrop-filter: blur(12px);
    border: transparent;
    color: #FFF;
  }

  .header-cart-product-gift-drawer__footer {
    background: #fff;
    padding: 1rem;
    border-top: 0.0375rem solid rgba(0, 0, 0, 0.15);
    margin-top: 3.75rem;
  }

  .header-cart-product-gift-drawer__confirm {
    width: 100%;
    height: 2.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 62.5rem;
    background: linear-gradient(92deg, #09B8B3 3.04%, #4DCBDF 99%);
    cursor: pointer;
    color: #FFF;
    font-family: SVN-Gilroy;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .header-cart-product-gift-drawer__confirm svg {
    width: 0.875rem;
    height: 0.875rem;
    margin-left: 0.375rem;
  }
}

/* =============================================================
 * Global cart toast — "Đã thêm vào giỏ hàng"
 * ============================================================= */
.okhub-cart-toast {
  font-family: SVN-Gilroy;
  position: fixed;
  top: 6rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  padding: 0.875rem 1.125rem;
  background: #fff;
  color: #1f2937;
  font-size: 0.875rem;
  line-height: 1.375;
  border-radius: 0.625rem;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-0.625rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 22rem;
}

.okhub-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.okhub-cart-toast span {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
}

.okhub-cart-toast.is-error span {
  background: #ef4444;
}

.okhub-cart-toast.is-error {
  color: #b91c1c;
}

.okhub-cart-toast.is-error span {
  background: #ef4444;
}

.okhub-cart-toast.is-error {
  color: #b91c1c;
}

.okhub-cart-toast p {
  margin: 0;
}

.okhub-cart-toast p+p,
.okhub-cart-toast span+p {
  margin-left: 0.625rem;
}

.okhub-cart-toast strong {
  font-weight: 600;
}

@media screen and (max-width: 639.98px) {
  .okhub-cart-toast {
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

/* =============================================================
 * Cart drawer optimistic UI states (Phase 1+2)
 * ============================================================= */

/* Row đang fade ra trước khi remove khỏi DOM (200ms transition) */
.js-cart-row.is-removing {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

/* Footer ẩn khi cart rỗng — JS toggle qua patchEmptyState */
.header-cart__footer.is-hidden {
  display: none;
}

/* Checkout button disabled state khi 0 item selected */
.header-cart__checkout-cart-button [data-checkout-btn].is-disabled,
[data-checkout-btn].is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
