.lvtstore2-store {
  font-family: var(--lvt-font);
  font-size: var(--lvt-fs-body);
  line-height: var(--lvt-lh-body);
  color: var(--lvt-text);
  -webkit-font-smoothing: antialiased;
}

.lvtstore2-store *,
.lvtstore2-store *::before,
.lvtstore2-store *::after {
  box-sizing: border-box;
}

.lvtstore2-store a {
  text-decoration: none;
  transition: var(--lvt-transition);
}

.lvtstore2-store .lvt-container {
  width: 100%;
  max-width: var(--lvt-container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Khoảng cách nội dung danh sách / trang trước footer */
.lvtstore2-store .lvt-catalog,
.lvtstore2-store .lvt-cart-content,
.lvtstore2-store .lvt-news-archive,
.lvtstore2-store .lvt-tradein-catalog,
.lvtstore2-store .lvt-news-single,
.lvtstore2-store .lvt-managed-page,
.lvtstore2-store .lvt-product-page--extras {
  padding-bottom: var(--lvt-page-footer-gap);
}

@media (max-width: 767.98px) {
  .lvtstore2-store {
    --lvt-page-footer-gap: 48px;
  }
}

/* Page intro — tiêu đề + hero (danh mục, thu cũ, giỏ hàng…) */
.lvtstore2-store .lvt-page-intro {
  padding-bottom: 24px;
}

.lvtstore2-store .lvt-page-intro .lvt-section-title {
  margin-bottom: 16px;
}

/* Page hero banner */
.lvtstore2-store .lvt-page-hero {
  width: 100%;
  margin: 0 0 16px;
}

.lvtstore2-store .lvt-page-hero img {
  display: block;
  width: 100%;
  max-height: 400px;
  margin: 0;
  border-radius: var(--lvt-radius-card);
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 1024px) {
  .lvtstore2-store .lvt-page-hero img {
    max-height: 320px;
  }
}

@media screen and (max-width: 640px) {
  .lvtstore2-store .lvt-page-hero img {
    max-height: 280px;
  }
}

/* Section header — .logo-cate */
.lvtstore2-store .lvt-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.lvtstore2-store .lvt-section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lvtstore2-store .lvt-section-footer {
  text-align: center;
  margin-top: 28px;
  padding-bottom: 4px;
}

.lvtstore2-store .lvt-link-more--footer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  line-height: 20px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: color var(--lvt-transition), background var(--lvt-transition);
}

.lvtstore2-store .lvt-link-more--footer:hover {
  color: var(--lvt-accent-hover);
}

.lvtstore2-store .lvt-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
  padding-top: 1rem;
  font-family: var(--lvt-font-display);
  font-size: var(--lvt-fs-section);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--lvt-text);
  text-align: center;
}

.lvtstore2-store .lvt-section-title__icon {
  flex-shrink: 0;
  font-size: 0.72em;
  color: var(--lvt-accent);
  line-height: 1;
}

.lvtstore2-store .lvt-section-title--left {
  justify-content: flex-start;
  text-align: left;
  width: auto;
  padding-top: 0;
}

.lvtstore2-store .lvt-section-title__text {
  display: inline-block;
}

.lvtstore2-store .lvt-trade-in__info .lvt-section-title {
  justify-content: flex-start;
  width: auto;
  padding-top: 0;
  text-align: left;
}

.lvtstore2-store .lvt-link-more {
  color: var(--lvt-accent);
  font-weight: 500;
  font-size: var(--lvt-fs-menu);
  white-space: nowrap;
}

.lvtstore2-store .lvt-link-more:hover {
  color: var(--lvt-accent-hover);
}

@keyframes lvtFadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.lvtstore2-store .lvt-animate { animation: lvtFadeInUp 0.5s ease both; }
.lvtstore2-store .lvt-animate--delay { animation-delay: 0.12s; }

/* Buttons */
:is(.lvtstore2-store, .lvt-tradein-modal) .lvt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--lvt-transition);
}

:is(.lvtstore2-store, .lvt-tradein-modal) .lvt-btn--primary {
  background: var(--lvt-accent-alt);
  color: var(--lvt-text-on-accent);
}

:is(.lvtstore2-store, .lvt-tradein-modal) .lvt-btn--primary:hover {
  background: var(--lvt-accent);
  color: var(--lvt-text-on-accent-hover);
}

:is(.lvtstore2-store, .lvt-tradein-modal) .lvt-btn--secondary {
  background: transparent;
  color: var(--lvt-text);
  border: 1px solid var(--lvt-overlay-border);
}

:is(.lvtstore2-store, .lvt-tradein-modal) .lvt-btn--secondary:hover {
  border-color: var(--lvt-text);
  background: var(--lvt-overlay-soft);
}

.lvtstore2-store .lvt-btn--accent {
  background: var(--lvt-accent-alt);
  color: var(--lvt-text-on-accent);
  border-radius: 8px;
  height: 48px;
  font-weight: 500;
}

.lvtstore2-store .lvt-btn--accent:hover {
  background: var(--lvt-accent);
  color: var(--lvt-text-on-accent-hover);
}

.lvtstore2-store .lvt-btn__icon {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.lvtstore2-store .lvt-btn--detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--lvt-overlay-border);
  background: transparent;
  color: var(--lvt-text);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--lvt-transition), border-color var(--lvt-transition);
}

.lvtstore2-store .lvt-btn--detail:hover {
  background: var(--lvt-overlay-soft);
  border-color: var(--lvt-overlay-border);
  color: var(--lvt-text);
}

.lvtstore2-store .lvt-btn--cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  background: var(--lvt-accent-alt);
  color: var(--lvt-text-on-accent);
  border-radius: 8px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.lvtstore2-store .lvt-product-card__actions .lvt-btn {
  flex: 0 0 40px;
  width: 40px;
  padding: 0;
  gap: 0;
}

.lvtstore2-store .lvt-product-card__actions .lvt-btn__label {
  display: none;
}

.lvtstore2-store .lvt-product-card__actions .lvt-btn__icon {
  font-size: 16px;
}

.lvtstore2-store .lvt-btn--cart:hover {
  background: var(--lvt-accent);
}

.lvtstore2-store .lvt-btn--cart.is-oos,
.lvtstore2-store .lvt-btn--cart:disabled {
  background: var(--lvt-border-light);
  color: var(--lvt-text-dim);
  cursor: not-allowed;
}

.lvtstore2-store .lvt-btn--cart.is-oos:hover,
.lvtstore2-store .lvt-btn--cart:disabled:hover {
  background: var(--lvt-border-light);
}

/* Product card */
.lvtstore2-store .lvt-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: var(--lvt-bg-card);
  border-radius: var(--lvt-radius-card);
  padding: 0;
  overflow: hidden;
  transition: box-shadow var(--lvt-transition), transform var(--lvt-transition);
  position: relative;
}

.lvtstore2-store .lvt-product-card:hover {
  box-shadow: var(--lvt-shadow-neu);
}

/* Vệt sáng skew — vùng ảnh product + trade-in */
.lvtstore2-store .lvt-product-card__image-wrap,
.lvtstore2-store .lvt-tradein-card__image-wrap {
  position: relative;
  overflow: hidden;
}

.lvtstore2-store .lvt-product-card__image-wrap::before,
.lvtstore2-store .lvt-tradein-card__image-wrap::before {
  content: '';
  position: absolute;
  top: -70%;
  left: -130%;
  width: 45%;
  height: 240%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 35%,
    rgba(255, 255, 255, 0.3) 45%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 55%,
    rgba(255, 255, 255, 0.05) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0.9s ease, opacity 0.2s ease;
}

.lvtstore2-store .lvt-product-card:hover .lvt-product-card__image-wrap::before,
.lvtstore2-store .lvt-tradein-card:hover .lvt-tradein-card__image-wrap::before {
  left: 160%;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .lvtstore2-store .lvt-product-card__image-wrap::before,
  .lvtstore2-store .lvt-tradein-card__image-wrap::before {
    transition: none;
  }

  .lvtstore2-store .lvt-product-card:hover .lvt-product-card__image-wrap::before,
  .lvtstore2-store .lvt-tradein-card:hover .lvt-tradein-card__image-wrap::before {
    left: -130%;
    opacity: 0;
  }
}

.lvtstore2-store .lvt-product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  color: inherit;
}

.lvtstore2-store .lvt-product-card__image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 280px;
  padding: 15px;
  overflow: hidden;
}

.lvtstore2-store .lvt-product-card .lvt-product-card__label {
  position: absolute;
  top: 0;
  left: 5px;
  z-index: 4;
  margin: 10px 0 0;
  color: var(--lvt-label);
  border: 1px solid var(--lvt-label);
  border-radius: var(--lvt-radius-pill);
  font-size: 15px;
  line-height: 20px;
  padding: 4px 12px;
  background: transparent;
  font-weight: 500;
  pointer-events: none;
}

.lvtstore2-store .lvt-product-card .lvt-product-card__label--sale {
  color: var(--lvt-sale);
  border-color: var(--lvt-sale);
}

.lvtstore2-store .lvt-product-card__image {
  display: block;
  max-width: 250px;
  max-height: 250px;
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.lvtstore2-store .lvt-product-card:hover .lvt-product-card__image {
  transform: scale(1.03);
  filter: brightness(1.03);
}

.lvtstore2-store .lvt-product-card__name {
  overflow: hidden;
  padding: 0 12px;
  min-height: 40px;
  text-align: center;
  font-size: var(--lvt-fs-product);
  line-height: var(--lvt-lh-product);
  font-weight: 400;
  color: var(--lvt-text);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.lvtstore2-store .lvt-product-card__price {
  display: block;
  overflow: hidden;
  text-align: center;
  padding: 8px 10px 12px;
  margin-top: auto;
}

@media (max-width: 767.98px) {
  .lvtstore2-store .lvt-product-card__price:has(.lvt-price--old) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .lvtstore2-store .lvt-product-card__price .lvt-price--old {
    display: block;
    margin-left: 0;
  }

  .lvtstore2-store .lvt-product-card__image-wrap {
    height: 200px;
    padding: 10px;
  }

  .lvtstore2-store .lvt-product-card__name {
    font-size: 13px;
    line-height: 17px;
    padding: 0 8px;
  }

  .lvtstore2-store .lvt-product-card__price {
    padding: 6px 8px 10px;
    font-size: 16px;
    line-height: 20px;
  }

  .lvtstore2-store .lvt-product-card__price .lvt-price {
    font-size: 16px;
    line-height: 20px;
  }

  .lvtstore2-store .lvt-product-card__actions {
    padding: 0 8px 12px;
    gap: 6px;
  }

  .lvtstore2-store .lvt-product-card__actions .lvt-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

.lvtstore2-store .lvt-product-card__actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 12px 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.lvtstore2-store .lvt-price {
  font-size: 18px;
  line-height: 23px;
  font-weight: 700;
  color: var(--lvt-text);
}

.lvtstore2-store .lvt-price--sale {
  color: var(--lvt-text);
}

.lvtstore2-store .lvt-price--old {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--lvt-text);
  /* Keep old-price subdued without dropping below contrast requirements. */
  opacity: 0.82;
  margin-left: 6px;
}

/* Forms */
.lvt-required {
  color: var(--lvt-sale);
}

:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .lvt-input,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-control,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-select {
  border-radius: 8px;
  border: 1px solid var(--lvt-border);
  padding: 12px 14px;
  font-size: 14px;
  background: var(--lvt-surface);
  color: var(--lvt-text);
}

:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .lvt-input:focus,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-control:focus,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-select:focus {
  border-color: var(--lvt-accent);
  box-shadow: 0 0 0 2px var(--lvt-accent-focus);
  outline: none;
}

:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .lvt-input::placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-control::placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) textarea.lvt-input::placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) textarea.form-control::placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) input::placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) textarea::placeholder {
  color: var(--lvt-placeholder);
  opacity: 1;
}

:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .lvt-input::-webkit-input-placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-control::-webkit-input-placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) textarea.lvt-input::-webkit-input-placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) textarea.form-control::-webkit-input-placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) input::-webkit-input-placeholder,
:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) textarea::-webkit-input-placeholder {
  color: var(--lvt-placeholder);
  opacity: 1;
}

:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-select:required:invalid {
  color: var(--lvt-placeholder);
}

:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-select option {
  color: var(--lvt-text);
}

:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-select option[value=""] {
  color: var(--lvt-placeholder);
}

:is(.lvtstore2-store, .lvt-search-modal, .lvt-tradein-modal) .form-label {
  color: var(--lvt-text-muted);
  font-size: 14px;
}
