@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
/* 10/07: Criteria CF (SVN Viet-hoa, Minh cap) cho HEADINGS — self-host theme asset */
@font-face{font-family:'Criteria CF';src:url('criteria-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Criteria CF';src:url('criteria-demibold.woff2') format('woff2');font-weight:500 600;font-style:normal;font-display:swap}
@font-face{font-family:'Criteria CF';src:url('criteria-bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Criteria CF';src:url('criteria-extrabold.woff2') format('woff2');font-weight:800 900;font-style:normal;font-display:swap}
.z-999 {
  z-index: 999;
}

.btn {
  border-radius: var(--rounded-button);
}

select {
  padding: 4px;
}

select option {
  padding: 4px;
  /* Add padding around each option */
}

/* ============================================
   PRODUCT DETAILS ACCORDION - CLEAN & MODERN
   ============================================ */

/* Base details/summary reset */
details>summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

details>summary::-webkit-details-marker {
  display: none;
}

/* Product details accordion container */
.product-form-wrapper details.group\/details {
  position: relative;
  background: var(--color-background);
  border: 1px solid var(--color-neutral-50);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.product-form-wrapper details.group\/details:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-form-wrapper details.group\/details[open] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Summary (header) styling */
.product-form-wrapper details.group\/details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--color-foreground);
  background: var(--color-background);
  position: relative;
}

.product-form-wrapper details.group\/details summary:hover {
  background: #f8f8f8;
}

.product-form-wrapper details.group\/details[open] summary {
  background: #f8f8f8;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-neutral-50);
}

/* Summary title */
.product-form-wrapper details.group\/details summary h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
}

/* Icon styling - no animation */
.product-form-wrapper details.group\/details summary .icon-carret-down {
  color: var(--color-neutral-100);
  font-size: 1.8rem;
}

.product-form-wrapper details.group\/details[open] summary .icon-carret-down {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.product-form-wrapper details.group\/details summary:hover .icon-carret-down {
  color: var(--color-primary);
}

/* Content area - instant display */
.product-form-wrapper details.group\/details .content {
  display: none;
  padding: 20px;
}

.product-form-wrapper details.group\/details[open] .content {
  display: block;
}

/* Content typography */
.product-form-wrapper details.group\/details .content.prose {
  line-height: 1.7;
  color: var(--color-foreground);
}

.product-form-wrapper details.group\/details .content.prose p {
  margin-bottom: 12px;
}

.product-form-wrapper details.group\/details .content.prose ul,
.product-form-wrapper details.group\/details .content.prose ol {
  margin-left: 20px;
  margin-bottom: 12px;
}

.product-form-wrapper details.group\/details .content.prose li {
  margin-bottom: 8px;
}

/* First accordion item special styling */
.product-form-wrapper details.group\/details:first-of-type {
  margin-top: 0;
}

/* Active state indicator */




/* Mobile optimizations */
@media (max-width: 767px) {
  .product-form-wrapper details.group\/details {
    border-radius: 8px;
    margin-bottom: 8px;
  }

  .product-form-wrapper details.group\/details summary {
    padding: 14px 16px;
    font-size: 1.5rem;
  }

  .product-form-wrapper details.group\/details summary h3 {
    font-size: 1.5rem;
  }

  .product-form-wrapper details.group\/details[open] .content {
    padding: 16px;
  }

  .product-form-wrapper details.group\/details summary .icon-carret-down {
    font-size: 1.6rem;
  }
}

/* Tablet optimizations */
@media (min-width: 768px) and (max-width: 1024px) {
  .product-form-wrapper details.group\/details summary {
    padding: 15px 18px;
  }
}

/* Enhanced content styling */
.product-form-wrapper details.group\/details .content.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

.product-form-wrapper details.group\/details .content.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.product-form-wrapper details.group\/details .content.prose table td,
.product-form-wrapper details.group\/details .content.prose table th {
  padding: 10px;
  border: 1px solid var(--color-neutral-50);
}

.product-form-wrapper details.group\/details .content.prose table th {
  background: var(--color-neutral-50);
  font-weight: 600;
}

/* Smooth scroll behavior when opening */
.product-details-accordion {
  scroll-margin-top: 100px;
}


/* Legacy support for icon-carret-right */
details[open]>summary>.icon-carret-right {
  transform: rotate(90deg);
}

.h-inherit {
  height: inherit !important;
}

.break-word {
  word-break: break-word;
}

.addtocart-btn {
  --color-button-primary: var(--color-addtocart-bg);
  --color-button-primary-text: var(--color-addtocart);
}

.card-product .addtocart-btn {
  padding: 7px;
  width: 3.2rem;
  height: 3.2rem;
  position: relative;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .card-product .addtocart-btn {
    padding: 11px 8px;
    width: 100%;
    height: auto;
    border-radius: var(--rounded-button);
    position: relative;
  }
}

.btn:disabled {
  opacity: 0.5;
}

.collection-item-thumb-bg::after {
  display: block;
  content: "";
  background: #ebebeb;
  width: 50% !important;
  height: 50% !important;
  border-radius: 100%;
  position: absolute;
  margin: auto;
  z-index: -1 !important;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all .3s ease;
}

.collection-item-thumb-bg:hover::after {
  transform: scale(1.1) translateZ(0);
}

@media (min-width: 768px) {
  .collection-item span {
    font-size: 1.8rem;
  }
}

.collection-item-thumb-bg:hover::after {
  background: var(--coll-bg-hover);
  background: linear-gradient(to top,
      color-mix(in oklab, var(--coll-bg-hover), white 14%) 0%, var(--coll-bg-hover) 55%,
      color-mix(in oklab, var(--coll-bg-hover), black 12%) 100%);
  /* transform: translate(-50%, -50%) scale(1.04); */
}

.section-flashsale:after {
  z-index: -1;
}

.overflow-item {
  display: none;
}

.aside-item {
  background: var(--color-background);
}

.filter-container {
  gap: 1px;
}

@media (max-width: 1269px) {
  .collection-filter {
    position: fixed;
    top: 0 !important;
    right: 0;
    width: 100%;
    z-index: 9999;
    max-height: 100vh;
    overflow: auto;
    border-radius: 0px;
  }
}

.is-empty .cart-form {
  display: none;
}

.portal--modal .portal-inner {
  height: auto;
  max-width: 100.24rem;
  width: 100%;
}

@media(max-width: 1024px) {
  .portal--modal .portal-inner {
    max-width: 72.4rem
  }
}

.portal--modal.portal--modal-sm .portal-inner {
  height: auto;
  max-width: 50rem;
}

.loading-icon {
  height: 2rem;
}

.loading>span:not(.loading-icon) {
  display: none;
}

.map iframe {
  width: 100%;
}

/** compare qv **/

#quick-view-compare .portal-inner {
  width: calc(100% - var(--container-padding) * 2);
  max-width: calc(1440px - var(--container-padding) * 2);
  height: auto;
  bottom: var(--container-padding) !important;
  top: auto !important;
  overflow: initial;
  box-shadow: var(--shadow-l);
  position: absolute;
}

#PortalClose-quick-view {
  top: -5rem;
}

.compare-product__qv-show {
  grid-column: 4;
}

@media (max-width: 767px) {
  .compare-product__qv-show {
    grid-column: 1 / -1;
  }
}

.color-spot {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: var(--rounded-full);
  overflow: hidden;
  border: #fff;
  display: block;
}

.color-swatch {
  width: 38px;
  height: 38px;
  padding: 0;
  box-shadow: 0 0 0 1px var(--color-neutral-50),
    inset 0 0 0 2px var(--color-background);
  overflow: hidden;
}

.product-gallery {
  --thumbs-size: 8rem;
}

/* Mobile - Force bottom layout */
@media (max-width: 767px) {
  .product-gallery.layout-left .gallery-container {
    display: block !important;
  }

  .product-gallery.layout-left .embla-thumbs,
  .product-gallery.layout-left .gallery-main {
    order: initial !important;
    width: auto !important;
    flex: none !important;
  }

  .product-gallery.layout-left .gallery-thumbnails {
    margin-top: 0.75rem !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
  }

  .product-gallery.layout-left .gallery-thumbnails .embla__container {
    flex-direction: row !important;
    height: auto !important;
  }

  .product-gallery.layout-left .gallery-thumbnails .embla__slide {
    width: 6.1rem !important;
  }
}

/* Desktop only - Left layout */
@media (min-width: 768px) {
  .product-gallery.layout-left .gallery-container {
    display: flex !important;
  }

  .product-gallery.layout-left .embla-thumbs {
    order: 1 !important;
    width: 8rem !important;
    flex-shrink: 0 !important;
  }

  .product-gallery.layout-left .gallery-main {
    order: 2 !important;
    flex: 1 !important;
  }

  .product-gallery.layout-left .gallery-thumbnails .embla__container {
    flex-direction: column !important;
    height: 100% !important;
  }

  .product-gallery.layout-left .gallery-thumbnails .embla__slide {
    width: 100% !important;
  }
}

/* Thumbnail styling improvements */
.gallery-thumbnails .embla__slide {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.gallery-thumbnails .embla__slide:hover {
  opacity: 0.8;
}

.gallery-thumbnails .embla__slide.embla-thumbs__slide--selected {
  opacity: 1;
}

.gallery-thumbnails .embla__slide>div {
  border: 2px solid transparent;
  border-radius: 0.5rem;
  transition: border-color 0.3s ease;
}

.product-gallery--vertical .embla-thumbs .embla__container {
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-gallery--vertical .embla-thumbs .embla__container {
    touch-action: pan-x pinch-zoom;
    flex-direction: column;
  }

  .product-gallery--vertical .gallery-container {
    padding-left: calc(var(--thumbs-size) + var(--spacing-3));
  }

  #quick-view-product .gallery-container {
    padding-left: 0;
  }

  .product-gallery--vertical .embla-thumbs {
    position: absolute;
    inset: 0;
    height: 100%;
    z-index: 2;
    width: max-content;
  }

  .product-gallery--vertical .embla-thumbs .embla__slide {
    margin: 0;
  }
}

.ega-badge-ctd__item {
  color: var(--color-flashsale-timer);
  background-color: var(--color-flashsale-timer-bg);
}

.stock-percent {
  background: var(--color-flashsale-process);
}

.flashsale-heading {
  font-weight: var(--font-headings-weight);
  font-family: var(--font-headings-family);
}

.flashsale-tab {
  cursor: pointer;
}

.flashsale-tab.ended {
  cursor: not-allowed;
  display: none;
}

.flashsale-tab .status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--rounded-full);
}

.flashsale-tab.ongoing .status {
  background: var(--color-flashsale-tab-bg);
  color: var(--color-flashsale-tab);
}

.product-flashsale-item {
  color: var(--color-flashsale);
  background: var(--color-flashsale-bg);
}

.flashsale-tab.active {
  background: var(--color-flashsale-tab-bg);
  color: var(--color-flashsale-tab);
  border-radius: 12px;
}

.flashsale-nav {
  border-radius: 12px;
}

.flashsale-background {
  --side-width: 120px;
  width: calc(1440px - var(--spacing-3) - 2 * var(--side-width));
}

.flashsale-heading:hover a {
  color: var(--color-flashsale-title-hover);
}

@media (max-width: 976px) {
  .flashsale-background {
    --side-width: 120px;
    width: 100%;
  }

  .flashsale-nav {
    border-radius: 0;
    padding: 12px 12px;
    /* margin: 0 -12px; */
  }
}

@media (max-width: 767px) {
  .flashsale-nav {
    border-radius: 0;
    /* padding: 0;
    margin: 0 -12px; */
  }

  .flashsale-nav>ul {
    grid-template-columns: repeat(3, auto);
    white-space: nowrap;
    gap: var(--spacing-1);
  }

  .flashsale-tab {
    padding-left: var(--spacing-1);
    padding-right: var(--spacing-1);
  }
}

.product-detail .flashsale__countdown-label {
  display: none !important;
}

.product-flashsale-item .stock-countdown {
  width: 50%;
}

.product-flashsale-item .ega-badge-ctd__item {
  width: 3.2rem;
}

.product-flashsale-item .ega-badge-ctd__h {
  font-size: var(--font-size-h6);
}

.product-flashsale-item .ega-badge-ctd__item span {
  display: none;
}

.product-flashsale-item:has(.active.ongoing) {
  padding: 0.8rem 1.2rem;
}

.product-price-group:has(.active.ongoing) {
  border: 1px solid var(--color-flashsale-bg);
}

.product-price-group:has(.active.ongoing) .price-box {
  padding: 1.2rem 0.8rem 1.2rem;
}

.product-flashsale-item .ega-badge-dot {
  display: block;
}

/* ============================================
   COUPON CARDS - MODERN DESIGN
   ============================================ */

.coupon-list {
  display: flex;
  flex-direction: column;
  grid-gap: 2rem;
  padding: 2rem;
  border-radius: 4px;
  max-height: 100%;
  overflow: auto;
  padding-bottom: calc(2rem + constant(safe-area-inset-bottom)) !important;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom)) !important;
}

/* Coupon Card Container */
.coupon-card {
  position: relative;
  background: var(--coupon-active-bg, #FFFFFF);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.coupon-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Decorative circles in background */
.coupon-card::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--coupon-badge-color, #FF6B00);
  top: -40px;
  right: -40px;
  z-index: 0;
  opacity: 0.1;
}

/*
.coupon-card::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--coupon-badge-color, #FF6B00);
  bottom: -20px;
  left: -10px;
  z-index: 0;
  opacity: 0.1;
}
*/

/* Badge Label */
.coupon-badge {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  background: var(--coupon-badge-color, #FF6B00);
  color: var(--coupon-active-badge-text, #FFFFFF);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* Coupon Content */
.coupon-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.coupon-content copy-button {
  display: block;
}

.coupon-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--coupon-active-title, #1A1A1A);
  margin: 0 0 8px 0;
  letter-spacing: 1px;
}

.coupon-description {
  font-size: 14px;
  color: var(--coupon-active-desc, #666666);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

/* Expiry Date - Always reserve space */
.coupon-expiry {
  font-size: 12px;
  color: #999999;
  margin-top: auto;
  margin-bottom: 16px;
  min-height: 20px;
  line-height: 20px;
}

.coupon-expiry-placeholder {
  opacity: 0;
  visibility: hidden;
}

.coupon-expiry-date {
  display: inline-block;
}

/* Copy Button */
.coupon-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--coupon-active-button-bg, #1A1A1A);
  color: var(--coupon-active-button-text, #FFFFFF);
  border: 2px dashed var(--coupon-active-button-bg, #1A1A1A);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.coupon-copy-btn:hover {
  background: color-mix(in oklab, var(--coupon-active-button-bg, #1A1A1A), white 20%);
  border-color: color-mix(in oklab, var(--coupon-active-button-bg, #1A1A1A), white 20%);
  transform: scale(1.02);
}

.coupon-copy-btn .icon {
  font-size: 16px;
}

/* ============================================
   EXPIRED COUPON STATE - DARK THEME
   ============================================ */
.coupon-card.expired::before,
.coupon-card.expired::after {
  background: #f6f6f6;
}

.coupon-card.expired .coupon-badge {
  filter: grayscale(1);
  opacity: 0.5;
}

.coupon-card.expired .coupon-copy-btn {
  background: transparent;
  border-color: #4A4A4A;
  color: #888888;
  cursor: not-allowed;
  opacity: 0.6;
}

.coupon-card.expired .coupon-copy-btn:hover {
  transform: none;
  background: transparent;
  border-color: #4A4A4A;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 767px) {
  .coupon-card {
    padding: 20px;
    border-radius: 12px;
  }

  .coupon-title {
    font-size: 20px;
  }

  .coupon-description {
    font-size: 13px;
  }

  .coupon-copy-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Coupon Carousel - Prevent shadow clipping */
.section-coupons .embla {
  overflow: visible;
}

.section-coupons .embla__viewport {
  overflow-x: clip;
  overflow-y: visible;
}

.section-coupons .embla__container {
  display: flex;
  align-items: stretch;
}

.section-coupons .embla__slide {
  display: flex;
}

.section-coupons .embla__slide coupon-item {
  display: flex;
  width: 100%;
  flex: 1;
}

.section-coupons .coupon-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

/* ============================================
   COUPON MODAL - MODERN UI
   ============================================ */

.coupon-modal-inner {
  max-width: 500px;
  width: 100%;
}

.coupon-modal-content {
  position: relative;
}

/* Modal Badge */
.coupon-modal-badge {
  background: var(--coupon-badge-color, #FF6B00);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 20px;
}

/* Modal Title */
.coupon-modal-title {
  color: var(--color-foreground);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.coupon-modal-subtitle {
  color: var(--color-neutral-300);
  line-height: 1.5;
}

/* Code Display Box */
.coupon-modal-code-box {
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  border: 2px dashed var(--coupon-active-badge-from, #FF6B00);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coupon-modal-code-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.coupon-code-display {
  position: relative;
  z-index: 1;
}

.coupon-code-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--coupon-active-badge-from, #FF6B00);
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
}

/* Modal Description */
.coupon-desc {
  color: var(--color-foreground);
  line-height: 1.7;
  font-size: 14px;
}

.coupon-desc ul,
.coupon-desc ol {
  margin-left: 20px;
  margin-bottom: 12px;
}

.coupon-desc li {
  margin-bottom: 8px;
}

/* Modal Actions */
.coupon-modal-actions {
  gap: 12px;
}

.coupon-modal-actions .btn {
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coupon-modal-actions .btn--secondary:hover {
  background: var(--color-neutral-100);
  border-color: var(--color-neutral-200);
  transform: translateY(-1px);
}

.coupon-modal-actions .btn--primary {
  background: var(--coupon-active-button-bg, #1A1A1A);
  color: var(--coupon-active-button-text, #FFFFFF);
  border: none;
}

.coupon-modal-actions .btn--primary:hover {
  transform: translateY(-2px);
}

.coupon-modal-actions .icon-copy {
  font-size: 18px;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .coupon-modal-inner {
    max-width: 100%;
  }

  .coupon-modal-content {
    padding: 24px !important;
  }

  .coupon-modal-title {
    font-size: 20px !important;
  }

  .coupon-code-text {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .coupon-modal-code-box {
    padding: 16px;
  }
}

/* Legacy support */
#coupon-modal,
.coupon-item {
  --color-primary: var(--color-coupon-primary);
}

.coupon-item-bg {
  background: var(--color-coupon-primary);
}

@media (min-width: 768px) {
  .product-flashsale-item .stock-countdown {
    width: 20rem;
  }
}

.cart-drawer-related-products {
  max-width: calc(1440px - var(--dialog-max-width) - 1.6rem);
  padding-left: 0.8rem;
  margin: auto;
  width: calc(100% - var(--dialog-max-width) - 1.6rem);
}

.cart-releated-products .card-product--horizontal .card-product__cta {
  display: block;
}

.card-product__option.selected .card-product__option-dot {
  box-shadow: none;
}

.card-product__option-dot-lg {
  width: 3.2rem;
  height: 3.2rem;
}

.card-product__option-dot-md {
  width: 2.6rem;
  height: 2.6rem;
}

.card-product__option-dot-sm {
  width: 1.4rem;
  height: 1.4rem;
}

.card-product__option-dot-sm {
  border-radius: 100%;
}

@media (max-width: 1024px) {
  .card-product__option-dot-lg {
    width: 2.4rem;
    height: 2.4rem;
  }

  .card-product__option-dot-md {
    width: 2rem;
    height: 2rem;
  }

  .card-product__option-dot-sm {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.card-product--horizontal form {
  padding-inline: 0;
}

@media (max-width: 767px) {
  .card-product--horizontal form {
    padding-inline: 0;
  }

  .card-product--horizontal form {
    grid-template-columns: 8rem 1fr;
  }
}

.card-product .stock-countdown-inner {
  margin-bottom: var(--spacing-3);
}

@media (max-width: 767px) {
  .card-product .stock-countdown-inner {
    margin-bottom: 0;
  }
}

.slide-in-left {
  -webkit-animation: slide-in-left 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: slide-in-left 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-right {
  -webkit-animation: slide-in-right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-bottom {
  -webkit-animation: slide-in-bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
    transform: translateY(1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
    transform: translateY(1000px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

.scale-in-hor-left {
  -webkit-animation: scale-in-hor-left 0.4s ease-out both;
  animation: scale-in-hor-left 0.4s ease-out both;
}

@-webkit-keyframes scale-in-hor-left {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }
}

@keyframes scale-in-hor-left {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 0;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }
}

animating:not(.fade-in),
.animating:not(.fade-in)>* {
  opacity: 0;
}

.fade-in {
  -webkit-animation: fade-in 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: fade-in 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.animation-reverse {
  animation-direction: reverse !important;
}

.cro-btn-item .cart-count {
  margin-right: -1.6rem;
  top: -0.4rem;
}

.cro-btns .cart-limit-note,
.cro-btns .cart-vat-note {
  display: none;
}

.cro-btns .cart-total {
  padding: 0;
  flex-direction: column;
}

.cro-btns .cart-submit button {
  padding: 0.8rem;
}

cart-form,
productform {
  transition: opacity 0.3s ease-out;
}

product-form.loading .product-cta {
  pointer-events: none;
  opacity: 0.5;
}

cart-form.loading,
product-form.loading .product-cta {
  pointer-events: none;
}

.cart-item.loading .cart-total-col .price,
cart-form.loading .cart-total .price {
  display: none;
}

cart-form.loading .cart-total .loading-icon,
.cart-item.loading .cart-total-col .loading-icon {
  display: inline-flex;
  color: var(--color-neutral-50);
  height: 1.6rem;
}

product-form.loading .product-cta .btn .loading-icon {
  display: none;
}

.variant-picker__input input.disabled~label {
  opacity: 0.5;
  position: relative;
  overflow: hidden;
}

.variant-picker__input input.disabled~label:after {
  content: "";
  width: 100%;
  height: 1px;
  background: var(--color-neutral-100);
  position: absolute;
  transform: rotate(200deg) scale(1.1);
  left: 0;
}

.variant-picker__input input.disabled~label.color-swatch:after {
  transform: rotate(220deg) scale(1.1);
}

.portal--modal .portal-close-button {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 999;
}

@media (max-width: 767px) {
  .portal--modal .portal-close-button {
    right: 0.8rem;
    top: 0.8rem;
  }
}

.sapo-product-reviews-badge .sapo-product-reviews-star i {
  font-size: var(--font-size-body) !important;
}

.bpr-success-popup .icon-checked {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 975px) {
  #product-review {
    display: block;
  }
}

.tiktok-embed {
  margin: 0 auto !important;
}

@media (max-width: 767px) {
  .gallery-main {
    position: relative;
  }
}

.card-product__badges:has(.product-promo-tag) {
  display: block;
}

.card-product__title {
  --font-size-body: 1.6rem;
  font-size: var(--font-size-body);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .card-product__title {
    --font-size-body: 1.4rem;
  }
}

.card-product--vertical.card-product__title {
  min-height: calc(var(--font-size-body) * 1.4 * 2);
}

.cro-btns {
  display: none;
}

@media (max-width: 767px) {
  .cro-btns:has(.cro-btn-item) {
    display: block;
  }
}

.promo-box__body p {
  margin: 0;
}

.promo-box__body ol,
.promo-box__body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--spacing-2);
}

@media (max-width: 992px) {

  .promo-box__body ol,
  .promo-box__body ul {
    grid-template-columns: 1fr;
  }
}

.tiktok-embed {
  border-radius: var(--rounded);
}

.btn.coupon-expired {
  color: var(--color-neutral-400);
  background: var(--color-neutral-50);
  border-color: var(--color-neutral-50);
  filter: none;
  opacity: 1;
}

.flashsale-ended .tab-content {
  display: none;
}

.flashsale-ended .flashsale-end-message {
  display: block;
  padding: var(--spacing-6) var(--spacing-2);
}

.flashsale-ended .flashsale-nav {
  display: none;
}

.heading-bar {
  position: relative;
}

.heading-bar a:hover {
  opacity: var(--color-link);
}

.heading {
  font-size: var(--font-size-h3);
  position: relative;
  z-index: 1;
  width: auto;
  display: inline-block;
  font-weight: var(--font-headings-weight);
  font-family: var(--font-headings-family);
}

.heading-bar .heading {
  text-wrap: pretty;
}

.heading-bar .heading .heading-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.section-flashsale--single .flashsale__countdown-timer {
  flex-direction: row;
}

.heading:not([class*="mb"]) {
  margin-bottom: 3.2rem;
}

.heading span {
  color: var(--color-highlight);
  position: relative;
  display: inline-block;
}

.heading span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg height='11' viewBox='0 0 219 11' fill='none' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8C25.8556 3.07738 53.8451 3.61733 82.4695 3.07653C119.514 2.37666 150.586 6.76911 216 4.41882' stroke='var(--color-highlight)' stroke-width='2' pathLength='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;

  /* Fallback: tạo mask để apply màu từ CSS variable */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg height='11' viewBox='0 0 219 11' fill='none' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8C25.8556 3.07738 53.8451 3.61733 82.4695 3.07653C119.514 2.37666 150.586 6.76911 216 4.41882' stroke='black' stroke-width='2' pathLength='1' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg height='11' viewBox='0 0 219 11' fill='none' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8C25.8556 3.07738 53.8451 3.61733 82.4695 3.07653C119.514 2.37666 150.586 6.76911 216 4.41882' stroke='black' stroke-width='2' pathLength='1' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  background-color: var(--color-highlight);
  background-image: none;
}

@media (max-width: 767px) {
  .heading {
    font-size: var(--font-size-h3);
  }

  .heading:not([class*="mb"]) {
    margin-bottom: 2rem;
  }

  .section-flashsale--single .flashsale__countdown-timer {
    flex-direction: column;
  }

  .section-flashsale .flashsale-heading {
    font-size: var(--font-size-h4) !important;
  }
}

.heading:has(.heading-icon) {
  padding-right: 45px;
}



@media (max-width: 767px) {
  .heading {
    font-size: var(--font-size-h4);
    margin-bottom: 1.2rem;
  }
}

.card-article__desc {
  /* min-height: calc(var(--font-size-body) * 1.5 * 3); */
}

.card-article__title {
  min-height: calc(var(--font-size-body) * 1.5 * 2);
}

.section-main-cart .cart-summary-info {
  position: relative;
}

.section-main-cart .cart-summary-info:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0.8rem 2.4rem 0px var(--primary-color);
  top: 0;
  left: 0;
  opacity: 0.1;
  z-index: -1;
}

@media (max-width: 976px) {
  .header-search {
    display: none;
  }

  .search-opener {
    display: block;
  }
}

.landing-page-section.section-flashsale:before,
.landing-page-section.section-flashsale:after {
  content: none;
}

.product-flashsale-item:has(.not-started),
.product-flashsale-item:has(.ended) {
  display: none;
}

.product-flashsale-item:has(.active.ongoing)~.product-flashsale-item {
  display: none;
}

.compare-opener {
  position: fixed;
  bottom: 60px;
  display: block;
  top: auto !important;
  left: 25px;
  transform: translateY(-50%) scale(1);
  z-index: 999;
}

.compare-opener button {
  box-shadow: 0px 12px 32px 0px rgba(0, 0, 0, 0.2);
}

.compare-opener.hidden {
  transform: translateY(-50%) scale(0);
  display: none;
}

#error-modal {
  --dialog-index: 4000;
}

#error-modal .portal-inner {
  max-width: 30rem;
}

.content {
  word-break: break-word;
}

.section-products:has(.no-products) {
  display: none !important;
}

.section-brand__container {
  padding: 1rem 0;
}

footer .btn {
  color: var(--color-footer-text);
}

.footer-copyright {
  text-wrap: balance;
}

.card-product--vertical:after {
  opacity: 0.7;
}

.ega-badge-ctd__h {
  position: relative;
  height: 1em;
  overflow: hidden;
  line-height: 1;
}

.ega-badge-ctd--transition::before {
  transition: all 1s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.ega-badge-ctd--animate:before {
  position: relative;
  content: "00\a 01\a 02\a 03\a 04\a 05\a 06\a 07\a 08\a 09\a 10\a 11\a 12\a 13\a 14\a 15\a 16\a 17\a 18\a 19\a 20\a 21\a 22\a 23\a 24\a 25\a 26\a 27\a 28\a 29\a 30\a 31\a 32\a 33\a 34\a 35\a 36\a 37\a 38\a 39\a 40\a 41\a 42\a 43\a 44\a 45\a 46\a 47\a 48\a 49\a 50\a 51\a 52\a 53\a 54\a 55\a 56\a 57\a 58\a 59\a";
  white-space: pre;
  top: calc(var(--value) * -1em);
  text-align: center;
}

.product-detail .module-buyxgety .list-product-buyxgety .item-product-buyxgety .product-content-buyxgety .product-title-buyxgety {
  white-space: initial;
}

.heading-tabs .tab-btn.active {}

.spl-pane iframe {
  width: 90%;
  height: 90%;
}

#contact_map iframe {
  height: 100%;
}

.card-product .sapo-buyxgety-badge {
  top: auto;
  bottom: 15px;
  right: 15px;
  min-width: 20px;
}

.card-product .sapo-buyxgety-badge .icon-buyxgety {
  max-width: 20px;
}

.card-product .sapo-combo-badge {
  position: absolute;
  left: 15px;
  z-index: 2;
  min-width: 50px;
  bottom: 15px;
  top: auto;
  right: auto;
  font-size: 8px;
}

.card-product .sapo-combo-badge .label-text {
  border-radius: 4px;
}

.card-product .sapo-combo-badge .label-text+.label-text {
  display: none;
}

.ae-lang-selected a {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}

img.ae-icon-left {
  object-fit: contain;
  width: 16px;
}

.ae-type-dropdown {
  display: flex;
  align-items: center;
}

.ae-lang-selected a .ae-caret {
  width: auto;
}

.ae-lang-selected a span {
  display: none;
}

.ae-box-lang a span {
  display: inline;
}

#desktop-lang {
  min-width: 50px;
}

.prose :where(img):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
  display: inline-block;
}

.no-products {
  display: none;
}

.no-products-content .embla__buttons,
.no-products-content .embla__dots {
  display: none;
}

.sapo-product-reviews-badge:empty {
  display: none;
}

.product-cta .btn,
.product-contact__link {
  min-height: 60px;
}

.product-contact__zalo {
  --color-button-primary: #288ad6;
  --color-button-primary-text: white;
}

.product-contact__messenger {
  --color-button-primary: #3180f3;
  --color-button-primary-text: white;
}

.product-contact__phone {
  --color-button-primary: #d0cfcf;
  --color-button-primary-text: #000;
}

.product-contact__phone:hover {
  filter: brightness(0.9);
}

.btn-live {
  border-radius: 5px;
  padding: 4px 10px 4px 22px;
  color: var(--header-live-color);
  border: 1px solid var(--header-live-color);
  background: transparent;
  outline: none;
  position: relative;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
  max-width: 130px;
  cursor: pointer !important;
  overflow: hidden;
  font-size: 13px;
}

.btn-live:after {
  content: " ";
  background: var(--header-live-color);
  width: 8px;
  height: 8px;
  position: absolute;
  left: 7px;
  top: calc(50% - 4px);
  border-radius: 50%;
  animation: pulse-red 1.65s linear infinite;
}

@media (max-width: 991px) {
  .btn-live {
    padding: 2px 5px 0px 20px;
  }

  .btn-live:after {
    left: 6px;
  }
}

@media (max-width: 767px) {
  .addThis_listSharing .btn-live {
    padding: 0;
    width: 40px;
    font-size: 10px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: none;
  }

  .btn-live:after {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
  }
}

@keyframes pulselive {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.3;
  }
}

@keyframes pulse-red {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 var(--header-live-color);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
  }

  100% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

/** end naviagtion **/

.modal-live {
  position: fixed;
  max-width: 45%;
  max-height: 75%;
  bottom: 5px;
  top: auto !important;
  left: 50%;
  z-index: 9999;
  transform: translateY(calc(100% + 5px)) translateX(-50%);
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -ms-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}

@media (max-width: 767px) {
  .modal-live {
    display: none !important;
  }
}

.modal-live.opened {
  transform: translateY(0) translateX(-50%);
}

.modal-live .btn-close--live {
  position: absolute;
  right: -40px;
  top: 0;
  cursor: pointer;
  opacity: 0;
  padding: 0 10px;
}

.modal-live iframe {
  border-radius: 10px;
  display: block;
  width: 100%;
  height: 100%;
}

.modal-live .modal-live--inner {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.modal-live:hover .btn-close--live {
  opacity: 1;
}

.btn--soldout:not(.hidden) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.price {
  font-family: var(--font-body-family);
}

.compare-price {
  font-family: var(--font-body-family);
}

.aspect-custom {
  aspect-ratio: var(--aspect-ratio);
}

cart-form .product-list>div {
  min-width: 270px;
}

.link-underline {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 300ms, color 300ms, width 300ms;
  padding-block-end: 3px;
}

.link-underline:hover {
  background-size: 100% 1px;
}

.main-product {
  --header-offset: 1.2rem;
}

.product-detail-info-box-width {
  max-width: 140rem;
  width: 100%;
}

.social-share-group {
  background-color: #f9fafb;
}

.header-pinned .main-product {
  --header-offset: calc(var(--header-height) - 1.2rem);
}

.peer:checked~.peer-checked\:bg-\[var\(--color-button-primary\)\] {
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
}

.card-product .price {
  font-size: 1.6rem;
}

.card-product .compare-price {
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  .card-product .price {
    font-size: 1.4rem;
  }

  .card-product .compare-price {
    font-size: 1.2rem;
  }
}

/* Bundle Section Grid Layout */
.bundle-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: Stack vertically, image 100% */
  align-items: start;
  gap: 1.5rem;
  /* 24px on mobile */
  width: 100%;
  max-width: 100%;
}

/* Desktop: 2:3 ratio horizontal */
@media (min-width: 1024px) {
  .bundle-grid {
    grid-template-columns: 2fr 3fr;
    /* Desktop: Image 40%, Products 60% */
    gap: 4rem;
    /* 40px on desktop */
  }
}

/* Product Bundle - Modern Grid Layout */
.product-bundle-grid-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.product-bundle-grid {
  display: flex;
  width: 100%;
  gap: 1.5rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.product-bundle-grid::-webkit-scrollbar {
  display: none;
}

.product-bundle-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tablet & Desktop: Grid Layout */
@media (min-width: 768px) {
  .product-bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow: visible;
    width: 100%;
  }
}

.product-bundle-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-bundle-card:hover {
  box-shadow: none;
  transform: none;
}

.card-product-bundle .card-product__image img {
  transition: transform 0.3s ease;
}

.card-product-bundle:hover .card-product__image img {
  transform: scale(1.05);
}

/* Bundle Card Responsive Fixes */
.card-product-bundle {
  height: 100%;
}

.product-bundle-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Mobile specific */
@media (max-width: 767px) {

  /* Prevent image overflow */
  .section-bundle hot-spots,
  .section-bundle hot-spots>div,
  .section-bundle hot-spots img {
    max-width: 100%;
    width: 100%;
  }

  .section-bundle hot-spots img {
    height: auto;
    display: block;
    max-height: none;
    object-fit: cover;
  }

  .product-bundle-card {
    width: 280px;
    max-width: 80vw;
    flex: 0 0 auto;
  }

  /* Ensure smooth scrolling on mobile */
  .product-bundle-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0;
    gap: 1rem;
    padding-bottom: 1rem;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .product-bundle-card {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
  }

  .product-bundle-grid {
    overflow-x: visible;
    padding-bottom: 0;
  }
}


@media(min-width: 1025px) {
  .product-bundle-grid:has(.active) .product-bundle-card:not(.active) {
    opacity: 0.3;
  }
}


.tab-btn.active {
  background-size: 100% 2px;
  font-weight: 600;
}

.tab-btn:hover {
  background-size: 100% 2px;
}

.scrolling-promotion {
  display: flex;
  overflow: hidden;
}

.scrolling-promotion__container {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  align-items: center;
}

.scrolling-promotion__container:hover .scrolling-promotion--animated {
  animation-play-state: paused;
}

.scrolling-promotion__item {
  position: relative;
}

@media (min-width: 768px) {

  .scrolling-promotion__item img,
  .scrolling-promotion__item svg {
    height: var(--image-height, 100%);
  }
}

.scrolling-promotion--animated {
  animation: scroll var(--animate-duration, 12s) linear infinite;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-duration: var(--animate-duration, 12s);
  animation-play-state: running;
  will-change: transform;
}

.scrolling-promotion--ltr.scrolling-promotion--animated {
  animation-direction: reverse;
}

.scrolling-promotion--paused.scrolling-promotion--animated,
.scrolling-promotion--hover-pause:hover .scrolling-promotion--animated {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.card-product,
.product-gallery {
  --aspect-ratio: var(--product-aspect-ratio, 1 / 1);
}

.card-article .aspect-custom,
.card-article__image .aspect-custom {
  --aspect-ratio: var(--blogs-aspect-ratio, 1 / 1);
}

@media (max-width: 767px) {
  .hot-spot-item[open] {
    z-index: 9000;
  }

  .hot-spot-overlay {
    top: 0 !important;
  }

  .hot-spot-content.fixed {
    top: auto !important;
    left: 0 !important;
  }
}



.tiktok-embed:not([data-embed-type]) {
  max-width: max-content !important;
}

@media (max-width: 767px) {
  .tiktok-embed:not([data-embed-type]) {
    max-width: 100% !important;
  }
}

.btn.loading .btn-label {
  display: none
}

.embla__container.product-list {
  margin-left: calc(var(--spacing-4)*-1) !important;
}

.embla__container.product-list>div {
  padding-left: var(--spacing-4) !important;
}

@media (max-width: 767px) {
  .embla__container.product-list {
    margin-left: -0.8rem !important;
  }

  .embla__container.product-list>div {
    padding-left: 0.8rem !important;
  }
}

.section-flashsale .flashsale-heading {
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
}

/* Size Chart Modal Custom Styles */
#size-chart-modal .measurement-input-group input[type="number"] {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#size-chart-modal .measurement-input-group input[type="number"]:focus {
  border-color: var(--color-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

#size-chart-modal .size-chart-table-wrapper table {
  min-width: 100%;
  border: 1px solid var(--color-neutral-50);
  border-bottom: none;
}

#size-chart-modal .size-chart-table-wrapper table th {
  font-weight: 600;
  white-space: nowrap;
}

#size-chart-modal .size-chart-table-wrapper table td:first-child {
  border-left: none;
}

#size-chart-modal .size-chart-table-wrapper table td {
  white-space: nowrap;
  border-left: 1px solid var(--color-neutral-50);
  border-bottom: 1px solid var(--color-neutral-50);
}

#size-chart-modal #size-recommendation {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#size-chart-modal .btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-neutral-30, #d1d5db);
  color: var(--color-text, #1f2937);
}

#size-chart-modal .btn-outline:hover {
  background-color: var(--color-neutral-5, #f9fafb);
}

#size-chart-modal select#product-type-selector,
#product-type-selector-calculator {
  cursor: pointer;
  transition: border-color 0.2s ease;
  line-height: 1.3;
}

#size-chart-modal select#product-type-selector:hover {
  border-color: var(--color-primary, #2563eb);
}

/* Ensure smooth scrolling in modal */
#size-chart-modal .animation {
  -webkit-overflow-scrolling: touch;
}

#size-chart-modal .overflow-y-auto {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-track {
  background: transparent;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* Warning and Error states for recommendation box */
#size-chart-modal .bg-warning-light {
  background-color: #fef3c7;
}

#size-chart-modal .border-warning {
  border-color: #f59e0b;
}

#size-chart-modal .text-warning {
  color: #f59e0b;
}

#size-chart-modal .bg-error-light {
  background-color: #fee2e2;
}

#size-chart-modal .border-error {
  border-color: #ef4444;
}

#size-chart-modal .text-error {
  color: #ef4444;
}

#size-chart-modal .bg-info-light {
  background-color: #dbeafe;
}

#size-chart-modal .border-info {
  border-color: var(--color-primary);
}

#size-chart-modal .text-info {
  color: var(--color-primary);
}

/* Input validation states */
#size-chart-modal .measurement-input-group input.border-error {
  border-color: var(--color-error);
  background-color: var(--color-error-light);
}

#size-chart-modal .measurement-input-group input.border-error:focus {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(var(--color-error), 0.1);
}

#size-chart-modal .measurement-input-group input.border-success {
  border-color: var(--color-success);
  background-color: var(--color-success-light);
}

#size-chart-modal .measurement-input-group input.border-success:focus {
  border-color: var(--color-success);
  box-shadow: 0 0 0 3px rgba(var(--color-success), 0.1);
}

#size-chart-modal .input-error-message {
  display: block;
}

/* Default state styling */
#size-chart-modal .text-neutral-60 {
  color: var(--color-neutral-60);
}

#size-chart-modal .icon-info-circle {
  color: var(--color-neutral-60);
}

/* Modal scrolling optimization */
#size-chart-modal .animation {
  -webkit-overflow-scrolling: touch;
}

#size-chart-modal .flex-1.overflow-y-auto {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Mobile optimization */
@media (max-width: 768px) {
  #size-chart-modal .flex-1.overflow-y-auto {
    max-height: calc(95vh - 300px) !important;
  }
}

/* Modern UI Enhancements */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceSubtle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out;
}

.animate-bounce-subtle {
  animation: bounceSubtle 2s ease-in-out infinite;
}

/* Enhanced input styling */
#size-chart-modal input[type="number"] {
  transition: all 0.2s ease;
}

#size-chart-modal input[type="number"]:hover {
  border-color: rgba(var(--primary-rgb, 14, 78, 255), 0.3);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 14, 78, 255), 0.05);
}

#size-chart-modal input[type="number"]:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb, 14, 78, 255), 0.15);
}

/* Table styling enhancements */
#size-chart-modal table {
  border-collapse: separate;
  border-spacing: 0;
}

#size-chart-modal table th {
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  border-bottom: 2px solid #e5e7eb;
}

#size-chart-modal table td {
  padding: 0.875rem 1rem;
  transition: background-color 0.15s ease;
}

#size-chart-modal table tbody tr:hover td {
  background-color: rgba(var(--primary-rgb, 14, 78, 255), 0.02);
}

/* Button hover effects */
#size-chart-modal .btn-primary {
  position: relative;
  overflow: hidden;
}

#size-chart-modal .btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

#size-chart-modal .btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* Smooth scrollbar */
#size-chart-modal .overflow-y-auto::-webkit-scrollbar {
  width: 8px;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 10px;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #d1d5db, #9ca3af);
  border-radius: 10px;
  transition: background 0.2s;
}

#size-chart-modal .overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #9ca3af, #6b7280);
}

/* Tabs UI Styling */
#size-chart-modal .tab-button {
  position: relative;
}

#size-chart-modal .tab-button.active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

#size-chart-modal .tab-button:not(.active):hover {
  background: #f9fafb;
}

#size-chart-modal .tab-content {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

#size-chart-modal .tab-content.active {
  display: block;
}

/* ============================================
   SIMIGO BRAND COLOR TOKENS (Le Thuan 2026-05-21)
   Override default theme colors với brand chuẩn:
   - UNIQ: red #165DFC (Pantone 7621C, brand book official)
   - Crénot: purple #165DFC + yellow #FFE100 + gray #A8A8A8
   - SimiGO: purple #165DFC (estimate, cho Phu confirm hex chinh xac)
   ============================================ */
:root {
	  --color-primary: #165DFC;
	  --color-secondary: #165DFC;
	  --color-accent: #165DFC;
	  --color-foreground: #000000;
	  --color-link: #165DFC;
	  --color-sale: #165DFC;
	  --color-price: #165DFC;
	  --color-addtocart-bg: #165DFC;
	  --color-button-primary: #165DFC;
}

/* UNIQ brand context: khi user vao /collections/uniq, override --color-primary thanh UNIQ red */
body.template-collection[class*="uniq"] {
	  --color-primary: #165DFC;
	  --color-link: #165DFC;
}

/* Crénot brand context */
body.template-collection[class*="crenot"] {
	  --color-primary: #165DFC;
	  --color-link: #165DFC;
	  --color-accent: #FFE100;
}

/* FORCE override với !important vì css-variables.bwt load sau custom.css */
:root,
body {
	  --color-primary: #165DFC !important;
	  --color-secondary: #165DFC !important;
	  --color-accent: #165DFC !important;
	  --color-foreground: #131313 !important;
	  --color-link: #165DFC !important;
	  --color-sale: #165DFC !important;
	  --color-price: #165DFC !important;
	  --color-addtocart-bg: #165DFC !important;
	  --color-button-primary: #165DFC !important;
	  --color-highlight: #165DFC !important;
}

/* Quick win: button KHÁM PHÁ NGAY + các CTA primary */
.btn-primary,
.btn--primary,
.button--primary,
[class*="btn"][class*="primary"],
.add-to-cart,
.add_to_cart {
	  background-color: var(--color-button-primary) !important;
	  border-color: var(--color-button-primary) !important;
}
.btn-primary:hover,
.btn--primary:hover {
	  background-color: var(--color-secondary) !important;
	  border-color: var(--color-secondary) !important;
}

/* Link mau primary */
a:not([class]):not([href*="http"]) { color: var(--color-link) !important; }


/* ============================================
   FONT: Be Vietnam Pro (Vietnamese-friendly, modern sans-serif)
   ============================================ */
/* @import Plus Jakarta Sans đã chuyển lên ĐẦU file (CSS spec: @import phải đứng trước mọi rule, đặt giữa file bị bỏ qua → vỡ dấu tiếng Việt). Fix 26/06 */

/* 04/07 feedback Minh: body font = Inter. Google Fonts Inter KHÔNG có subset tiếng Việt (gây vỡ dấu 26/06)
   → self-host InterVariable.woff2 (bản chính thức rsms, CÓ đủ glyph tiếng Việt) làm theme asset 'SimiInter'.
   Headings = Criteria CF theo yêu cầu nhưng là font trả phí — tạm giữ Plus Jakarta Sans (gần nhất), chờ Minh cấp file font. */
@font-face {
  font-family: 'SimiInter';
  src: url('inter-var.woff2?v=20260704') format('woff2'); /* ?v bắt buộc: CDN cache bản upload hỏng 69b đầu tiên */
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root, body {
  --font-body-family: 'SimiInter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Be Vietnam Pro', sans-serif !important;
  --font-headings-family: 'Criteria CF', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Be Vietnam Pro', sans-serif !important;
}

body, p, span, div, a, button, input, textarea, select {
  font-family: var(--font-body-family) !important;
}

h1, h2, h3, h4, h5, h6, .heading {
  font-family: var(--font-headings-family) !important;
}

/* ============================================
   POLISH: hover, voucher, heading underline, focus states
   ============================================ */

.product-item:hover, .product-card:hover, [class*="product-block"]:hover { box-shadow: 0 8px 24px rgba(22, 93, 252, 0.18) !important; transition: box-shadow 0.25s ease; }

.product-item:hover .price, .product-card:hover .price { color: var(--color-secondary) !important; }

[class*="voucher"] [class*="code"], .voucher-code, .coupon-code { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important; color: #fff !important; border: none !important; }

/* CHỈ áp cho link văn bản KHÔNG class (a:not([class])) — tránh đè màu chữ MỌI nút dạng <a> gây mất/nhạt chữ khi hover. Fix global 26/06 */
a:not([class]):hover { color: var(--color-secondary) !important; transition: color 0.2s ease; }

h1, h2, h3, .heading-title { color: var(--color-foreground); }
h2 em, h3 em { color: var(--color-primary); font-style: normal; }

.badge-sale, .badge-discount, [class*="sale"][class*="badge"] { background: var(--color-secondary) !important; color: #fff !important; font-weight: 600 !important; }

button:focus, input:focus, select:focus, textarea:focus, a:focus { outline: 2px solid var(--color-primary) !important; outline-offset: 2px !important; }

/* ==============================================================
 * SIMI Member page styles
 * Append vào custom.css để Sapo serve
 * Author: Lê Thuận (2026-05-22)
 * ============================================================== */

.simi-member-page {
  --sm-radius: 16px;
  --sm-shadow: 0 4px 16px rgba(22, 93, 252, 0.1);
  --sm-shadow-hover: 0 8px 24px rgba(22, 93, 252, 0.18);
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px;
}

/* ----- HERO ----- */
.sm-hero {
  background: linear-gradient(135deg, #165DFC 0%, #1E40AF 100%);
  color: #fff;
  border-radius: var(--sm-radius);
  padding: 64px 32px;
  text-align: center;
  margin-bottom: 48px;
}
.sm-hero__title { font-size: 56px; font-weight: 800; margin: 0 0 16px; letter-spacing: -1px; }
.sm-hero__subtitle { font-size: 20px; margin: 0 0 24px; opacity: 0.95; }
.sm-hero__greeting { font-size: 16px; }
.sm-hero__greeting strong { color: #fff; } /* 09/07: bo vang le tong */
.sm-hero__cta { background: #fff; color: #165DFC; font-weight: 700; padding: 14px 32px; }
.sm-hero__hint { margin-top: 16px; font-size: 14px; opacity: 0.9; color: #fff; } /* 18/07 Minh: cả dòng chữ trắng */
.sm-hero__hint a { color: #FFE100; text-decoration: underline; }

/* ----- TIER GRID ----- */
.sm-tiers { margin-bottom: 48px; }
.sm-tiers__title { font-size: 32px; font-weight: 700; text-align: center; margin: 0 0 18px; } /* 18/07 Minh: "sát rịt" → giãn 8→18px */
.sm-tiers__desc { text-align: center; color: #666; margin: 0 0 32px; }
.sm-tiers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .sm-tiers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sm-tiers__grid { grid-template-columns: 1fr; } }
.sm-tiers__note { text-align: center; color: #999; font-size: 13px; margin-top: 24px; }

/* Tier card */
.sm-tier-card {
  background: #fff;
  border-radius: var(--sm-radius);
  padding: 24px;
  box-shadow: var(--sm-shadow);
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.sm-tier-card:hover { transform: translateY(-4px); box-shadow: var(--sm-shadow-hover); }
.sm-tier-card.is-current {
  border-color: #165DFC;
  background: linear-gradient(180deg, rgba(22, 93, 252, 0.05) 0%, #fff 100%);
  position: relative;
}
.sm-tier-card.is-current::before {
  content: 'Hạng của bạn';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #165DFC;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.sm-tier-card__badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 36px;
}
.sm-tier-card__icon { line-height: 1; }
.sm-tier-card__name { font-size: 22px; font-weight: 700; text-align: center; margin: 0 0 8px; }
.sm-tier-card__req { text-align: center; color: #666; font-size: 14px; margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.sm-tier-card__benefits { list-style: none; padding: 0; margin: 0; }
.sm-tier-card__benefits li { padding: 6px 0 6px 24px; position: relative; font-size: 14px; line-height: 1.5; }
.sm-tier-card__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #165DFC;
  font-weight: 700;
}

/* ----- MY TIER ----- */
.sm-mytier { background: #fafbfd; border-radius: var(--sm-radius); padding: 32px; margin-bottom: 48px; }
.sm-mytier__title { font-size: 28px; font-weight: 700; margin: 0 0 24px; }
.sm-mytier__card { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; }
@media (max-width: 600px) { .sm-mytier__card { grid-template-columns: 1fr; text-align: center; } }
.sm-mytier__badge { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sm-mytier__icon { font-size: 48px; line-height: 1; } .sm-mytier__icon svg { width:44px; height:44px; display:block; }
.sm-mytier__info { }
.sm-mytier__tier { margin: 0 0 8px; font-size: 24px; font-weight: 700; }
.sm-mytier__spent, .sm-mytier__orders { margin: 4px 0; color: #555; font-size: 15px; }
.sm-mytier__progress { grid-column: 1 / -1; margin-top: 16px; }
.sm-mytier__next { margin: 0 0 8px; font-size: 14px; color: #165DFC; font-weight: 600; }
.sm-mytier__bar { background: #e9ecef; border-radius: 8px; height: 12px; overflow: hidden; }
.sm-mytier__bar-fill { height: 100%; border-radius: 8px; transition: width 0.6s ease; }
.sm-mytier__percent { margin: 8px 0 0; font-size: 13px; color: #666; }
.sm-mytier__max { color: #C9A961; font-size: 18px; font-weight: 700; margin: 16px 0 0; }

/* ----- REFERRAL ----- */
.sm-referral { background: #fff; border-radius: var(--sm-radius); padding: 32px; margin-bottom: 48px; border: 1px solid #f0f0f0; }
.sm-referral__title { font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.sm-referral__desc { color: #666; margin: 0 0 24px; }
.sm-referral__box { }
.sm-referral__label { display: block; font-weight: 600; margin-bottom: 8px; color: #333; }
.sm-referral__code-row { display: flex; gap: 8px; max-width: 480px; }
.sm-referral__code {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  padding: 12px 16px;
  border: 2px dashed #165DFC;
  border-radius: 8px;
  background: rgba(22, 93, 252, 0.06);
  color: #165DFC;
  letter-spacing: 1px;
}
.sm-referral__copy { background: #165DFC; color: #fff; padding: 12px 24px; font-weight: 600; }
.sm-referral__copy:hover { background: #1E40AF; }

.sm-referral__share { margin-top: 24px; }
.sm-referral__share-label { font-weight: 600; margin-bottom: 12px; }
.sm-referral__share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.sm-referral__share-btn { padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.sm-referral__share-btn--zalo { background: #0068FF; color: #fff; }
.sm-referral__share-btn--fb { background: #1877F2; color: #fff; }
.sm-referral__share-btn--copy-url { background: #f0f0f0; color: #333; border: 1px solid #ddd; }

.sm-referral__history { margin-top: 32px; padding-top: 24px; border-top: 1px solid #f0f0f0; }
.sm-referral__history h4 { margin: 0 0 16px; font-size: 18px; }
.sm-ref-history-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f5f5f5; }
.sm-ref-history-status.is-rewarded { color: #28a745; font-weight: 600; }
.sm-ref-history-status.is-pending { color: #999; }

.sm-referral__guest { text-align: center; padding: 32px; }
.sm-referral__guest .btn { margin: 0 8px; }

/* ----- VOUCHER ----- */
.sm-voucher { background: linear-gradient(135deg, #165DFC 0%, #1E40AF 100%); color: #fff; border-radius: var(--sm-radius); padding: 48px 32px; text-align: center; margin-bottom: 48px; }
.sm-voucher__title { font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.sm-voucher__desc { margin: 0 0 24px; opacity: 0.95; }
.sm-voucher__cta { background: #fff; color: #165DFC; font-weight: 700; padding: 14px 32px; }

/* ----- FAQ ----- */
.sm-faq { margin-bottom: 48px; }
.sm-faq__title { font-size: 28px; font-weight: 700; margin: 0 0 24px; }
.sm-faq__item { background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; margin-bottom: 8px; padding: 16px 20px; }
.sm-faq__item summary { font-weight: 600; cursor: pointer; padding: 4px 0; list-style: none; }
.sm-faq__item summary::-webkit-details-marker { display: none; }
.sm-faq__item summary::after { content: '+'; float: right; font-size: 24px; color: #165DFC; transition: transform 0.2s; }
.sm-faq__item[open] summary::after { content: '−'; }
.sm-faq__item p { margin: 12px 0 0; color: #555; line-height: 1.6; }

/* ----- CTA ----- */
.sm-cta { background: #131313; color: #fff; border-radius: var(--sm-radius); padding: 64px 32px; text-align: center; }
.sm-cta__title { font-size: 32px ; font-weight: 700; margin: 0 0 8px; }
.sm-cta__desc { margin: 0 0 24px; opacity: 0.85; }
.sm-cta__btn { background: #165DFC; color: #fff; padding: 16px 40px; font-size: 16px; font-weight: 700; }
.sm-cta__btn:hover { background: #1E40AF; }

/* ============================================================
   PHASE 3 — Brand-scoped theming
   Author: Le Thuan (2026-05-22)
   Scope: body.coll-{alias} on collection pages, body.vendor-{handle} on product detail
   Strategy: override CSS variables + button + accent color theo brand
   ============================================================ */

/* ----- UNIQ collection (red #165DFC) ----- */
body.coll-uniq {
  --color-primary: #165DFC !important;
  --color-button-primary: #165DFC !important;
  --color-button-primary-hover: #9A0024 !important;
  --color-accent: #165DFC !important;
  --color-link: #165DFC !important;
}
body.coll-uniq .btn-primary,
body.coll-uniq .add-to-cart,
body.coll-uniq button[type="submit"]:not([class*="search"]),
body.coll-uniq .product-card .btn,
body.coll-uniq .product-item__actions .btn,
body.coll-uniq .price__current,
body.coll-uniq .product-card__price--current { color: #165DFC !important; }
body.coll-uniq .btn-primary,
body.coll-uniq .add-to-cart,
body.coll-uniq button[type="submit"]:not([class*="search"]) { background-color: #165DFC !important; color: #fff !important; }
body.coll-uniq a:not([class]):hover,
body.coll-uniq .product-card a:hover,
body.coll-uniq .product-item a:hover { color: #165DFC !important; }
body.coll-uniq .badge--sale,
body.coll-uniq .product-card__badge--sale,
body.coll-uniq [class*="badge"][class*="sale"] { background-color: #165DFC !important; color: #fff !important; }

/* ----- Crénot collection (purple #165DFC) ----- */
body.coll-thuong-hieu-crenot {
  --color-primary: #165DFC !important;
  --color-button-primary: #165DFC !important;
  --color-button-primary-hover: #124ACA !important;
  --color-accent: #165DFC !important;
  --color-link: #165DFC !important;
}
body.coll-thuong-hieu-crenot .btn-primary,
body.coll-thuong-hieu-crenot .add-to-cart,
body.coll-thuong-hieu-crenot button[type="submit"]:not([class*="search"]),
body.coll-thuong-hieu-crenot .product-card .btn,
body.coll-thuong-hieu-crenot .price__current,
body.coll-thuong-hieu-crenot .product-card__price--current { color: #165DFC !important; }
body.coll-thuong-hieu-crenot .btn-primary,
body.coll-thuong-hieu-crenot .add-to-cart,
body.coll-thuong-hieu-crenot button[type="submit"]:not([class*="search"]) { background-color: #165DFC !important; color: #fff !important; }
body.coll-thuong-hieu-crenot a:not([class]):hover,
body.coll-thuong-hieu-crenot .product-card a:hover { color: #165DFC !important; }
body.coll-thuong-hieu-crenot .badge--sale,
body.coll-thuong-hieu-crenot [class*="badge"][class*="sale"] { background-color: #FFE100 !important; color: #1a1a1a !important; }

/* ----- Lifetrons keeps default SimiGO purple ----- */

/* ----- Collection page header (banner) accent ----- */
body[class*="coll-"] .collection-header,
body[class*="coll-"] .collection__title,
body[class*="coll-"] [class*="collection-banner"] {
  --header-accent: var(--color-primary);
}
body[class*="coll-"] .collection__title h1 { color: var(--color-primary) !important; }

/* ----- Product card hover lift (brand-agnostic, applies to all collections) ----- */
body[class*="coll-"] .product-card,
body[class*="coll-"] .product-loop,
body[class*="coll-"] .product-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
body[class*="coll-"] .product-card:hover,
body[class*="coll-"] .product-loop:hover,
body[class*="coll-"] .product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* ----- Product detail page: brand vendor scope ----- */
body.vendor-uniq {
  --color-primary: #165DFC !important;
  --color-button-primary: #165DFC !important;
  --color-accent: #165DFC !important;
}
body.vendor-uniq .add-to-cart,
body.vendor-uniq .btn-primary,
body.vendor-uniq button.product-form__cart-submit { background-color: #165DFC !important; color: #fff !important; }
body.vendor-uniq .price__current,
body.vendor-uniq .product__price--current { color: #165DFC !important; }

body.vendor-crenot,
body.vendor-cre-not {
  --color-primary: #165DFC !important;
  --color-button-primary: #165DFC !important;
  --color-accent: #165DFC !important;
}
body.vendor-crenot .add-to-cart,
body.vendor-cre-not .add-to-cart,
body.vendor-crenot .btn-primary,
body.vendor-cre-not .btn-primary,
body.vendor-crenot button.product-form__cart-submit,
body.vendor-cre-not button.product-form__cart-submit { background-color: #165DFC !important; color: #fff !important; }
body.vendor-crenot .price__current,
body.vendor-cre-not .price__current { color: #165DFC !important; }

/* ----- Filter sidebar polish (brand-agnostic) ----- */
body[class*="coll-"] aside[class*="filter"],
body[class*="coll-"] .filter-sidebar,
body[class*="coll-"] .aside-filter {
  border-right: 1px solid #eee;
  padding-right: 16px;
}
body[class*="coll-"] aside[class*="filter"] h3,
body[class*="coll-"] aside[class*="filter"] h4,
body[class*="coll-"] .filter-sidebar h3,
body[class*="coll-"] .filter-sidebar h4 {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
}
body[class*="coll-"] aside[class*="filter"] input[type="checkbox"],
body[class*="coll-"] .filter-sidebar input[type="checkbox"] {
  accent-color: var(--color-primary, #165DFC);
}

/* ----- Mobile sticky add-to-cart bar (product detail) ----- */
@media (max-width: 768px) {
  body[class*="vendor-"] .sticky-cart-bar,
  body.template-product .product-form__cart-submit-mobile { display: block; }
}

/* End Phase 3 brand-scoped */


/* ----- Phase 3: Product card vendor badge ----- */
.card-product__vendor {
  display: inline-block !important;
  background: var(--color-primary, #165DFC) !important;
  color: #fff !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  align-self: flex-start;
  margin: 0 0 4px;
  line-height: 1.4;
  transition: background-color 0.2s;
}
/* On default (no coll-X) keep SimiGO purple — variable inherits */
body:not([class*="coll-"]):not([class*="vendor-"]) .card-product__vendor { background: #165DFC !important; }
/* On /collections/all show mixed — but vendor text varies; emphasize visually */
body.coll-all .card-product__vendor {
  background: #f5f5f7 !important;
  color: #1a1a1a !important;
  border: 1px solid #e0e0e0;
}

/* ----- Phase 3: Card overflow only — NO image scale hover (conflict với EGA quick-add button overlay) ----- */
.card-product { overflow: hidden; }

/* ----- Phase 3: Per-card brand badge color (JS adds .card-vendor-<handle> theo vendor text) ----- */
.card-product.card-vendor-uniq .card-product__vendor { background: #165DFC !important; color: #fff !important; border: 0 !important; }
.card-product.card-vendor-crenot .card-product__vendor,
.card-product.card-vendor-cre-not .card-product__vendor { background: #165DFC !important; color: #fff !important; border: 0 !important; }
.card-product.card-vendor-lifetrons .card-product__vendor { background: #1a1a1a !important; color: #fff !important; border: 0 !important; }

/* Override .coll-all neutral on cards that have brand class */
body.coll-all .card-product.card-vendor-uniq .card-product__vendor { background: #165DFC !important; color: #fff !important; }
body.coll-all .card-product.card-vendor-crenot .card-product__vendor,
body.coll-all .card-product.card-vendor-cre-not .card-product__vendor { background: #165DFC !important; color: #fff !important; }

/* ----- Phase 3: Sale percentage badge polish ----- */
[class*="card-product"] [class*="badge"][class*="sale"],
[class*="card-product"] [class*="-sale"],
.product-loop__sale,
.product-card__sale {
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px;
}

/* End vendor badge */

/* ----- Phase 3: Hide EGA "LIVE" TikTok module (demo content @valencias____, Simigo chưa có TikTok riêng) ----- */
.header-box-live,
.btn-live,
.modal-live { display: none !important; }


/* ----- Phase 3 fix: ensure btn-primary text is white (was inheriting var --color-primary giving same color as BG = invisible) ----- */
.btn.btn-primary,
.sm-hero__cta,
.sm-cta__btn,
.vct-cta,
.vct-btn-primary,
.vct-btn-secondary {
  color: #ffffff !important;
}
.vct-cta,
.vct-btn-primary {
  color: #1a1a1a !important; /* yellow BG needs dark text */
}

/* Fix "Đăng nhập" link contrast trên hero SIMI Member purple BG */
.sm-hero__hint a {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-weight: 600;
}
.sm-hero__hint a:hover { color: #FFE100 !important; }


/* ----- Hide EGA demo sections (voucher EGA50/EGAT10/FREESHIP/EGA500K) ----- */
/* 04/07: bỏ ẩn .section-collection-banner (Minh "thiếu banner ở đây") — giờ có banner thật UNIQ + placeholder cho coll khác */
.section-coupons { display: none !important; }
.coupon-drawer { display: none !important; }
.section-video-social { display: none !important; }

/* ----- Phase 3: Hide product page coupon-box (EGA50/EGAT10 vouchers placeholder, đợi Phú rename) ----- */
.coupon-box,
.product-form-wrapper .coupon-group { display: none !important; }
/* Hide product-page "Kết nối" social section nếu trống */
.section-video-social,
[class*="seller-vn.tiktok"] { display: none !important; }

/* ----- Phase 3: Hide EGA promo-box-group (Nhập mã EGANY...) on product page ----- */
.promo-box-group { display: none !important; }

/* ----- Phase 3: Hide footer copyright "© EGANY | Cung cấp bởi Sapo" ----- */
.footer-copyright { display: none !important; }

/* ----- Phase 3: Hide social-icons section "Mạng xã hội" (chờ Phú gửi link real) ----- */
.social-icons { display: none !important; }
/* 19/09 fb 17-9 #7: khối social UNIQ/Crénot (22/06) bị rule trên ẩn luôn -> mở lại */
.social-icons.simi-foot-social { display: block !important; }

/* ============================================================
   PHASE 8 polish — UI/UX fixes (22/05/2026)
   Sau khi chạy 71 testcase, fix 4 issue improvement
   ============================================================ */

/* ----- FIX #1: Focus state visible cho keyboard a11y (WCAG 2.4.7) ----- */
*:focus-visible {
  outline: 2px solid var(--color-primary, #165DFC) !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}
/* Buttons / links: thicker outline */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-primary, #165DFC) !important;
  outline-offset: 3px !important;
}
/* Override theme rules that remove outline globally */
*:focus { outline: none; }
*:focus-visible { outline-style: solid !important; }

/* ----- FIX #3: Image aspect-ratio chống CLS (Cumulative Layout Shift) ----- */
/* Product card image: square ratio */
.card-product__image,
.card-product__image-wrapper,
.product-loop__image,
.product-card__image,
[class*="card-product"] .image-wrap,
[class*="product-card"] .image-wrap {
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  overflow: hidden;
}
.card-product__image img,
.product-loop__image img,
.product-card__image img,
[class*="card-product"] img:not(.brand-logo):not(.badge) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Hero banner: giữ 1920/720. 24/09 ảnh UNIQ "Smart Living Simple Life" gốc 1920x600 -> đã pad thêm 120px nền lên TRÊN (asset home_slider_1.jpg) để header trong suốt không đè logo UNIQ; cover ở 600 thì mất logo trái + cột "3+ Premium Brand" phải */
.section-home-banner picture,
.section-home-banner img {
  aspect-ratio: 1920 / 720;
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* Collection banner: 16:5 ratio */
.collection-banner img,
[class*="collection-header"] img {
  aspect-ratio: 1920 / 600;
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* Logo SIMI.VN: tỉ lệ 800/158 (~5.06:1) — logo SIMI.VN official Minh, height cố định, width auto (chống CLS + chống méo) */
.header-logo, .header-logo-transparent {
  aspect-ratio: 800 / 158;
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.footer-logo img {
  aspect-ratio: 800 / 158;
  height: 46px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

/* ----- FIX #4: Click target ≥44px cho mobile (WCAG 2.5.5) ----- */
@media (max-width: 768px) {
  /* Tất cả button + link interactive ≥44x44 */
  a.btn, button, .btn,
  .add-to-cart, .product-card__action,
  .card-product__action button, .card-product__action a,
  input[type="submit"], input[type="button"],
  [role="button"] {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* Menu links có padding đủ */
  nav a, .navigation-horizontal a, .menu-item a {
    padding: 12px 16px;
    min-height: 44px;
  }
  /* Icon buttons (search/cart/account) ≥44x44 */
  .header-icon-btn, .icon-button, button[aria-label],
  .header-search, .header-cart, .header-account {
    min-width: 44px;
    min-height: 44px;
  }
}

/* End Phase 8 UI/UX polish */
/* ============================================
   PHASE 7 — BLOG / ARTICLE STYLES (Lê Thuận 2026-05-26)
   Brand-scoped: blog-uniq-tips (UNIQ red) / blog-crenot-wellness (Crénot purple)
   ============================================ */

/* Article card — modern hover + brand badge */
body.blog .article-list .item-article,
body.blog .article-list article,
body.blog .article-list .article-card,
body.article .article-card,
.related-articles .article-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.blog .article-list .item-article:hover,
body.blog .article-list .article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 93, 252, 0.12);
}

/* Article card hover badge color theo brand */
body.blog-uniq-tips .article-list .item-article:hover,
body.blog-uniq-tips .article-list .article-card:hover {
  box-shadow: 0 12px 28px rgba(188, 0, 45, 0.18) !important;
}
body.blog-crenot-wellness .article-list .item-article:hover,
body.blog-crenot-wellness .article-list .article-card:hover {
  box-shadow: 0 12px 28px rgba(105, 58, 201, 0.18) !important;
}

/* Article title (card) — typographic polish */
body.blog .article-list h2,
body.blog .article-list h3,
body.blog .article-list .item-article a {
  font-weight: 700;
  letter-spacing: -0.01em;
}
body.blog .article-list h2 a:hover,
body.blog .article-list h3 a:hover,
body.blog .article-list .item-article a:hover {
  color: #165DFC;
}
body.blog-uniq-tips .article-list h2 a:hover,
body.blog-uniq-tips .article-list h3 a:hover {
  color: #165DFC;
}
body.blog-crenot-wellness .article-list h2 a:hover,
body.blog-crenot-wellness .article-list h3 a:hover {
  color: #165DFC;
}

/* Article detail — modern typography */
body.article .article-content,
body.article .prose,
body.article .rte .content {
  font-family: 'Plus Jakarta Sans', -apple-system, 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2a2a2a;
}
body.article .article-content h2,
body.article .prose h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin: 32px 0 14px;
  padding-bottom: 6px;
  color: #1a1a1a;
  border-bottom: 2px solid #f0eef9;
  letter-spacing: -0.01em;
}
body.article .article-content h3,
body.article .prose h3 {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  margin: 24px 0 10px;
  color: #1a1a1a;
}
body.article .article-content p,
body.article .prose p {
  margin: 0 0 14px;
}
body.article .article-content ul,
body.article .article-content ol,
body.article .prose ul,
body.article .prose ol {
  padding-left: 24px;
  margin: 0 0 18px;
}
body.article .article-content li,
body.article .prose li {
  margin-bottom: 6px;
  line-height: 1.7;
}
body.article .article-content img,
body.article .prose img {
  border-radius: 12px;
  margin: 16px 0;
  max-width: 100%;
  height: auto;
}
body.article .article-content blockquote,
body.article .prose blockquote {
  background: #f8f7fc;
  border-left: 4px solid #165DFC;
  padding: 14px 20px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
  font-style: italic;
  color: #4b4870;
}
body.blog-uniq-tips .article-content blockquote,
body.blog-uniq-tips .prose blockquote {
  border-left-color: #165DFC !important;
}
body.blog-crenot-wellness .article-content blockquote,
body.blog-crenot-wellness .prose blockquote {
  border-left-color: #165DFC !important;
}

/* Article H1 title — bigger + bolder */
body.article h1.text-h4 {
  font-size: clamp(24px, 3.5vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  margin: 16px 0 16px !important;
  color: #1a1a1a;
}

/* TOC — restyle to match brand */
body.article .toc-wrapper {
  background: #fafafd !important;
  border: 1px solid #ece9f4 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
}
body.article .toc-title {
  color: #165DFC;
  font-size: 13px !important;
  letter-spacing: 1px;
}
body.blog-uniq-tips .toc-title { color: #165DFC; }
body.blog-crenot-wellness .toc-title { color: #165DFC; }

body.article .js-toc a {
  display: block;
  padding: 6px 10px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  transition: background 0.15s, color 0.15s;
}
body.article .js-toc a:hover {
  background: #f0eef9;
  color: #165DFC;
}
body.blog-uniq-tips .js-toc a:hover { background: #fff0f3; color: #165DFC; }
body.blog-crenot-wellness .js-toc a:hover { background: #f3edff; color: #165DFC; }

body.article .js-toc a.is-active-link,
body.article .js-toc .is-active-li > a {
  background: linear-gradient(135deg, #165DFC, #165DFC);
  color: #fff !important;
  font-weight: 600;
}
body.blog-uniq-tips .js-toc a.is-active-link,
body.blog-uniq-tips .js-toc .is-active-li > a {
  background: #165DFC !important;
}
body.blog-crenot-wellness .js-toc a.is-active-link,
body.blog-crenot-wellness .js-toc .is-active-li > a {
  background: #165DFC !important;
}

/* Article image rounded */
body.article .article-image img {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Article meta (date / size selector row) — cleaner */
body.article .cart-article__date {
  font-size: 14px;
  color: #777;
}

/* Related articles section — restyle */
body.article .blog-aside-article .title-head {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #165DFC;
  border-bottom-color: #ece9f4 !important;
}
body.blog-uniq-tips .blog-aside-article .title-head { color: #165DFC !important; }
body.blog-crenot-wellness .blog-aside-article .title-head { color: #165DFC !important; }

/* Share buttons subtle restyle */
body.article .article-share {
  padding: 18px 0;
  border-top: 1px solid #ece9f4;
  border-bottom: 1px solid #ece9f4;
  margin: 28px 0 !important;
}

/* Article focus-visible */
body.blog a:focus-visible,
body.article a:focus-visible {
  outline: 2px solid #165DFC;
  outline-offset: 3px;
  border-radius: 4px;
}
body.blog-uniq-tips a:focus-visible { outline-color: #165DFC; }
body.blog-crenot-wellness a:focus-visible { outline-color: #165DFC; }

/* Mobile tweaks for article */
@media (max-width: 640px) {
  body.article .article-content h2,
  body.article .prose h2 { font-size: 19px; margin: 24px 0 10px; }
  body.article .article-content,
  body.article .prose { font-size: 15px; line-height: 1.7; }
  body.article .toc-wrapper { padding: 12px 14px !important; }
}

/* End Phase 7 — Blog/Article */

/* ============================================
   PHASE 7 BIS — Hide remaining EGA demo sections (Lê Thuận 2026-05-26)
   ============================================ */
/* "Mua trọn bộ trang phục" — fashion bundle EGA — 18/07: MỞ LẠI làm section "Flagship Online" (frame Minh) */
/* "Mix & Match Giày mới" — sneaker video review EGA */
.section-video-review { display: none !important; }
/* End */

/* ============================================
   PHASE 7 TER — Disable EGANY newsletter form (Lê Thuận 2026-05-26)
   Lý do: newsletter_form_action trỏ Mailchimp EGANY → data leak
   Action: Hide form tạm thời, hiện CTA "Liên hệ Zalo" thay thế
   Phú setup Mailchimp Simigo riêng → revert CSS này
   ============================================ */
.subscribe-form,
.newsletter-form,
.section-newsletter form,
form[action=""],
form[action*="EGANY"] {
  display: none !important;
}
/* Show fallback message */
.subscribe-fallback {
  background: linear-gradient(135deg, #165DFC 0%, #165DFC 100%);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
}
.subscribe-fallback a {
  color: #FFE100;
  font-weight: 600;
  text-decoration: underline;
}
/* End */

/* === FIX hover mất chữ 2 nút CTA "Đặc quyền thành viên" (trang chủ) ===
   Global `a:hover{color:var(--color-secondary)!important}` (dòng ~2717) đè màu chữ link → chữ trùng nền azure = tàng hình.
   Override specificity cao hơn + !important: giữ chữ rõ, hover chỉ sáng nhẹ. (Minh 26/06) */
.simi-member-cta .smcta-btn--primary:hover { color:#fff !important; background:#2f6dff !important; }
.simi-member-cta .smcta-btn--ghost:hover { color:#fff !important; background:rgba(255,255,255,.18) !important; border-color:#fff !important; }

/* Footer nút "Nhắn tin Zalo nhận ưu đãi" + link footer subscribe: global a:hover làm mờ chữ → giữ trắng rõ (Minh 26/06) */
.email-subscribe a:hover { color:#fff !important; }

/* Header SIMI nav: hover gạch chân trượt (currentColor → SALE đỏ tự ra gạch đỏ) — Minh 26/06 */
.simi-nav .menu-item__link{ position:relative; transition:opacity .18s ease; }
.simi-nav .menu-item__link::after{ content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:currentColor; border-radius:2px; transform:scaleX(0); transform-origin:left center; transition:transform .22s ease; }
.simi-nav .menu-item__link:hover::after{ transform:scaleX(1); }
.simi-nav .menu-item__link:hover{ opacity:.85; }

/* === BLOG EMPTY STATE (Phase 7 polish 27/05) === */
.bb-empty-state { grid-column: 1 / -1; padding: 64px 24px 56px; text-align: center; color: #4a4a4a; max-width: 540px; margin: 0 auto; }
.bb-empty-icon { width: 80px; height: 80px; margin: 0 auto 20px; color: #c4c4d4; display: block; }
body.blog-uniq-tips .bb-empty-icon { color: #165DFC; opacity: 0.45; }
body.blog-crenot-wellness .bb-empty-icon { color: #165DFC; opacity: 0.45; }
.bb-empty-title { font-size: 22px; font-weight: 700; margin: 0 0 10px; color: #1a1a1a; line-height: 1.3; }
.bb-empty-subtitle { font-size: 15px; line-height: 1.55; margin: 0 auto 24px; color: #555; max-width: 440px; }
.bb-empty-cta { display: inline-block; padding: 11px 26px; background: var(--color-primary, #165DFC); color: #fff !important; border-radius: 999px; font-weight: 600; font-size: 14px; letter-spacing: 0.3px; text-decoration: none !important; transition: transform 0.2s, box-shadow 0.2s; }
body.blog-uniq-tips .bb-empty-cta { background: #165DFC; }
body.blog-crenot-wellness .bb-empty-cta { background: #165DFC; }
.bb-empty-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); color: #fff !important; }
.bb-empty-cta:focus-visible { outline: 3px solid #165DFC; outline-offset: 3px; }
@media (max-width: 640px) { .bb-empty-state { padding: 44px 16px 40px; } .bb-empty-icon { width: 64px; height: 64px; margin-bottom: 14px; } .bb-empty-title { font-size: 19px; } .bb-empty-subtitle { font-size: 14px; } }
/* === END BLOG EMPTY STATE === */

/* === ISSUE #1 FIX (27/05 trưa): Bump h1 collection hierarchy === */
body.collection .heading,
body.collection h1.heading,
body.collection .container > h1 { font-size: 36px !important; font-weight: 700 !important; line-height: 1.2; margin-bottom: 8px; }
@media (max-width: 767px) {
  body.collection .heading,
  body.collection h1.heading,
  body.collection .container > h1 { font-size: 24px !important; }
}
/* === END ISSUE #1 FIX === */

/* === LOADING SKELETON product card (27/05 polish) === */
.card-product .link.aspect-custom { position: relative; overflow: hidden; background: #f5f5f7; }
.card-product .link.aspect-custom::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f3f3f5 0%, #ececef 50%, #f3f3f5 100%); background-size: 200% 100%; animation: simigo-skel 1.4s ease-in-out infinite; z-index: 0; pointer-events: none; }
.card-product .link.aspect-custom img { position: relative; z-index: 1; opacity: 0; animation: simigo-img-in 0.6s ease-out 0.1s forwards; }
.card-product .link.aspect-custom img.lazyloaded,
.card-product .link.aspect-custom img[src*="."]:not([src=""]) { animation: simigo-img-in 0.4s ease-out forwards; }
@keyframes simigo-skel { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes simigo-img-in { from { opacity: 0; } to { opacity: 1; } }
/* End skeleton */

/* === SIMIGO MENU DESKTOP FIX (Round 2 - Nhan #1) === */
@media (min-width:1024px){
  .header-wrapper{ grid-template-columns: auto minmax(0,1fr) auto !important; gap:12px !important; }
  .header-nav{ width:100% !important; max-width:none !important; margin:0 !important; }
  .navigation--horizontal{ width:100% !important; }
  .navigation-horizontal-wrapper{ max-width:100% !important; overflow:visible !important; }
  ul.navigation-horizontal{ width:100% !important; justify-content:space-between !important; flex-wrap:nowrap !important; column-gap:2px !important; }
  ul.navigation-horizontal > li > a{ font-size:14px !important; padding-left:7px !important; padding-right:7px !important; white-space:nowrap !important; letter-spacing:-0.2px !important; }
}
/* === END MENU FIX === */

/* === MENU FIX v2 (nới full + font 13) === */
@media (min-width:1024px){
  .header-wrapper{ max-width:100% !important; padding-left:16px !important; padding-right:16px !important; column-gap:8px !important; }
  ul.navigation-horizontal > li > a{ font-size:13px !important; padding-left:5px !important; padding-right:5px !important; }
}
/* === END v2 === */

/* === MENU FIX v3 (đóng khoảng cuối) === */
@media (min-width:1024px){
  .navigation-horizontal-wrapper{ max-width:none !important; width:100% !important; }
  .header-nav{ width:100% !important; }
  ul.navigation-horizontal{ column-gap:0 !important; }
  ul.navigation-horizontal > li > a{ font-size:12.5px !important; padding-left:4px !important; padding-right:4px !important; }
}
/* === END v3 === */

/* === MENU FIX v4 (giảm padding container header) === */
@media (min-width:1024px){
  .header > .container{ padding-left:24px !important; padding-right:24px !important; }
}
/* === END v4 === */

/* === SIMI MEMBER FIX #2 (card nổi khối) === */
.sm-tier-card{ background:#ffffff !important; box-shadow:0 6px 22px rgba(17,17,26,.08), 0 2px 6px rgba(17,17,26,.04) !important; transition:transform .25s ease, box-shadow .25s ease; }
.sm-tier-card:hover{ transform:translateY(-4px); box-shadow:0 14px 34px rgba(22,93,252,.20) !important; }
/* === END #2 === */

/* === BLOG TAG HOVER FIX #5 (Nhan - chữ mất khi hover) === */
a[href*="/tagged/"]:hover, .article-tags a:hover, .blog-tags a:hover{ background-color:var(--color-secondary,#165DFC) !important; color:#ffffff !important; border-color:var(--color-secondary,#165DFC) !important; }
/* === END #5 === */

/* === COLLECTION FIX B3+B5 (Nhan) === */
.card-product__badges{ left:auto !important; right:8px !important; }
.sort-mobile .labbel, label.labbel.text-neutral-100{ color:#4a4a4a !important; }
/* === END B3+B5 === */

/* === RUBY RED + NỔI KHỐI (Nhan - nút CTA cao cấp) === */
.btn_base, .btn_base.buynow, .btn_base.btn_add_cart, .btn-primary, .add-to-cart{
  background:linear-gradient(180deg,#165DFC 0%,#165DFC 55%,#165DFC 100%) !important;
  box-shadow:0 4px 14px rgba(165,0,38,.30), inset 0 1px 0 rgba(255,255,255,.18) !important;
  border:none !important;
  transition:transform .15s ease, box-shadow .15s ease !important;
}
.btn_base:hover, .btn-primary:hover, .add-to-cart:hover{ box-shadow:0 7px 20px rgba(165,0,38,.40), inset 0 1px 0 rgba(255,255,255,.18) !important; transform:translateY(-1px); }
.btn_base:active, .btn-primary:active{ transform:translateY(1px); box-shadow:0 2px 8px rgba(165,0,38,.32) !important; }
/* === END RUBY === */

/* === RUBY GRADIENT v2 (force background-image + specificity) === */
button.btn_base, a.btn_base, .btn_base.buynow, .btn_base.btn_add_cart, button.btn-primary, a.btn-primary{
  background-image:linear-gradient(180deg,#165DFC 0%,#165DFC 55%,#165DFC 100%) !important;
  background-color:#165DFC !important;
}
/* === END ruby v2 === */

/* === BUTTON DEPTH FINAL (clean, bỏ gradient lỗi) === */
.btn_base, .btn--primary, button.btn--primary, a.btn--primary{
  background-image:none !important;
  box-shadow:0 4px 14px rgba(165,0,38,.26), inset 0 1px 0 rgba(255,255,255,.16) !important;
  transition:transform .15s ease, box-shadow .15s ease !important;
}
.btn_base:hover, .btn--primary:hover{ box-shadow:0 7px 20px rgba(165,0,38,.36), inset 0 1px 0 rgba(255,255,255,.16) !important; transform:translateY(-1px); }
.btn_base:active, .btn--primary:active{ transform:translateY(1px); }
/* === END button depth === */

/* === FIX hover nút --primary (đỏ mất chữ) === */
.btn--primary:hover{
  background-color:var(--color-primary) !important;
  border-color:var(--color-primary) !important;
  color:#ffffff !important;
  filter:brightness(0.93);
  box-shadow:0 7px 20px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.16) !important;
  transform:translateY(-1px);
}
.btn--primary:hover *{ color:#ffffff !important; }
/* === END fix hover === */

/* === MENU UNDERLINE GROW-FROM-CENTER (Nhan UX) === */
@media (min-width:1024px){
  ul.navigation-horizontal > li > a{
    background-image:linear-gradient(var(--color-secondary,#165DFC),var(--color-secondary,#165DFC)) !important;
    background-position:50% 100% !important;
    background-repeat:no-repeat !important;
    background-size:0% 2px !important;
    transition:background-size .3s ease, color .25s ease !important;
  }
  ul.navigation-horizontal > li > a:hover,
  ul.navigation-horizontal > li.active > a,
  ul.navigation-horizontal > li > a.active{
    background-size:100% 2px !important;
  }
}
/* === END underline center === */

/* === UNDERLINE CENTER cho .link-underline (submenu + link khác) === */
.link-underline{ background-position:50% 100% !important; transition:background-size .3s ease, color .25s ease !important; }
/* === END === */

/* === FIX VARIANT PILL (Nhan - ô trống chữ đỏ trên nền đỏ) === */
input[type="radio"] + label.btn{
  background-color:#ffffff !important;
  background-image:none !important;
  color:var(--color-button-primary,#165DFC) !important;
}
input[type="radio"]:checked + label.btn{
  background-color:var(--color-button-primary,#165DFC) !important;
  color:#ffffff !important;
}
input[type="radio"]:hover + label.btn{ filter:brightness(0.97); }
/* === END variant pill === */

/* ===== B1: giam container max-width ~10% (1840->1656) — Nhan: layout desktop qua rong. KHONG doi font (an toan user lon tuoi) ===== */
.container { max-width: 1656px !important; }

/* ===== 19/06: Crenot rebrand tim #165DFC -> azure #165DFC (Figma Minh 15/06). Giu SimiGO #165DFC. ===== */
/* ===== FIX giật khi đổi tab "Mua s��m theo nhu cầu" (19/06) ===== */
/* Panel tab load AJAX → khi rỗng bị co về 0px gây nhảy layout. Giữ ch�� min-height. */
.section-product-tabs .tab-content,
.product_tabs_1 .tab-content {
  min-height: 1000px;
  transition: min-height .2s ease;
}
@media (max-width: 1024px) {
  .section-product-tabs .tab-content,
  .product_tabs_1 .tab-content { min-height: 1200px; }
}
@media (max-width: 600px) {
  .section-product-tabs .tab-content,
  .product_tabs_1 .tab-content { min-height: 1500px; }
}
/* ===== 22/06: breadcrumb trắng trên hero blog/article (Figma: chữ "Trang chủ" → trắng) ===== */
body.blog .breadcrumbs, body.article .breadcrumbs { background: #165DFC; }
body.blog .breadcrumbs a, body.blog .breadcrumbs span,
body.article .breadcrumbs a, body.article .breadcrumbs span,
body.blog .breadcrumbs .text-neutral-100, body.article .breadcrumbs .text-neutral-100 { color: #ffffff !important; }
body.blog .breadcrumbs a:hover, body.article .breadcrumbs a:hover { color: #ffffff !important; text-decoration: underline; }
/* ===== 22/06: Header 3 tầng theo brief (announce auto-slide + subbar) ===== */
/* Tier 1: announcement bar (auto-slide, pause hover, close) */
.simi-announce { background: #0f1115; color: #fff; font-size: 13px; position: relative; z-index: 60; height: 38px; display: flex; align-items: center; justify-content: center; }
.simi-announce__track { position: relative; height: 20px; min-width: 320px; }
.simi-announce__item { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.simi-announce__item.is-active { opacity: 1; }
.simi-announce__close { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; opacity: .55; cursor: pointer; font-size: 13px; line-height: 1; }
.simi-announce__close:hover { opacity: 1; }
/* Tier 2: secondary utility bar */
.simi-subbar { background: #f4f5f7; color: #5a6072; font-size: 12.5px; border-bottom: 1px solid #e9eaee; }
.simi-subbar .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.simi-subbar__inner { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.simi-subbar__group { display: flex; gap: 18px; align-items: center; }
.simi-subbar__group a { color: #5a6072 !important; text-decoration: none; }
.simi-subbar__group a:hover { color: #165DFC !important; }
.simi-subbar__lang { font-weight: 700; color: #165DFC; }

/* ===== 22/06: Search bar trong header + nav font nhỏ (brief) ===== */
.simi-search { align-items: center; background: #f1f2f5; border: 1px solid #e4e6eb; border-radius: 999px; padding: 0 5px 0 16px; height: 40px; width: 220px; transition: border-color .15s, box-shadow .15s, background .15s; }
.simi-search:focus-within { border-color: #165DFC; box-shadow: 0 0 0 3px rgba(22,93,252,.12); background: #fff; }
.simi-search__input { flex: 1; border: 0; background: transparent; outline: none; font-size: 14px; color: #1a1a1a; min-width: 0; }
.simi-search__input::placeholder { color: #98a0ad; }
.simi-search__btn { width: 30px; height: 30px; border: 0; background: #165DFC; color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.simi-search__btn:hover { background: #1E40AF; }
.simi-search__btn .icon { font-size: 13px; }
.header-nav a { font-size: 14px !important; }

/* ===== 22/06: Liquid glass header — gắn vào .header.active (theme thêm khi cuộn lên, header_sticky=scroll-up-only) ===== */
.header.active {
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 4px 20px rgba(16,24,40,0.08) !important;
  color: #16181d !important;
  transition: none !important;
}
/* blur nhẹ chỉ bật khi trình duyệt hỗ trợ tốt (progressive, không ảnh hưởng nền) */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.active { background: rgba(255,255,255,0.78) !important; -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); }
}
.header.active.header-transparent { color: #16181d !important; }
.header.active .header-logo-transparent { display: none !important; }
.header.active .header-logo { display: block !important; }
.header.active .header-nav a,
.header.active .header-icon,
.header.active .header-icon i,
.header.active .simi-search__input { color: #16181d !important; }
/* ===== Brief Figma 22/06: product-slider heading — tên mục TRÁI, "Xem thêm" PHẢI ===== */
.section-products-slider .simi-slider-head { flex-wrap: wrap; }
.section-products-slider .simi-slider-head .heading { margin: 0; }
.section-products-slider .simi-seemore {
  color: #165DFC;
  font-size: 14px;
  font-weight: 600;
}
.section-products-slider .simi-seemore:hover { text-decoration: underline; }
.section-products-slider .simi-seemore .icon { font-size: 12px; }
/* === SIMI add-to-cart glass button (Minh 24/06) — trong suốt giống icon mắt === */
.card-product .simi-addcart{background:rgba(255,255,255,.55)!important;border:1.5px solid rgba(255,255,255,.85)!important;color:#16181d!important;box-shadow:0 2px 8px rgba(0,0,0,.10)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
.card-product .simi-addcart span,.card-product .simi-addcart .icon{color:#16181d!important}
.card-product .simi-addcart:hover{background:#165DFC!important;border-color:#165DFC!important;color:#fff!important}
.card-product .simi-addcart:hover span,.card-product .simi-addcart:hover .icon{color:#fff!important}

/* === SIMI: "Khám phá bộ sưu tập" (product_tabs_2) -> slider trượt 2 bên (Minh 24/06) === */
.product_tabs_2 .tab-content{position:relative}
/* slider 1 hàng -> bỏ height 1000px reserve của theme (grid) gây khoảng trắng dưới (Minh 26/06) */
.section-product-tabs.product_tabs_2 .tab-content{min-height:0 !important;height:auto !important}
.product_tabs_2 .tab-content-inner{display:block!important;white-space:nowrap;overflow-x:auto;overflow-y:hidden;padding:4px 2px 4px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;font-size:0;scrollbar-width:none;-ms-overflow-style:none}
/* ẩn scrollbar slider (đã có nút mũi tên + vuốt) — bỏ dòng kẻ xám (Minh 26/06) */
.product_tabs_2 .tab-content-inner::-webkit-scrollbar{display:none;height:0;width:0}
.product_tabs_2 .tab-content-inner>*{display:inline-block!important;white-space:normal;vertical-align:top;width:calc(50% - 10px);margin-right:14px;font-size:1rem}
.product_tabs_2 .tab-content-inner>*:last-child{margin-right:0}
@media(min-width:768px){.product_tabs_2 .tab-content-inner>*{width:calc(25% - 12px)}}
@media(min-width:1280px){.product_tabs_2 .tab-content-inner>*{width:calc(20% - 12px)}}
.product_tabs_2 .simi-sli-prev,.product_tabs_2 .simi-sli-next{position:absolute;top:110px;z-index:6;width:42px;height:42px;border-radius:9999px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 3px 12px rgba(0,0,0,.14);display:none;align-items:center;justify-content:center;cursor:pointer;color:#16181d;transition:background .15s,color .15s,border-color .15s}
@media(min-width:768px){.product_tabs_2 .simi-sli-prev,.product_tabs_2 .simi-sli-next{display:flex}}
.product_tabs_2 .simi-sli-prev{left:-10px}
.product_tabs_2 .simi-sli-next{right:-10px}
.product_tabs_2 .simi-sli-prev:hover,.product_tabs_2 .simi-sli-next:hover{background:#165DFC;color:#fff;border-color:#165DFC}
.product_tabs_2 .simi-sli-prev svg,.product_tabs_2 .simi-sli-next svg{width:18px;height:18px}
/* === SIMI: ẩn section banner-group (3 ảnh đỏ UNIQ/Crénot lệch tông azure, Figma ko yêu cầu) — Minh 26/06. Revert: xoá dòng này khi có ảnh azure mới === */
.section-banner-group{display:none !important}

/* === SIMI nav (Minh frame 24/06): SALE đỏ + canh giữa === */
.simi-nav{width:100%}
.simi-nav .simi-nav-sale,
.header.active .simi-nav .simi-nav-sale,
.header-transparent .simi-nav .simi-nav-sale{color:#ED1C24!important;font-weight:800}
.simi-nav .simi-nav-sale:hover{color:#b3151b!important}

/* === SIMI Product detail (Minh frame 24/06) === */
/* thumbnail gallery nhỏ lại (cho bé lại như Zara) */
.product-gallery-wrapper .embla-thumbs__slide{width:58px!important;}
@media(max-width:767px){.product-gallery-wrapper .embla-thumbs__slide{width:52px!important;}}
/* "Đặc điểm nổi bật" in hoa */
.product-details-accordion summary{text-transform:uppercase;}
/* fix selector thumbnail (class có hậu tố --selected) */
.product-gallery-wrapper .gallery-container .embla-thumbs{width:56px!important;flex:0 0 56px!important;}
.product-gallery-wrapper .embla-thumbs .embla__slide{width:56px!important;}
/* 21/09 fb #4: mobile thumbs = HÀNG NGANG full width (rule 24/06 ép 50px làm cả hàng co còn 50px, chỉ thấy 1 ảnh) */
@media(max-width:767px){.product-gallery-wrapper .gallery-container .embla-thumbs{width:100%!important;flex:0 0 100%!important;}.product-gallery-wrapper .embla-thumbs .embla__slide{width:18%!important;flex:0 0 18%!important;}}

/* === SIMI (Minh frame 24/06): "Sản phẩm liên quan" / "cùng phân khúc" in hoa + azure === */
.section-related-products .heading, .section-related-products .heading-bar,
.section-equal-price-products .heading, .section-equal-price-products .heading-bar{
  /* 04/07: fix selector — class thật là .section-equal-price-products (24/06 viết thiếu gạch nên "cùng phân khúc" chưa in hoa) */
  text-transform:uppercase!important; color:#165DFC!important;
}

/* === SIMI Member: "TẠI SAO NÊN THAM GIA?" benefits (Minh frame 24/06 "thiếu phần này") === */
.sm-benefits{margin-bottom:48px;}
.sm-benefits__head{text-align:center;margin-bottom:40px;}
.sm-benefits__eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:700;color:#165DFC;margin-bottom:10px;}
.sm-benefits__title{font-size:32px;font-weight:800;margin:0 0 10px;text-transform:uppercase;color:#131313;}
.sm-benefits__desc{color:#666;max-width:560px;margin:0 auto;font-size:15px;}
.sm-benefits__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 44px;}
@media(max-width:860px){.sm-benefits__grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.sm-benefits__grid{grid-template-columns:1fr;}}
.sm-benefit__ico{display:inline-flex;width:46px;height:46px;align-items:center;justify-content:center;border-radius:12px;background:rgba(22,93,252,.10);color:#165DFC;margin-bottom:14px;}
.sm-benefit__ico svg{width:24px;height:24px;}
.sm-benefit__title{font-size:15px;font-weight:700;margin:0 0 8px;text-transform:uppercase;letter-spacing:.3px;color:#131313;}
.sm-benefit__desc{color:#666;font-size:14px;line-height:1.65;margin:0;}

/* tier icon SVG (thay emoji - Minh frame 24/06) */
.sm-tier-card__icon svg{width:34px;height:34px;display:block;}

/* === SIMI referral guest (Minh frame 24/06): nút Đăng nhập azure + fix đè chữ === */
.sm-referral__guest p{ margin:0 0 18px!important; }
.sm-referral__guest .btn{ display:inline-flex!important; align-items:center; justify-content:center; margin:6px!important; vertical-align:middle; }
.sm-referral__guest .btn-primary{ background:#165DFC!important; border-color:#165DFC!important; color:#fff!important; box-shadow:none!important; }
.sm-referral__guest .btn-primary:hover{ background:#1E40AF!important; }
.sm-referral__guest .btn-outline{ background:#fff!important; border:1.5px solid #165DFC!important; color:#165DFC!important; }

/* === SIMI voucher "Đổi điểm thành voucher" (Minh frame 24/06): nền azure, heading trắng, nút trắng/chữ đen === */
.sm-voucher__title{ color:#fff!important; }
.sm-voucher__desc, .sm-voucher__desc strong{ color:#fff!important; }
.sm-voucher .sm-voucher__cta, .sm-voucher a.sm-voucher__cta.btn-primary{ background:#fff!important; color:#131313!important; border:none!important; box-shadow:none!important; }
.sm-voucher a.sm-voucher__cta.btn-primary:hover{ background:#f1f3f7!important; color:#131313!important; }

/* === SIMI CTA "Sẵn sàng trở thành thành viên SIMI?" (Minh frame 24/06): heading trắng + nút azure === */
.sm-cta__title{ color:#fff!important; }
.sm-cta .sm-cta__btn, .sm-cta a.sm-cta__btn.btn-primary{ background:#165DFC!important; color:#fff!important; border:none!important; box-shadow:none!important; }
.sm-cta .sm-cta__btn:hover, .sm-cta a.sm-cta__btn.btn-primary:hover{ background:#1E40AF!important; color:#fff!important; }

/* === SIMI FAQ hero (Minh frame 24/06): heading trắng trên nền azure === */
.faq-hero h1, .faq-hero h2, .faq-hero h1 span, .faq-hero h2 span{ color:#fff!important; }

/* === SIMI policy hero (Minh frame 24/06): heading + breadcrumb trắng trên nền azure === */
.pol-hero h1{ color:#fff!important; }
.pol-hero .pol-breadcrumb, .pol-breadcrumb, .pol-breadcrumb a, .pol-breadcrumb span{ color:#fff!important; }
.pol-breadcrumb a:hover{ color:#fff!important; opacity:.85; }
.pol-hero .pol-hero-inner .pol-breadcrumb a{ color:#fff!important; }

/* === SIMI Về chúng tôi hero (Minh frame 24/06): heading trắng + nút Khám phá trắng/chữ đen === */
.vct-hero h1{ color:#fff!important; }
.vct-hero .vct-cta{ background:#fff!important; color:#131313!important; border:none!important; }
.vct-hero .vct-cta:hover{ background:#f1f3f7!important; color:#131313!important; }

/* === SIMI Về chúng tôi CTA cuối (Minh frame 24/06): heading trắng + nút Đăng ký đen/chữ trắng === */
.vct-cta-final h2{ color:#fff!important; }
.vct-cta-final button{ background:#131313!important; color:#fff!important; border:none!important; }
.vct-cta-final button:hover{ background:#000!important; color:#fff!important; }

/* 04/07 feedback Minh: sale pop - chu noi dung mau den */
/* 18/07 frame Minh: tên SP trong toast đổi azure (desc giữ đen) */
#ega-sale-pop .sale-pop-name a{color:#165DFC !important}
#ega-sale-pop .sale-pop-desc{color:#131313 !important}
#ega-sale-pop .sale-pop-name a:hover{color:#1E40AF !important}

/* 04/07 feedback Minh: FLASH SALE heading trang */
.section-flashsale .flashsale-heading a{color:#fff !important}
/* 04/07: nut Them vao gio hang chi hien khi hover card (desktop); mobile giu hien */
@media(hover:hover){
.card-product .simi-addcart{opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
.card-product:hover .simi-addcart{opacity:1;visibility:visible}
}

/* 04/07: flashsale bo badge Het hang trung lap (stock-label da co) -> card ngan lai */
.section-flashsale .card-product .badge--soldout{display:none !important}

/* 04/07 feedback Minh: moi heading section viet binh thuong - bo mau highlight + bo gach SVG duoi span (ap toan site) */
.heading span{color:inherit !important}
.heading span::after{display:none !important}

/* 04/07 feedback Minh - trang SIMI Member */
/* Hero: "SIMI Member" + link "Dang nhap" -> trang */
.sm-hero__title{color:#fff !important}
.simi-member-page .sm-hero .sm-hero__hint a{color:#fff !important;text-decoration:underline}
.sm-hero__hint a:hover{color:#fff !important;opacity:.85}
/* Referral: heading to + can giua nhu mau Coolmate, nen trang */
.sm-referral{text-align:center;background:#fff !important}
.sm-referral__title{font-size:40px;line-height:1.2}
.sm-referral__desc{font-size:16px;max-width:960px;margin:0 auto 24px}
.sm-referral__guest{background:#fff !important}
@media(max-width:768px){.sm-referral__title{font-size:26px}}

/* 09/07 fix Leo: nav hover bi 2 gach (link-underline gradient + ::after truot) -> tat gradient, giu ::after */
.simi-nav .menu-item__link.link-underline{background-image:none !important}
/* ===== 18/07 frame Minh: Bản tin khuyến mãi + FAB liên hệ ===== */
/* Heading "Bản tin khuyến mãi" in đậm */
.section-blogs .heading{font-weight:800}
/* Widget liên hệ nổi (call-center-group): cam #ef8212 → azure (đè inline style bằng !important) */
.addThis_group{--color-primary:#165DFC !important}
/* Logo simi.vn trong nút toggle: phóng khung icon để logo đọc được */
.addThis_item--toggle img{width:40px;height:40px;object-fit:contain}
/* 18/07 frame Minh: thu nhỏ FLASH SALE (Leo chốt "cho nhỏ xuống" thay vì bỏ) */
.section-flashsale{--section-padding:28px 0 !important;--section-margin:24px 0 24px !important;--section-padding-mb:18px 0 !important;--section-margin-mb:18px 0 18px !important}
.section-flashsale .flashsale-heading{font-size:2.4rem !important;line-height:1.2}
@media(min-width:1024px){.section-flashsale .flashsale__item{width:16.666% !important}}
/* 18/07 Minh: banner UNIQ (ORDER 4 750x400) bị upscale ra ~1380px → "vỡ vỡ, to quá".
   Fix: hiển thị tối đa KÍCH THƯỚC GỐC 750px, căn giữa — hết mờ + banner gọn lại.
   ⚠️ Khi Minh gửi bản 1920x600 thì XOÁ 2 rule này + thay asset. */
body.coll-uniq .section-collection-banner .collection_banner img{max-width:750px;margin:0 auto}
.section-banner-image img{max-width:750px}
/* 18/07 frame Minh: bỏ cụm swatch variant (ảnh màu nhỏ) trên card sản phẩm */
.card-product__option-wrapper{display:none !important}
/* 18/07 frame Minh (All Products): filter "Hãng sản xuất" chỉ giữ UNIQ + Crenot (ẩn UI — KHÔNG đổi vendor data SP) */
.filter-item:has(input[id^="filter-vendor-"]){display:none !important}
.filter-item:has(#filter-vendor-uniq),.filter-item:has(#filter-vendor-crenot){display:list-item !important}
/* 18/07 frame Minh: banner All Products chỉ rộng bằng cột sản phẩm, không tràn qua cột filter */
/* 21/09 fb #1: Nhật muốn banner All Products FULL như trang UNIQ -> bỏ rule thu vào cột SP (18/07) */
@media(min-width:1024px){
  body.coll-all-products .section-collection-banner .collection_banner{margin-left:0;padding-left:0}
}
/* 18/07 frame Minh (Product detail): bỏ thanh countdown flash-sale đen trên trang SP — giá hiển thị đơn giản ("để lại giống như này") */
.product-flashsale .product-flashsale-item{display:none !important}
.product-flashsale{background:none !important;border:none !important;padding:0 !important}
/* 18/07 quy tắc Leo/Minh: tiêu đề section IN ĐẬM đồng nhất; trang SP đồng nhất luôn MÀU ĐEN (hết azure lẫn lộn) */
.heading{font-weight:700}
body.product .heading, body.product .heading a, body.product .heading span{color:#131313 !important;font-weight:700 !important}
body.product .heading a:hover{color:#165DFC !important}

/* 30/07 Minh: banner truoc slider SP "be qua, lot thom giua" -> keo full 2 le container */
.section-banner-image a, .section-banner-image picture{display:block;width:100%}
.section-banner-image img{width:100% !important;max-width:100% !important;height:auto !important;max-height:520px;object-fit:cover;border-radius:16px}

/* 30/07 frame trang thanh vien */
.simi-member-page .sm-hero .sm-hero__hint a{color:#fff !important;text-decoration:underline}
.simi-member-page .sm-tiers,.simi-member-page .sm-faq{margin-top:72px}
.sm-faq{margin-bottom:72px}

/* 30/07 Leo: sm-faq accordion muot + khoang cach cau tra loi (nhu trang FAQ) */
.sm-faq__body{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease}
.sm-faq__item[open]:not(.closing) .sm-faq__body{padding-top:12px;border-top:1px solid #eef0f4;margin-top:8px}

/* ================= 26/08 FEEDBACK MINH (file "Website - fb 26-8") ================= */

/* (2) MOBILE: header trong suot de len banner hero (logo trang chong len anh) -> tat trong suot duoi 1024px,
   banner bat dau NGAY DUOI header, khong con chong cheo. */
@media (max-width: 1023px) {
  .header.header-has-transparent + * { margin-top: 0 !important; }
  .header.header-transparent {
    background-color: var(--color-header-bg) !important;
    color: var(--color-header) !important;
  }
  .header.header-transparent .header-logo { display: block !important; }
  .header.header-transparent .header-logo-transparent { display: none !important; }
}

/* (3) STICKY HEADER: bo thanh dieu huong co dinh duoi cung (cro_enabled=false),
   header neo tren dau trang (header_sticky=sticky). Chinh lai do bong + nen dac khi neo. */
.header.active:not(.header-transparent) {
  box-shadow: 0 2px 14px rgba(0, 0, 0, .10) !important;
}
.header.active {
  background-color: var(--color-header-bg) !important;
  color: var(--color-header) !important;
}
.header.active .header-logo { display: block !important; }
.header.active .header-logo-transparent { display: none !important; }
@media (max-width: 1023px) {
  .header.active { padding-top: .8rem !important; padding-bottom: .8rem !important; }
  .header.active .logo-wrapper { max-width: calc(var(--logo-width) * .82); }
}

/* (4) Nut lien he noi: bo logo "SIMI.vn" -> icon tong dai + chu "Lien he" */
.addThis_item--toggle-labeled {
  width: auto !important;
  min-width: 4.4rem;
  height: 4.4rem;
  padding: 0 1.6rem !important;
  border-radius: 999px !important;
}
.addThis_item--toggle-labeled .addThis_toggle-inner {
  position: static !important;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #fff;
  white-space: nowrap;
  transition: transform .3s ease, opacity .3s ease;
}
.addThis_item--toggle-labeled .addThis_toggle-inner * { position: static !important; }
.addThis_item--toggle-labeled .addThis_toggle-text { font-size: 1.4rem; font-weight: 600; line-height: 1; }
.addThis_item--toggle-labeled .addThis_toggle-svg { flex: 0 0 auto; }
.addThis_item--toggle-labeled .icon { left: 0; right: 0; margin: auto; }
.addThis_group.active .addThis_item--toggle-labeled { width: 4.4rem !important; padding: 0 !important; }
.addThis_group.active .addThis_toggle-inner { transform: scale(0); opacity: 0; }
/* da bo thanh nav duoi cung -> ha nut noi xuong sat day; rieng trang SP con thanh mua hang 5.6rem */
@media (max-width: 767px) {
  .addThis_listSharing { bottom: 2.4rem; }
  body.product .addThis_listSharing { bottom: 9.6rem; }
}

/* (6) TRANG CHI TIET SP: cot PHAI co dinh (ten SP / phan loai / gia / nut mua / chinh sach),
   cot TRAI cuon (anh + mo ta ngan + KM + mo ta chi tiet + chia se). */
@media (min-width: 1024px) {
  body.product .product-gallery-wrapper { position: static !important; }
  body.product .product-form-wrapper > div {
    position: sticky !important;
    top: var(--header-offset);
    max-height: calc(100vh - var(--header-offset) - 2rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}
/* nut MUA NGAY: tu vien rong -> nen azure noi bat (cap voi THEM VAO GIO nen den) */
body.product .btn-buynow,
body.product .btn-buynow:not([disabled]) {
  background-color: #165DFC !important;
  border-color: #165DFC !important;
  color: #fff !important;
}
body.product .btn-buynow:hover { background-color: #1E40AF !important; border-color: #1E40AF !important; color: #fff !important; }
/* THEM VAO GIO: nen den (theo addtocart_bg_color) de phan cap voi MUA NGAY azure */
body.product .product-cta .btn-add-to-cart {
  background-color: #0f0f0f !important;
  border-color: #0f0f0f !important;
  color: #fff !important;
}
body.product .product-cta .btn-add-to-cart:hover { background-color: #2b2b2b !important; border-color: #2b2b2b !important; color: #fff !important; }
body.product .simi-pd-policies { padding-top: 1.6rem; border-top: 1px solid #eef0f4; }

/* (3 bis) 01/09: logo header TRAN khoi khung tren mobile — anh 203px trong .logo-wrapper 123-150px
   (--logo-width thu nho o mobile nhung <img> khong bi rang buoc) -> logo chiem 54% chieu ngang,
   thanh header trong "nang" va lech so voi mau Dyson/Samsung khach gui. Ep anh vua khung. */
@media (max-width: 1023px) {
  .header .logo-wrapper { overflow: hidden; }
  .header .logo-wrapper .header-logo,
  .header .logo-wrapper .header-logo-transparent {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* (3 ter) 01/09 — Leo: "component tuong tu nhau thi lam giong nhau".
   Mobile dung LAI dung component .simi-search cua desktop (bo icon 🔍 mo drawer),
   bo cuc ☰ + logo + o search + gio hang giong mau Dyson khach gui. */
@media (max-width: 1023px) {
  /* theme co san @media(max-width:976px){.search-opener{display:block}} -> phai !important de tat */
  .header .search-opener { display: none !important; }
  /* header-wrapper co flex-wrap -> them o search se bi xuong dong, khoa lai 1 hang */
  .header .header-wrapper { flex-wrap: nowrap; }
  .header .header-icon-wrapper { flex: 1 1 auto; min-width: 0; }
  .header .simi-search {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    /* FIX #4 (WCAG 2.5.5) o tren ep moi <button> mobile >=44px -> nut submit 44px se
       loi ra khoi vien pill 36px. Nang pill len 44px cho khop, KHONG ha tap target. */
    max-width: 32rem;
    height: 4.4rem;
    padding: 0 0 0 12px;
  }
  .header .simi-search__input { font-size: 1.2rem; }
  .header .simi-search__btn { width: 4.4rem; height: 4.4rem; }
  /* logo co lai nhuong cho o search — khoa 11rem, KHONG cho flex bop nho (bi con 67px) */
  .header .logo-wrapper,
  .header.active .logo-wrapper { flex: 0 0 10rem; width: 10rem; max-width: 10rem; }
}

/* tablet 768-1023: con cho -> tra logo ve co lon hon, o search da bi cap 32rem o tren */
@media (min-width: 768px) and (max-width: 1023px) {
  .header .logo-wrapper,
  .header.active .logo-wrapper { flex: 0 0 16rem; width: 16rem; max-width: 16rem; }
  .header .simi-search__input { font-size: 1.4rem; }
}
/* ===== 14/09 — FEEDBACK 12-9 (Nhat) #2: thu nho nut "Lien he" + mui ten len dau; mui ten sang TRAI ===== */
/* Nut "Lien he": 44px -> 36px, chu 14 -> 13, icon 24 -> 20 */
.addThis_item--toggle-labeled {
  min-width: 3.6rem;
  height: 3.6rem !important; /* addthis-sharing.css nap SAU custom.css (link onload trong snippet) -> phai !important */
  padding: 0 1.2rem !important;
}
.addThis_item--toggle-labeled .addThis_toggle-inner { gap: .6rem; }
.addThis_item--toggle-labeled .addThis_toggle-text { font-size: 1.3rem; }
.addThis_item--toggle-labeled .addThis_toggle-svg { width: 2rem; height: 2rem; }
.addThis_group.active .addThis_item--toggle-labeled { width: 3.6rem !important; height: 3.6rem !important; }
.addThis_item--toggle-labeled .icon { font-size: 3.6rem; }
/* 3 icon con (phone/zalo/messenger) thu theo cho can voi nut chinh */
.addThis_listing .addThis_item .addThis_item--icon { width: 3.6rem !important; height: 3.6rem !important; line-height: 3.6rem; padding: 4px 8px; }
.addThis_listing .addThis_item .addThis_item--icon img { width: 100%; height: 100%; }

/* Mui ten len dau: tach khoi cum ben phai, neo goc TRAI, 44 -> 36px.
   .backtop goc co translateX(20px) de truot vao tu phai -> dao chieu cho ben trai. */
#back-to-top.backtop {
  position: fixed;
  left: 1.2rem;
  right: auto;
  bottom: 110px; /* = .addThis_listSharing (addthis-sharing.css) -> 2 nut ngang hang nhu mau khach. Rule 26/08 bottom:2.4rem chua bao gio an (cascade) nen FAB van o 110px */
  width: 3.6rem;
  height: 3.6rem;
  line-height: 3.6rem;
  font-size: 2.2rem;
  margin: 0;
  transform: translateX(-20px);
}
#back-to-top.backtop.show { transform: translateX(0); }

/* ===== 14/09 — FEEDBACK 10-9, LÔ 1 TRANG SẢN PHẨM ===== */
/* #8 ẩn dòng "Thương hiệu / Mã sản phẩm" (chỉ trang SP, quickview giữ) */
body.product .product-detail .group-status { display: none !important; }

/* #8 4 dòng cam kết cố định — lưới 2x2 ô có viền + icon (mẫu Coolmate) */
.simi-policies { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.simi-policy {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.2rem; border: 1px solid #e5e7eb; border-radius: .8rem; background: #fff;
  font-size: 1.2rem; line-height: 1.35; color: #1a1a1a;
}
.simi-policy__icon { flex: 0 0 auto; width: 2rem; height: 2rem; color: #165DFC; }
@media (max-width: 767px) { .simi-policy { padding: .8rem 1rem; font-size: 1.15rem; gap: .6rem; } }

/* #4 nút chia sẻ dưới tên SP */
.simi-share-btn {
  display: inline-flex; align-items: center; gap: .5rem; width: max-content;
  padding: .4rem .9rem; border: 1px solid #e5e7eb; border-radius: 999px; background: #fff;
  font-size: 1.2rem; font-weight: 500; color: #1a1a1a; cursor: pointer; line-height: 1; margin-top: .2rem;
  min-height: 0 !important; min-width: 0 !important; /* thoát rule WCAG 44px cho <button> mobile — đây là nút phụ */
}
.simi-share-btn:hover { border-color: #165DFC; color: #165DFC; }

/* #7 phân loại + combo: chữ nhỏ lại (Shopee) */
body.product .variant-picker__input > div:first-child { font-size: 1.3rem; }
body.product .variant-picker .fieldset label { font-size: 1.2rem !important; padding: .6rem 1.2rem; }
body.product .variant-picker .fieldset .inline-block { min-width: 0; }

/* #10 mô tả thu gọn + Hiển thị thêm / Thu gọn */
.simi-desc { position: relative; }
.simi-desc__body { position: relative; overflow: hidden; transition: max-height .25s ease; }
.simi-desc[data-collapsed] .simi-desc__body { max-height: 360px; }
.simi-desc[data-collapsed] .simi-desc__body::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9rem; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 85%);
}
.simi-desc__specs { margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px dashed #e5e7eb; }
.simi-desc__toggle {
  display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%;
  margin-top: .8rem; padding: 1rem; border: 0; border-top: 1px solid #f0f0f2; background: transparent;
  color: #165DFC; font-size: 1.4rem; font-weight: 600; cursor: pointer;
}
.simi-desc__toggle .icon { transition: transform .2s; }
.simi-desc__toggle .simi-desc__less { display: none; }
.simi-desc:not([data-collapsed]) .simi-desc__toggle .simi-desc__more { display: none; }
.simi-desc:not([data-collapsed]) .simi-desc__toggle .simi-desc__less { display: inline; }
.simi-desc:not([data-collapsed]) .simi-desc__toggle .icon { transform: rotate(180deg); }
.simi-desc__toggle[hidden] { display: none; }

/* #2 đếm ảnh cur/total góc dưới phải gallery (Shopee) */
.simi-gal-counter {
  position: absolute; right: 1.2rem; bottom: 1.2rem; z-index: 5;
  padding: .3rem .9rem; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff;
  font-size: 1.2rem; font-weight: 600; line-height: 1.6; pointer-events: none;
}

/* #9 "Sản phẩm từ [brand]": tiêu đề trái + "Tất cả sản phẩm" phải, tô xanh (dùng lại .simi-slider-head/.simi-seemore của home) */
.section-related-products .simi-seemore { color: #165DFC !important; font-weight: 600; }

/* ===== 14/09 — FEEDBACK 10-9 HOME ===== */
/* Home-desktop #5 "Sản phẩm mới ra mắt" to hơn màn hình: ảnh 800x800 bị object-fit:cover cắt trên/dưới trong khung 845x572.
   -> hiện trọn ảnh (contain), cao tối đa 72vh để vừa 1 màn laptop. */
/* Ảnh lazy (naturalWidth=0) nên KHÔNG dùng width:auto (khung sập về 0). Cách làm: khung vuông theo aspect-ratio,
   cap chiều rộng khung = cap chiều cao; giữ object-fit:cover vì khung vuông = ảnh vuông -> không cắt. */
@media (min-width: 1024px) {
  .section-hot-spots hot-spots > div > .row-span-full { max-width: min(72vh, 620px); margin: 0 auto; }
  .section-hot-spots hot-spots img { aspect-ratio: 1 / 1; width: 100%; height: auto; }
}

/* Home-mobile #9 cam kết: "Mua tại SIMI.vn" + 4 ô 2x2 kiểu Dyson (nền section đen -> ô nền tối viền mờ, chữ trắng) */
.simi-commit { padding: 2rem 0 1.2rem; }
.simi-commit__title { font-size: 1.8rem; font-weight: 700; margin: 0 0 1.4rem; color: inherit; }
.simi-commit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.simi-commit__item {
  display: flex; flex-direction: column; gap: .5rem; min-height: 11rem;
  padding: 1.4rem 1.2rem; border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; background: rgba(255,255,255,.06);
}
.simi-commit__icon { width: 2.4rem; height: 2.4rem; object-fit: contain; margin-bottom: .4rem; }
.simi-commit__head { font-size: 1.4rem; font-weight: 600; line-height: 1.3; text-decoration: underline; text-underline-offset: .3rem; }
.simi-commit__sub { font-size: 1.2rem; opacity: .8; line-height: 1.4; }

/* ===== 14/09 — FEEDBACK 10-9 HOME MOBILE (lô 2a) ===== */
@media (max-width: 767px) {
  /* #6/#7 Sản phẩm UNIQ / Crénot: chữ tiêu đề nhỏ lại, card nhỏ như Bộ sưu tập (2 card + hé card 3) */
  .section-products-slider .simi-slider-head .heading { font-size: 2rem; }
  .section-products-slider .embla__container > div { width: 46% !important; padding-left: 1.2rem !important; }
  /* #8 Sản phẩm xem gần đây: 2,1 SP / màn */
  .section-recent .embla__container > div { width: 46% !important; padding-left: 1.2rem !important; }
  .section-recent .embla__container > div:first-of-type { margin-left: -1.2rem !important; }

  /* #11 SIMINEWS: dọc -> lướt ngang snap, 2 card + hé card 3 (đồng bộ Bộ sưu tập) */
  section.section-siminews .siminews-grid {
    display: flex; grid-template-columns: none; gap: 1.2rem;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: .4rem; margin-right: -1.5rem; padding-right: 1.5rem;
  }
  section.section-siminews .siminews-grid::-webkit-scrollbar { display: none; }
  section.section-siminews .siminews-card { flex: 0 0 44%; min-width: 0; scroll-snap-align: start; }
  section.section-siminews .siminews-card-title { font-size: 1.4rem; line-height: 1.35; }
  section.section-siminews .siminews-tag { font-size: 1rem; padding: .3rem .8rem; }

  /* #10 SIMI MEMBER: bố cục kiểu Coolmate (image32) — 3 ô ngang gọn, nút chính đen full width */
  section.simi-member-cta .smcta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  section.simi-member-cta .smcta-item { padding: 1.2rem .8rem; border-radius: 1.2rem; }
  section.simi-member-cta .smcta-item p { display: none; }
  section.simi-member-cta .smcta-item h3 { font-size: 1.3rem; line-height: 1.3; margin: 0; }
  section.simi-member-cta .smcta-ic { width: 3.2rem; height: 3.2rem; margin-bottom: .6rem; }
  section.simi-member-cta .smcta-ic svg { width: 1.8rem; height: 1.8rem; }
  section.simi-member-cta .smcta-title { font-size: 2.2rem; }
  section.simi-member-cta .smcta-sub { font-size: 1.3rem; }
  section.simi-member-cta .smcta-actions { flex-direction: column; gap: .8rem; }
  section.simi-member-cta .smcta-btn--primary {
    width: 100%; background: #0f0f0f !important; color: #fff !important; border-radius: 999px;
    text-transform: uppercase; font-weight: 700; letter-spacing: .02em; padding: 1.4rem 2rem;
  }
  section.simi-member-cta .smcta-btn--primary::after { content: " \2192"; font-family: Inter, "SimiInter", system-ui, Arial, sans-serif; } /* 19/09 fb #6: bản cũ escape bị nuốt thành ký tự điều khiển + "92" */
  section.simi-member-cta .smcta-btn--ghost { border: 0; text-decoration: underline; text-underline-offset: .3rem; padding: .4rem; font-size: 1.3rem; }
}

/* ===== 14/09 — TRANG SP MOBILE: thanh ghim Chat + Thêm vào giỏ + Mua ngay (Shopee image2) ===== */
@media (max-width: 767px) {
  body.product .cro-btns .cro-btns-container { display: flex; gap: .8rem; align-items: stretch; padding: .6rem 0; }
  .simi-cro-chat {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
    flex: 0 0 5.6rem; font-size: 1.1rem; color: #165DFC; text-decoration: none; border-right: 1px solid #eceef2;
  }
  .simi-cro-add, .simi-cro-buy { flex: 1 1 0; min-width: 0; display: flex; }
  .simi-cro-add .cro-btn-item, .simi-cro-buy .cro-btn-item { width: 100%; }
  .simi-cro-btn { height: 4.4rem; border-radius: .8rem; font-size: 1.4rem; }
  .simi-cro-btn--add { background: #fff !important; color: #165DFC !important; border: 1.5px solid #165DFC !important; }
  .simi-cro-btn--buy { background: #165DFC !important; color: #fff !important; border: 0 !important; }
  /* quick-view mở bằng "Mua ngay": nút Mua ngay lên trước + nổi bật, Thêm vào giỏ mờ */
  /* theme ẩn .btn-buynow trong quick-view -> bật lại khi mở bằng Mua ngay */
  #quick-view-product.simi-qv-buynow .product-cta .btn-buynow { display: flex !important; order: -1; background: #165DFC !important; color: #fff !important; border-color: #165DFC !important; }
  #quick-view-product.simi-qv-buynow .product-cta .btn-add-to-cart { opacity: .75; }
}
/* trang SP mobile: FAB đang ở 9.6rem (rule 26/08 body.product ăn vì specificity cao hơn) -> mũi tên theo cho ngang hàng */
@media (max-width: 767px) { body.product #back-to-top.backtop { bottom: 9.6rem; } }
/* sheet "Mua ngay": nút ghim đáy sheet để không phải cuộn tìm (Shopee) */
@media (max-width: 767px) {
  /* wrapper trong quick-view có overflow:auto -> chặn sticky; bỏ để cta ghim theo .product-wrapper (container cuộn thật) */
  #quick-view-product .product-form-wrapper > div { overflow: visible !important; max-height: none !important; }
  #quick-view-product.simi-qv-buynow .product-cta { position: sticky; bottom: 0; z-index: 5; background: #fff; margin-top: 1rem; padding-top: .8rem; box-shadow: 0 -8px 16px -12px rgba(0,0,0,.25); }
  #quick-view-product.simi-qv-buynow .product-cta > form > .flex.flex-col { flex-direction: row; gap: .8rem; }
  #quick-view-product.simi-qv-buynow .product-cta .btn-buynow, #quick-view-product.simi-qv-buynow .product-cta .btn-add-to-cart { flex: 1 1 0; min-width: 0; }
}

/* ===== 14/09 — A21 ảnh mini phân loại 1 (variants-picker) ===== */
.simi-vthumb-wrap label { padding: .4rem !important; border-radius: .8rem !important; }
.simi-vthumb { display: flex; flex-direction: column; align-items: center; gap: .4rem; width: 6.4rem; }
.simi-vthumb__img { width: 6.4rem; height: 6.4rem; object-fit: cover; border-radius: .6rem; background: #f5f5f7; display: block; }
.simi-vthumb__label { font-size: 1.1rem; line-height: 1.2; text-align: center; max-width: 7rem; white-space: normal; }
@media (min-width: 1024px) { .simi-vthumb { width: 7.2rem; } .simi-vthumb__img { width: 7.2rem; height: 7.2rem; } .simi-vthumb__label { font-size: 1.2rem; } }

/* ===== 15/09 — Giỏ hàng: ô đổi phân loại ===== */
.simi-cart-variant { display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; font-size: 1.2rem; color: #6b7280; }
.simi-cart-variant__select {
  max-width: 22rem; padding: .3rem 2.4rem .3rem .8rem; border: 1px solid #e5e7eb; border-radius: .6rem; background: #fff; color: #1a1a1a;
  font-size: 1.2rem; line-height: 1.4; cursor: pointer;
}
.simi-cart-variant__select:disabled { opacity: .5; cursor: wait; }

/* ===== 19/09 — FEEDBACK 17-9 (mobile) ===== */
/* #1 hero dọc mobile: asset home_slider_1_mb.jpg giờ 1080×1350 -> bỏ ép 1920/720 ở <=480px */
@media (max-width: 480px) {
  .section-home-banner picture, .section-home-banner img { aspect-ratio: 3 / 4; } /* 23/09: ảnh hero mới của SIMI là 3:4, để 4/5 sẽ cắt mép */
}
@media (max-width: 767px) {
  /* #2 Flash sale: card thu còn 1/2 (2 card + hé card 3, đồng bộ các slider khác) */
  .section-flashsale .embla__container > div, .section-flashsale .product-list > div { width: 46% !important; padding-left: 1.2rem !important; }
  .section-flashsale .card-product__title, .section-flashsale .card-product__name { font-size: 1.3rem; }
  /* #3 BST: link "Xem sản phẩm" cạnh tab */
  .simi-colls__all { font-size: 1.3rem; color: #165DFC !important; font-weight: 600; margin-left: auto; }
  /* #4 kéo tiêu đề + "Xem tất cả" sát xuống sản phẩm; banner phía trên sát tiêu đề */
  .section-products-slider .simi-slider-head { margin-bottom: 1.2rem !important; }
  .section-products-slider { --section-margin-mb: 12px 0 24px 0; }
  .section-banner-image { --section-margin-mb: 24px 0 12px 0; }
  /* #5 xem gần đây: tiêu đề 1 dòng */
  .simi-recent__title { font-size: 1.9rem !important; text-transform: none !important; letter-spacing: 0; }
  /* #12 số lượng trong giỏ: input bị bóp còn 15px (2 nút w-20 chiếm hết 96px) */
  .cart-item .cart-item-quantity { width: auto !important; min-width: 11rem; }
  .cart-item .cart-item-quantity button { flex: 0 0 3.2rem !important; width: 3.2rem !important; min-width: 0 !important; padding: 0 !important; }
  .cart-item .cart-item-quantity input { flex: 1 1 auto !important; min-width: 3.6rem !important; padding: 0 .2rem !important; }
  /* #10 trang giỏ: thanh ghim đáy cao ~126px -> nút Liên hệ + mũi tên đẩy lên trên thanh */
  body.cart .addThis_listSharing { bottom: 14.4rem !important; }
  body.cart #back-to-top.backtop { bottom: 14.4rem; }
}
/* #3 BST: desktop cũng có link */
@media (min-width: 768px) { .simi-colls__all { font-size: 1.4rem; color: #165DFC !important; font-weight: 600; } }

/* #9 mã giảm giá dạng chọn trong giỏ */
.simi-coupon-pick__label.is-picked { color: #165DFC; font-weight: 700; }
#coupon-drawer .coupon-item { position: relative; }
#coupon-drawer .coupon-card { padding-right: 4.4rem; }
#coupon-drawer .simi-coupon-radio { position: absolute; right: 1.6rem; top: 50%; transform: translateY(-50%); width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid #cfd4dc; background: #fff; }
#coupon-drawer .coupon-item.is-picked .simi-coupon-radio { border-color: #165DFC; box-shadow: inset 0 0 0 .5rem #165DFC; }
#coupon-drawer .coupon-item.is-picked .coupon-card { outline: 2px solid #165DFC; outline-offset: -2px; }
#coupon-drawer .simi-coupon-cond { background: none; border: 0; padding: 0; margin-top: .4rem; color: #165DFC; font-size: 1.2rem; font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 0 !important; min-width: 0 !important; }
#coupon-drawer .coupon-item .coupon-copy-btn { display: none; }   /* chọn thay vì sao chép; mã tự copy lúc bấm Thanh toán */
.simi-vat-check { width: 1.8rem; height: 1.8rem; accent-color: #165DFC; }
.simi-toast { position: fixed; left: 50%; bottom: 18rem; transform: translate(-50%, 1rem); z-index: 10000; max-width: 90vw; padding: 1.2rem 1.6rem; border-radius: 1rem; background: #0f0f0f; color: #fff; font-size: 1.3rem; line-height: 1.4; opacity: 0; transition: opacity .25s, transform .25s; }
.simi-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== 20/09 — Flash sale mobile thu gọn (Nhật: "giảm xuống còn vùng khoanh đỏ") ===== */
@media (max-width: 767px) {
  /* hàng đầu: FLASH SALE trái + đồng hồ phải, 1 dòng */
  .section-flashsale .container > .overflow-hidden > div:first-child > div { flex-wrap: nowrap !important; justify-content: space-between !important; align-items: center; margin-bottom: .8rem !important; gap: .8rem !important; }
  .section-flashsale .flashsale-heading { font-size: 1.8rem !important; padding: 0 !important; }
  .section-flashsale .flashsale__countdown-label { display: none !important; }          /* bỏ "Nhanh lên nào! / Sự kiện sẽ kết thúc sau" */
  .section-flashsale .flashsale__countdown-wrapper { width: auto !important; justify-content: flex-end !important; gap: .4rem !important; }
  .section-flashsale .flashsale__countdown { display: flex !important; align-items: center; gap: .3rem; }
  .section-flashsale .flashsale__countdown > * { font-size: 1.2rem !important; line-height: 1 !important; }
  .section-flashsale .flashsale__countdown [class*="label"], .section-flashsale .flashsale__countdown span:not([class*="number"]):not([class*="value"]) { font-size: 1rem !important; }
  /* card: 3 cột nhỏ, bỏ phần phụ cho thấp */
  .section-flashsale .embla__container > div, .section-flashsale .product-list > div { width: 33.333% !important; padding-left: .8rem !important; }
  .section-flashsale .card-product__vendor, .section-flashsale .card-product .badge--soldout, .section-flashsale .card-product .compare-price,
  .section-flashsale .card-product .stock-countdown, .section-flashsale .card-product [class*="stock-count"], .section-flashsale .card-product .card-product__utilites { display: none !important; }
  .section-flashsale .card-product__title, .section-flashsale .card-product__name { font-size: 1.15rem !important; line-height: 1.3 !important; -webkit-line-clamp: 1 !important; min-height: 0 !important; }
  .section-flashsale .card-product .price { font-size: 1.3rem !important; }
  .section-flashsale .card-product .simi-addcart { transform: scale(.8); transform-origin: left bottom; }
  .section-flashsale .card-product__badges .badge, .section-flashsale .sale-badge { font-size: 1rem !important; padding: .2rem .5rem !important; }
  .section-flashsale { --section-margin-mb: 16px 0 16px 0; }
  .section-flashsale .container > .overflow-hidden { padding-top: 1.2rem; }
}

/* ===== 21/09 — FEEDBACK 21-9 ===== */
/* #4 trang SP mobile: hàng thumbnail 5 ảnh, cuộn ngang (embla thumbs đang chạy trục dọc -> chỉ thấy 1 ảnh) */
@media (max-width: 767px) {
  .product-gallery.layout-left .gallery-thumbnails .embla__viewport { overflow: visible !important; height: auto !important; }
  .product-gallery.layout-left .gallery-thumbnails .embla__container { transform: none !important; width: max-content !important; gap: .8rem !important; padding: .2rem .1rem; }
  .product-gallery.layout-left .gallery-thumbnails .embla__container::-webkit-scrollbar { display: none; }
  /* 23/09: Nhật xin lướt ngang TỰ DO -> bỏ snap, slide cố định 6.4rem (% tính theo container max-content sẽ phình) */
  .product-gallery.layout-left .gallery-thumbnails .embla__slide { width: 6.4rem !important; flex: 0 0 6.4rem !important; }
}
/* #5 4 ô cam kết trang SP: nền tối */
.simi-policies { background: #0f0f0f; padding: 1rem; border-radius: 1.2rem; }
.simi-policy { background: #1b1b1b; border-color: #2a2a2a; color: #fff; }
.simi-policy__icon { color: #5b8cff; }
/* #6 giỏ hàng: bỏ ô tick "Xuất hóa đơn" LẶP trong form (ô tick chính đã nằm ngoài trang) */
#cart-vat-drawer .bill-field > .flex.items-center:first-child { display: none !important; }

/* === 23/09 — Nhật (Zalo): trang SP mobile === */
/* (1) Hàng ảnh nhỏ: bỏ snap của embla, cho cuộn ngang tự do; slide cố định 6.4rem (không dùng % vì container đổi sang max-content) */
@media (max-width: 767px) {
  .product-gallery.layout-left .gallery-thumbnails {
    overflow-x: auto !important; overflow-y: hidden !important;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .product-gallery.layout-left .gallery-thumbnails::-webkit-scrollbar { display: none; }
  /* (2) tên sản phẩm 1.8rem */
  .product-detail h1, .product-detail .product-single__title, body.product h1.text-h4 { font-size: 1.8rem !important; line-height: 1.35 !important; }
}
/* (3) ô phân loại có ảnh: cao bằng nhau (tên 1 dòng vs 2 dòng làm lệch) */
.simi-vthumb__label { min-height: 2.7rem; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .simi-vthumb__label { min-height: 2.9rem; } }

/* === 24/09 — fb 24-9 (bản máy tính) === */
/* #5 cố định bộ lọc khi lướt ở trang danh sách SP (desktop ≥1280, nơi cột lọc hiện) */
@media (min-width: 1280px) {
  .collection-filter .facet-inner {
    position: sticky;
    top: 9.6rem;                 /* header cao ~84px + thở 12px */
    max-height: calc(100vh - 11rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .collection-filter .facet-inner::-webkit-scrollbar { width: 6px; }
  .collection-filter .facet-inner::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 3px; }
}
/* ===== 30/09 — FEEDBACK 29-9 ===== */
/* #16 menu máy tính: bảng danh mục khi rê chuột UNIQ / Crénot */
.simi-nav .menu-item { position: relative; }
.simi-mega__panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
  min-width: 18rem; padding: 1.6rem 2.4rem 2rem; background: #f7f7f8; color: #111;
  border-radius: 0 0 1rem 1rem; box-shadow: 0 16px 32px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; z-index: 60;
}
.simi-mega__panel.is-2col { min-width: 36rem; }
.simi-mega:hover .simi-mega__panel, .simi-mega:focus-within .simi-mega__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.simi-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } /* cầu nối chuột, không bị tắt panel khi di xuống */
.simi-mega__list { list-style: disc; margin: 0; padding-left: 1.8rem; display: grid; grid-template-columns: 1fr; column-gap: 3.2rem; row-gap: .9rem; }
.simi-mega__panel.is-2col .simi-mega__list { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
.simi-mega__list li { font-size: 1.4rem; white-space: nowrap; }
.simi-mega__list a { color: #111 !important; font-weight: 500; text-transform: none; }
.simi-mega__list a:hover { color: #165DFC !important; }
/* bảng danh mục bị khung menu cắt (ul overflow:auto + header-nav overflow-x:clip) -> cho tràn */
@media (min-width: 1024px) {
  .header-nav, .simi-nav, .simi-nav .navigation-horizontal { overflow: visible !important; }
}
.simi-nav .simi-mega__list li::marker { color: #111; }
.simi-nav .simi-mega__list a, .header .simi-nav .simi-mega__list a { color: #111 !important; }
.simi-nav .simi-mega__list a:hover, .header .simi-nav .simi-mega__list a:hover { color: #165DFC !important; }
/* #9 menu điện thoại */
.simi-mnav > ul { list-style: none; margin: 0; padding: .8rem 0; }
.simi-mnav__item > a, .simi-mnav__item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.4rem; font-size: 1.6rem; font-weight: 500; color: #111; cursor: pointer; list-style: none;
}
.simi-mnav__item summary::-webkit-details-marker { display: none; }
.simi-mnav__item summary .icon { font-size: 1.4rem; color: #555; transition: transform .2s; }
.simi-mnav__item details[open] > summary .icon { transform: rotate(90deg); }
.simi-mnav__sub { list-style: none; margin: 0 0 .6rem; padding: 0 0 0 4rem; }
.simi-mnav__sub a { display: block; padding: .8rem 0; font-size: 1.5rem; color: #333; }
.simi-mnav__sep { height: 1px; margin: .8rem 2.4rem; background: #e5e7eb; }
#menu-drawer .simi-mnav a, #menu-drawer .simi-mnav summary { color: #111 !important; }
#menu-drawer .simi-mnav .simi-mnav__sub a { color: #333 !important; }
#menu-drawer .simi-mnav a:hover { color: #165DFC !important; }
/* #17 cụm liên hệ nổi: 3 icon SVG vuông bị ép 20x28 (méo, nhỏ hơn nút X 36px) -> về 36x36, căn giữa thẳng hàng với X */
.addThis_listSharing .addThis_item--icon { display: flex !important; align-items: center; justify-content: center; }
.addThis_listSharing .addThis_item--icon img { width: 36px !important; height: 36px !important; max-width: none !important; object-fit: contain; }
.addThis_listSharing li.addThis_item { height: auto !important; }
/* #18 chính sách đổi trả / giao hàng ở trang sản phẩm */
.simi-pdpol { font-size: 1.4rem; line-height: 1.6; color: #333; }
.simi-pdpol h4 { font-size: 1.5rem; font-weight: 700; margin: 1.4rem 0 .6rem; color: #111; }
.simi-pdpol h4:first-child { margin-top: 0; }
.simi-pdpol p { margin: 0 0 .6rem; }
.simi-pdpol ul { margin: 0 0 .8rem; padding-left: 2rem; list-style: disc; }
.simi-pdpol__table { width: 100%; border-collapse: collapse; margin: .4rem 0 .8rem; }
.simi-pdpol__table th, .simi-pdpol__table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid #e5e7eb; }
.simi-pdpol__table th { background: #f1f2f6; font-weight: 600; }
.simi-pdpol__table td:last-child, .simi-pdpol__table th:last-child { text-align: right; white-space: nowrap; }
.simi-pdpol__tip { background: #f5f8ff; padding: .8rem 1rem; border-radius: .6rem; }
.simi-pdpol__more { color: #165DFC !important; font-weight: 600; text-decoration: underline; }
/* #15 chân trang mới */
.simi-foot { background: #0f0f0f; color: #e3e3e3; padding: 4rem 0 0; font-size: 1.4rem; }
.simi-foot a { color: #e3e3e3 !important; }
.simi-foot a:hover { color: #fff !important; text-decoration: underline; }
.simi-foot__top, .simi-foot__cols, .simi-foot__extras { border-bottom: 1px solid rgba(255,255,255,.18); }
.simi-foot__top { display: flex; justify-content: space-between; align-items: center; gap: 3.2rem; padding-bottom: 2.8rem; }
.simi-foot__contact { display: flex; flex-direction: column; gap: 1.4rem; }
.simi-foot__hot, .simi-foot__mail { display: flex; align-items: center; gap: 1.4rem; text-decoration: none !important; }
.simi-foot__hot svg, .simi-foot__mail svg { width: 3rem; height: 3rem; color: #fff; flex: 0 0 3rem; }
.simi-foot__hot small, .simi-foot__mail small { display: block; font-size: 1.2rem; opacity: .75; }
.simi-foot__hot b { font-size: 2.6rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.simi-foot__mail b { font-size: 1.6rem; font-weight: 600; color: #fff; }
.simi-foot__social .simi-bsoc { display: flex; align-items: center; gap: 1.6rem; margin-bottom: 1.2rem; }
.simi-foot__social .simi-bsoc:last-child { margin-bottom: 0; }
.simi-foot__social .simi-bsoc__label { font-size: 1.4rem; font-weight: 700; min-width: 6.4rem; }
.simi-foot__social .simi-bsoc__icons { display: flex; gap: 1.2rem; }
.simi-foot__social .simi-bsoc__icons a { display: inline-flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); text-decoration: none !important; }
.simi-foot__social .simi-bsoc__icons a:hover { background: #165DFC; }
.simi-foot__social .simi-bsoc__icons svg { width: 1.9rem; height: 1.9rem; }
.simi-foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.2rem; padding: 2.8rem 0; }
.simi-foot__extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2rem; padding: 2.8rem 0; }
.simi-foot__col summary { list-style: none; font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 1.4rem; cursor: default; }
.simi-foot__col summary::-webkit-details-marker { display: none; }
.simi-foot__col ul { list-style: disc; margin: 0; padding-left: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.simi-foot__sub { font-weight: 600; margin: 0 0 .8rem; }
.simi-foot__sub + ul { margin-bottom: 1.4rem; }
.simi-foot__addr { margin: 0 0 1rem; line-height: 1.5; }
.simi-foot__zalo { display: flex; align-items: center; gap: 1.4rem; text-decoration: none !important; }
.simi-foot__zalo img { width: 8rem; height: 8rem; background: #fff; border-radius: .6rem; padding: .4rem; flex: 0 0 8rem; }
.simi-foot__zalo b { display: block; color: #fff; margin-bottom: .2rem; }
.simi-foot__pay { max-width: 24.6rem; height: auto; }
.simi-foot__brand { display: grid; grid-template-columns: auto 1fr; gap: 4rem; align-items: center; padding: 2.8rem 0; }
.simi-foot__logo img { width: 18rem; height: auto; }
.simi-foot__company p { margin: 0 0 .4rem; line-height: 1.55; }
.simi-foot__cname { font-weight: 700; color: #fff; }
.simi-foot .footer-copyright { border-color: rgba(255,255,255,.18) !important; color: #bdbdbd; }
@media (max-width: 1023px) and (min-width: 768px) {
  .simi-foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .simi-foot { padding-top: 2.4rem; }
  .simi-foot__top { flex-direction: column; align-items: flex-start; gap: 2rem; padding-bottom: 2rem; }
  .simi-foot__hot b { font-size: 2.2rem; }
  .simi-foot__cols, .simi-foot__extras { display: block; padding: 0; }
  .simi-foot__col { border-bottom: 1px solid rgba(255,255,255,.14); }
  .simi-foot__col summary { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 1.5rem 0; cursor: pointer; font-size: 1.5rem; }
  .simi-foot__col summary::after { content: "+"; font-size: 2.2rem; font-weight: 300; line-height: 1; }
  .simi-foot__col[open] summary::after { content: "–"; }
  .simi-foot__col[open] > :not(summary) { margin-bottom: 1.4rem; }
  .simi-foot__brand { grid-template-columns: 1fr; gap: 1.6rem; }
  .simi-foot__logo img { width: 14rem; }
}
footer.simi-foot a, footer.simi-foot a:not([class]), footer.simi-foot .link, footer.simi-foot li a { color: #e3e3e3 !important; }
footer.simi-foot a:hover, footer.simi-foot li a:hover { color: #fff !important; }
footer.simi-foot li::marker { color: #9ca3af; }
footer.simi-foot .email-subscribe > p.font-semibold:first-child { display: none; }  /* tiêu đề đã có ở summary */
footer.simi-foot .email-subscribe a[href^="https://zalo.me"] { color: #fff !important; }
/* ===== 30/09 — FEEDBACK 29-9 #2–7: danh sách sản phẩm bản điện thoại ===== */
/* #3 nhãn -xx% cạnh giá + vòng "BÁN HẾT" trên ảnh (mọi thẻ SP) */
.card-product .simi-price-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.card-product .simi-sale-pill { background: #E11D2A; color: #fff; font-size: 11px; font-weight: 600; line-height: 1; padding: 3px 5px; border-radius: 4px; white-space: nowrap; }
.card-product .simi-soldout { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; width: 88px; height: 88px; border-radius: 50%; background: rgba(17, 24, 39, .8); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; display: flex; align-items: center; justify-content: center; pointer-events: none; }
/* #6 thẻ cao bằng nhau: tên luôn giữ 2 dòng, khối giá luôn chừa dòng giá gốc */
.card-product .card-product__title { min-height: calc(2 * 1.35em); line-height: 1.35; }
.card-product .price-box > div { min-height: 3.4rem; justify-content: flex-start; }

/* #2 thanh lọc nhanh (chỉ hiện < 1024px) */
.simi-qbar { position: sticky; top: var(--simi-hh, 56px); z-index: 30; display: none; align-items: stretch; background: #fff; margin: 0 -12px 8px; padding: 0 4px; border-bottom: 1px solid #eceef2; }
.simi-qbar__item { flex: 1 1 0; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 0; font-size: 15px; color: #4b5563; background: none; border: 0; cursor: pointer; }
.simi-qbar__item + .simi-qbar__item::before { content: ""; position: absolute; left: 0; top: 50%; height: 16px; margin-top: -8px; border-left: 1px solid #d9dce3; }
.simi-qbar__item.is-active { color: #E11D2A; font-weight: 600; }  /* #7 */
.simi-qbar__arrows path { fill: #9ca3af; }
.simi-qbar__price.is-asc .up, .simi-qbar__price.is-desc .down { fill: #E11D2A; }
.simi-qbar .filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #E11D2A; color: #fff; font-size: 11px; font-weight: 600; }
.simi-qbar .filter-count:empty, .simi-qbar .filter-count[data-zero] { display: none; }

@media (max-width: 1023px) {
  .simi-qbar { display: flex; }
  /* #2 + #5 header ghim đầu trang, thấp hơn */
  body.collection .header { position: sticky !important; top: 0 !important; z-index: 40; min-height: 0 !important; height: auto !important; transform: none !important; padding-top: .6rem !important; padding-bottom: .6rem !important; background-color: var(--color-header-bg) !important; box-shadow: 0 1px 0 #eceef2; }
  body.collection .header .logo-wrapper { max-width: calc(var(--logo-width) * .8); }
  /* bỏ hàng "Lọc / Sắp xếp" cũ (thanh nhanh thay thế), tiêu đề gọn */
  .simi-coll-head { margin-bottom: 0 !important; padding: 8px 0 4px !important; }
  .simi-coll-head h1 { font-size: 20px !important; }
  .simi-coll-head > div.flex { display: none !important; }
  /* #5 khoảng cách thẻ nhỏ lại để thấy 4 SP + header trên 1 màn hình */
  body.collection .product-list .grid { gap: 8px !important; margin-top: 0 !important; }
  body.collection .card-product .card-product__body { padding: 6px 6px 8px !important; gap: 3px !important; }
  body.collection .card-product .card-product__title { font-size: 13.5px; }
  body.collection .card-product .price { font-size: 15px; }
  body.collection .card-product .compare-price { font-size: 12px; }
  body.collection .card-product .price-box > div { gap: 1px !important; min-height: 3.3rem; }
  .card-product .simi-soldout { width: 76px; height: 76px; font-size: 12px; }
}