/* PRESERVED: category/module card styles (unrelated to product page) */
/* Product cards in Chameleon modules and catalog grids */
.container-module .product-thumb .price-actions-box.vg-card-actions,
.product-grid .product-thumb .price-actions-box.vg-card-actions {
  display: grid !important;
  grid-template-columns: 78px auto;
  column-gap: 7px;
  row-gap: 7px;
  align-items: end;
  justify-content: space-between;
  min-height: 0;
}

.container-module .product-thumb .vg-card-actions > .price,
.product-grid .product-thumb .vg-card-actions > .price {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  min-height: 0;
  margin: 0;
}

.container-module .product-thumb .vg-card-actions > .vg-card-qty,
.product-grid .product-thumb .vg-card-actions > .vg-card-qty {
  grid-column: 1;
  grid-row: 2;
}

.container-module .product-thumb .vg-card-actions > .cart,
.product-grid .product-thumb .vg-card-actions > .cart {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  width: auto !important;
  margin: 0 !important;
}

.vg-card-qty {
  display: grid;
  grid-template-columns: 24px 30px 24px;
  width: 78px;
  height: 34px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eaedf7;
  border-radius: 7px;
}

.vg-card-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 32px;
  padding: 0;
  color: #64707d;
  font-size: 17px;
  line-height: 1;
  background: #fff;
  border: 0;
  cursor: pointer;
}

.vg-card-qty-btn:hover,
.vg-card-qty-btn:focus {
  color: #000;
  background: #f7f8fb;
}

.vg-card-qty-btn:disabled {
  opacity: .45;
  cursor: default;
}

.vg-card-qty input.vg-card-qty-input {
  width: 30px;
  min-width: 30px;
  height: 32px;
  padding: 0 2px;
  color: #111;
  font-size: 13px;
  line-height: 32px;
  text-align: center;
  background: #fff;
  border: 0;
  border-right: 1px solid #eaedf7;
  border-left: 1px solid #eaedf7;
  border-radius: 0;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.vg-card-qty input.vg-card-qty-input::-webkit-inner-spin-button,
.vg-card-qty input.vg-card-qty-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.container-module .product-thumb .vg-card-actions .cart .btn-general,
.product-grid .product-thumb .vg-card-actions .cart .btn-general {
  width: auto !important;
  min-width: 82px;
  height: 34px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1;
  border-radius: 7px;
  white-space: nowrap;
}

.container-module .product-thumb .vg-card-actions .cart .btn-general .icon-cart-add,
.product-grid .product-thumb .vg-card-actions .cart .btn-general .icon-cart-add,
.container-module .product-thumb .vg-card-actions .cart .btn-general .icon-notify-stock,
.product-grid .product-thumb .vg-card-actions .cart .btn-general .icon-notify-stock {
  display: none !important;
}

.position-no-owl .container-module .special .product-thumb .vg-card-actions .btn-general .text-cart-add,
.position-no-owl .container-module .bestseller .product-thumb .vg-card-actions .btn-general .text-cart-add,
.position-no-owl .container-module .latest .product-thumb .vg-card-actions .btn-general .text-cart-add,
.position-no-owl .container-module .featured .product-thumb .vg-card-actions .btn-general .text-cart-add,
.container-module .product-thumb .vg-card-actions .btn-general .text-cart-add,
.product-grid .product-thumb .vg-card-actions .btn-general .text-cart-add {
  display: inline-block !important;
  padding-left: 0 !important;
}

@media (max-width: 600px) {
  .container-module .product-thumb .price-actions-box.vg-card-actions,
  .product-grid .product-thumb .price-actions-box.vg-card-actions {
    grid-template-columns: 78px minmax(82px, auto);
  }

  .container-module .product-thumb .vg-card-actions > .cart,
  .product-grid .product-thumb .vg-card-actions > .cart {
    margin-top: 0 !important;
  }

  .container-module .product-thumb .vg-card-actions .cart .btn-general,
  .product-grid .product-thumb .vg-card-actions .cart .btn-general {
    width: 100% !important;
    height: 36px;
  }

  .vg-card-qty {
    height: 36px;
  }

  .vg-card-qty-btn,
  .vg-card-qty input.vg-card-qty-input {
    height: 34px;
    line-height: 34px;
  }
}

.container-module .product-thumb .price-actions-box.vg-card-actions.vg-card-out-of-stock,
.product-grid .product-thumb .price-actions-box.vg-card-actions.vg-card-out-of-stock {
  grid-template-columns: minmax(0, 1fr);
}

.container-module .product-thumb .vg-card-out-of-stock > .price,
.product-grid .product-thumb .vg-card-out-of-stock > .price,
.container-module .product-thumb .vg-card-out-of-stock > .cart,
.product-grid .product-thumb .vg-card-out-of-stock > .cart {
  grid-column: 1 / -1;
}

.container-module .product-thumb .vg-card-out-of-stock > .cart,
.product-grid .product-thumb .vg-card-out-of-stock > .cart {
  width: 100% !important;
}

.container-module .product-thumb .vg-card-out-of-stock .cart .vg-card-stock-button,
.product-grid .product-thumb .vg-card-out-of-stock .cart .vg-card-stock-button {
  width: 100% !important;
  min-width: 0;
  color: #707985 !important;
  background: #f0f2f5 !important;
  border: 1px solid #e1e5ea !important;
  box-shadow: none !important;
  opacity: 1;
}

.container-module .product-thumb .vg-card-out-of-stock .cart .vg-card-stock-button:hover,
.container-module .product-thumb .vg-card-out-of-stock .cart .vg-card-stock-button:focus,
.container-module .product-thumb .vg-card-out-of-stock .cart .vg-card-stock-button:active,
.product-grid .product-thumb .vg-card-out-of-stock .cart .vg-card-stock-button:hover,
.product-grid .product-thumb .vg-card-out-of-stock .cart .vg-card-stock-button:focus,
.product-grid .product-thumb .vg-card-out-of-stock .cart .vg-card-stock-button:active {
  color: #707985 !important;
  background: #f0f2f5 !important;
  border-color: #e1e5ea !important;
}

/* =========================================================
   VG: Price-list view — final alignment fix
   Status centered above price; quantity and Buy in one row.
   ========================================================= */
@media (min-width: 768px) {
  .category-page .product-layout.product-price .price-actions-box.vg-price-list-actions {
    display: grid !important;
    grid-template-columns: minmax(112px, 140px) 82px 94px !important;
    align-items: center !important;
    justify-content: end !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    min-width: 308px !important;
    margin-left: auto !important;
  }

  .category-page .product-layout.product-price .vg-price-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .category-page .product-layout.product-price .vg-price-info .ch-stock-status {
    display: block !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .category-page .product-layout.product-price .vg-price-info .stock-status {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    line-height: 14px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Remove the tick/icon before availability text */
  .category-page .product-layout.product-price .vg-price-info .stock-status::before,
  .category-page .product-layout.product-price .vg-price-info .stock-status::after,
  .category-page .product-layout.product-price .vg-price-info .ch-stock-status::before,
  .category-page .product-layout.product-price .vg-price-info .ch-stock-status::after {
    display: none !important;
    content: none !important;
  }

  .category-page .product-layout.product-price .vg-price-row,
  .category-page .product-layout.product-price .vg-price-row .price {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .category-page .product-layout.product-price .vg-price-row .price-default,
  .category-page .product-layout.product-price .vg-price-row .price-new,
  .category-page .product-layout.product-price .vg-price-row .price-old {
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* Horizontal quantity control: − 1 + */
  .category-page .product-layout.product-price .quantity_plus_minus.vg-price-quantity {
    display: grid !important;
    grid-template-columns: 26px 30px 26px !important;
    align-items: center !important;
    width: 82px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e5e9ef !important;
    border-radius: 6px !important;
  }

  .category-page .product-layout.product-price .vg-price-quantity .add-action {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #68717d !important;
    font-size: 0 !important;
    line-height: 32px !important;
    background: #fff !important;
    border: 0 !important;
    cursor: pointer !important;
    transform: none !important;
  }

  .category-page .product-layout.product-price .vg-price-quantity .add-action svg {
    display: none !important;
  }

  .category-page .product-layout.product-price .vg-price-quantity .add-up::before {
    content: '−' !important;
    display: block !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }

  .category-page .product-layout.product-price .vg-price-quantity .add-down::before {
    content: '+' !important;
    display: block !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .category-page .product-layout.product-price .vg-price-quantity input.quantity-num {
    position: static !important;
    display: block !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111 !important;
    font-size: 12px !important;
    line-height: 32px !important;
    text-align: center !important;
    background: #fff !important;
    border: 0 !important;
    border-right: 1px solid #e5e9ef !important;
    border-left: 1px solid #e5e9ef !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .category-page .product-layout.product-price .vg-price-list-actions > .cart {
    display: block !important;
    width: 94px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .category-page .product-layout.product-price .vg-price-buy {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 94px !important;
    min-width: 94px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    color: #18b86a !important;
    font-size: 12px !important;
    line-height: 32px !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    background: #fff !important;
    border: 1px solid #18b86a !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  .category-page .product-layout.product-price .vg-price-buy .icon-cart-add,
  .category-page .product-layout.product-price .vg-price-buy .icon-notify-stock {
    display: none !important;
  }

  .category-page .product-layout.product-price .vg-price-buy .text-cart-add {
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
  }

  .category-page .product-layout.product-price .vg-price-buy:hover,
  .category-page .product-layout.product-price .vg-price-buy:focus {
    color: #fff !important;
    background: #18b86a !important;
  }
}


/* VG price view: force visible Buy label even when Chameleon hides inner spans */
@media (min-width: 768px) {
  .category-page .product-layout.product-price button.vg-price-buy:not(.vg-price-notify)::after {
    content: attr(data-vg-buy-text) !important;
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
  }

  .category-page .product-layout.product-price button.vg-price-buy:not(.vg-price-notify) > .text-cart-add,
  .category-page .product-layout.product-price button.vg-price-buy:not(.vg-price-notify) > .icon-cart-add {
    display: none !important;
  }
}


/* VG price view: out-of-stock button */
@media (min-width: 768px) {
  .category-page .product-layout.product-price button.vg-price-buy.vg-price-outofstock,
  .category-page .product-layout.product-price button.vg-price-buy.vg-price-outofstock:hover,
  .category-page .product-layout.product-price button.vg-price-buy.vg-price-outofstock:focus {
    width: 126px !important;
    min-width: 126px !important;
    color: #8a929d !important;
    background: #f2f4f6 !important;
    border-color: #dfe3e8 !important;
    cursor: default !important;
    opacity: 1 !important;
  }

  .category-page .product-layout.product-price .vg-price-list-actions > .cart:has(.vg-price-outofstock) {
    width: 126px !important;
  }
}


/* =========================================================
   VG: Grid view — full stock text and equal card-bottom level
   ========================================================= */
@media (min-width: 601px) {
  .category-page .product-layout.product-grid .price-actions-box.vg-price-list-actions {
    display: grid !important;
    grid-template-columns: 78px minmax(82px, 1fr) !important;
    grid-template-rows: 38px 34px !important;
    column-gap: 7px !important;
    row-gap: 7px !important;
    align-items: end !important;
    width: 100% !important;
    min-height: 79px !important;
    margin-top: auto !important;
  }

  .category-page .product-layout.product-grid .vg-price-info {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
  }

  .category-page .product-layout.product-grid .vg-price-info .ch-stock-status {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 14px !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .category-page .product-layout.product-grid .vg-price-info .stock-status {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #37ad70 !important;
    font-size: 11px !important;
    line-height: 14px !important;
    text-align: left !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .category-page .product-layout.product-grid .vg-price-info .stock-status::before,
  .category-page .product-layout.product-grid .vg-price-info .stock-status::after {
    display: none !important;
    content: none !important;
  }

  .category-page .product-layout.product-grid .vg-price-row,
  .category-page .product-layout.product-grid .vg-price-row .price {
    width: 100% !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .category-page .product-layout.product-grid .quantity_plus_minus.vg-price-quantity {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: end !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-grid .price-actions-box.vg-price-list-actions > .cart {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-grid .price-actions-box.vg-price-list-actions > .cart .vg-price-buy {
    width: 100% !important;
    height: 34px !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-grid .price-actions-box.vg-price-list-actions.vg-card-out-of-stock {
    grid-template-columns: 1fr !important;
  }

  .category-page .product-layout.product-grid .price-actions-box.vg-price-list-actions.vg-card-out-of-stock > .cart {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .category-page .product-layout.product-grid .vg-price-info .ch-stock-status,
  .category-page .product-layout.product-grid .vg-price-info .stock-status {
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}

/* =========================================================
   VG: List view — buttons in the same style as grid/price view
   ========================================================= */
@media (min-width: 768px) {
  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions > .cart {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-list button.vg-price-buy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 104px !important;
    min-width: 104px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    color: #18b86a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    background: #fff !important;
    border: 1px solid #18b86a !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  .category-page .product-layout.product-list button.vg-price-buy .icon-cart-add,
  .category-page .product-layout.product-list button.vg-price-buy .icon-notify-stock {
    display: none !important;
  }

  .category-page .product-layout.product-list button.vg-price-buy .text-cart-add {
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
  }

  .category-page .product-layout.product-list button.vg-price-buy:hover,
  .category-page .product-layout.product-list button.vg-price-buy:focus {
    color: #fff !important;
    background: #18b86a !important;
  }

  .category-page .product-layout.product-list button.vg-price-buy.vg-price-outofstock,
  .category-page .product-layout.product-list button.vg-price-buy.vg-price-outofstock:hover,
  .category-page .product-layout.product-list button.vg-price-buy.vg-price-outofstock:focus {
    width: 144px !important;
    min-width: 144px !important;
    color: #8a929d !important;
    background: #f2f4f6 !important;
    border-color: #dfe3e8 !important;
    cursor: default !important;
    opacity: 1 !important;
  }

  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions.vg-card-out-of-stock > .cart {
    width: 144px !important;
  }
}

@media (max-width: 767px) {
  .category-page .product-layout.product-list button.vg-price-buy .icon-cart-add,
  .category-page .product-layout.product-list button.vg-price-buy .icon-notify-stock {
    display: none !important;
  }

  .category-page .product-layout.product-list button.vg-price-buy {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    color: #18b86a !important;
    background: #fff !important;
    border: 1px solid #18b86a !important;
    border-radius: 6px !important;
  }

  .category-page .product-layout.product-list button.vg-price-buy.vg-price-outofstock {
    color: #8a929d !important;
    background: #f2f4f6 !important;
    border-color: #dfe3e8 !important;
  }
}

/* =========================================================
   VG FINAL v6: List view — same layout as price view
   Stock above price, quantity and button in the same row
   ========================================================= */
@media (min-width: 768px) {
  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions {
    display: grid !important;
    grid-template-columns: 126px 76px 104px !important;
    grid-template-rows: 44px !important;
    column-gap: 10px !important;
    align-items: center !important;
    justify-content: start !important;
    width: max-content !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin-top: 8px !important;
    flex-wrap: nowrap !important;
  }

  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions .vg-price-info {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 126px !important;
    min-width: 126px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .category-page .product-layout.product-list .vg-price-info .ch-stock-status {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 14px !important;
    margin: 0 0 3px !important;
    padding: 0 !important;
    overflow: visible !important;
    text-align: center !important;
  }

  .category-page .product-layout.product-list .vg-price-info .stock-status {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #37ad70 !important;
    font-size: 11px !important;
    line-height: 14px !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  .category-page .product-layout.product-list .vg-price-info .stock-status::before,
  .category-page .product-layout.product-list .vg-price-info .stock-status::after {
    display: none !important;
    content: none !important;
  }

  .category-page .product-layout.product-list .vg-price-row,
  .category-page .product-layout.product-list .vg-price-row .price {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .category-page .product-layout.product-list .vg-price-row .price-default,
  .category-page .product-layout.product-list .vg-price-row .price-new,
  .category-page .product-layout.product-list .vg-price-row .price-old {
    text-align: center !important;
    white-space: nowrap !important;
  }

  .category-page .product-layout.product-list .quantity_plus_minus.vg-price-quantity {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: center !important;
    width: 76px !important;
    min-width: 76px !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions > .cart {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: start !important;
    width: 104px !important;
    min-width: 104px !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions > .cart .vg-price-buy {
    width: 104px !important;
    min-width: 104px !important;
    height: 34px !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions.vg-card-out-of-stock {
    grid-template-columns: 126px 144px !important;
  }

  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions.vg-card-out-of-stock > .cart {
    grid-column: 2 !important;
    width: 144px !important;
    min-width: 144px !important;
  }

  .category-page .product-layout.product-list .price-actions-box.vg-price-list-actions.vg-card-out-of-stock > .cart .vg-price-outofstock {
    width: 144px !important;
    min-width: 144px !important;
  }
}

/* =========================================================
   VG FIX: List view — align out-of-stock price with button
   ========================================================= */
@media (min-width: 768px) {
  .category-page .product-layout.product-list
  .price-actions-box.vg-price-list-actions.vg-card-out-of-stock
  .vg-price-info {
    height: 34px !important;
    min-height: 34px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .category-page .product-layout.product-list
  .price-actions-box.vg-price-list-actions.vg-card-out-of-stock
  .vg-price-info .ch-stock-status,
  .category-page .product-layout.product-list
  .price-actions-box.vg-price-list-actions.vg-card-out-of-stock
  .vg-price-info .stock-status {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .category-page .product-layout.product-list
  .price-actions-box.vg-price-list-actions.vg-card-out-of-stock
  .vg-price-row,
  .category-page .product-layout.product-list
  .price-actions-box.vg-price-list-actions.vg-card-out-of-stock
  .vg-price-row .price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    min-height: 34px !important;
    line-height: 34px !important;
    margin: 0 !important;
  }
}

/* =========================================================
   VG MOBILE FIX: Grid cards — equal bottom alignment
   Keeps price/quantity/buttons at the same level for
   in-stock and out-of-stock products on phones.
   ========================================================= */
@media (max-width: 600px) {
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) !important;
    grid-template-rows: 76px 48px !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    align-items: end !important;
    width: 100% !important;
    min-height: 124px !important;
    margin-top: auto !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .vg-price-info {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .vg-price-info .ch-stock-status {
    display: block !important;
    width: 100% !important;
    min-height: 26px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .vg-price-info .stock-status {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    line-height: 26px !important;
    white-space: nowrap !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .vg-price-row,
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .vg-price-row .price {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 28px !important;
    white-space: nowrap !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .quantity_plus_minus.vg-price-quantity {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: end !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions > .cart {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions > .cart .vg-price-buy {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    margin: 0 !important;
  }

  /* No stock: reserve the same status space as the neighbour card. */
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions.vg-card-out-of-stock
  .vg-price-info::before {
    content: "" !important;
    display: block !important;
    flex: 0 0 34px !important;
    width: 100% !important;
    height: 34px !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions.vg-card-out-of-stock > .cart {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }
}

/* =========================================================
   VG MOBILE FIX 2: compact and level purchase controls
   ========================================================= */
@media (max-width: 600px) {
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions {
    grid-template-rows: 76px 40px !important;
    min-height: 116px !important;
    align-items: center !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .quantity_plus_minus.vg-price-quantity,
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions > .cart {
    align-self: center !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .quantity_plus_minus.vg-price-quantity {
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .quantity_plus_minus.vg-price-quantity > button,
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .quantity_plus_minus.vg-price-quantity > input,
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .quantity_plus_minus.vg-price-quantity .btn,
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions .quantity_plus_minus.vg-price-quantity .form-control {
    height: 40px !important;
    min-height: 40px !important;
    line-height: 38px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions > .cart {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions > .cart .vg-price-buy,
  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions > .cart .vg-price-outofstock {
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    line-height: 38px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .category-page .product-layout.product-grid
  .price-actions-box.vg-price-list-actions.vg-card-out-of-stock > .cart {
    height: 40px !important;
    min-height: 40px !important;
  }
}

/* ========================================================================
   VG PRODUCT CARD CLEAN v4.0.0 — isolated product page component
   Desktop + mobile. Does NOT target the site's bottom mobile navigation.
   ======================================================================== */
.vg-product-page {
  --vgpc-green: #08a86b;
  --vgpc-green-dark: #078d5b;
  --vgpc-green-soft: #eefaf5;
  --vgpc-blue: #2f80ed;
  --vgpc-blue-soft: #eef5ff;
  --vgpc-red: #ff4d4f;
  --vgpc-red-soft: #fff1f1;
  --vgpc-orange: #f5a623;
  --vgpc-text: #17202a;
  --vgpc-muted: #6f7b87;
  --vgpc-line: #e7ecef;
  --vgpc-soft: #f7f9fb;
  --vgpc-card: #fff;
  --vgpc-radius: 16px;
  --vgpc-shadow: 0 10px 32px rgba(26, 42, 58, .055);
  color: var(--vgpc-text);
}

.vg-product-page *,
.vg-product-page *::before,
.vg-product-page *::after { box-sizing: border-box; }

/* Full product-page canvas without touching site header/footer widths. */
@media (min-width: 992px) {
  body .vg-product-page.container {
    width: calc(100vw - 48px) !important;
    max-width: 1440px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .vg-product-page > .row > #column-left,
  .vg-product-page > .row > #column-right { display: none !important; }
  .vg-product-page > .row > #content {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Breadcrumb */
.vg-product-page .breadcrumb-box { margin: 10px 0 14px !important; }
.vg-product-page .breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  color: #8a949e;
  font-size: 12px;
  background: transparent !important;
}
.vg-product-page .breadcrumb a { color: #5e6873; }

/* Old top tabs are hidden. New clean rail is used under the product card. */
.vg-product-page .tabs_top.vg-tabs-no-clone { display: none !important; }

/* ===================== Main desktop structure ===================== */
@media (min-width: 992px) {
  #product.vgpc-product {
    display: grid !important;
    grid-template-columns: minmax(430px, 1.08fr) minmax(430px, .98fr) minmax(260px, .52fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
  }
  #product.vgpc-product > [class*="col-"] {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }
  #product.vgpc-product .vgpc-right,
  #product.vgpc-product .vgpc-right-inner { display: contents !important; }

  #product.vgpc-product .vgpc-gallery,
  #product.vgpc-product .vgpc-summary,
  #product.vgpc-product .vgpc-services {
    min-width: 0;
    min-height: 620px;
    background: var(--vgpc-card);
    border: 1px solid var(--vgpc-line);
    border-radius: var(--vgpc-radius);
    box-shadow: var(--vgpc-shadow);
  }

  #product.vgpc-product .vgpc-gallery { grid-column: 1; }
  #product.vgpc-product .vgpc-summary { grid-column: 2; }
  #product.vgpc-product .vgpc-services { grid-column: 3; }
}

/* ===================== Gallery ===================== */
#product.vgpc-product .vgpc-gallery {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
}
#product.vgpc-product .vgpc-gallery .thumbnails {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  margin: 0 !important;
}
#product.vgpc-product .general-image {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto;
  min-height: 480px;
  margin: 0 !important;
  padding: 24px 26px 12px !important;
  border: 0 !important;
  background: #fff !important;
}
#product.vgpc-product #image-box,
#product.vgpc-product #image-box .swiper-wrapper,
#product.vgpc-product #image-box .swiper-slide {
  width: 100% !important;
  height: 100% !important;
}
#product.vgpc-product #image-box .swiper-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#product.vgpc-product #image-box .thumbnail {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
#product.vgpc-product #image-box img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 440px !important;
  object-fit: contain !important;
  margin: auto !important;
}

#product.vgpc-product .image-additional {
  flex: 0 0 auto;
  width: 100% !important;
  height: 72px !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
#product.vgpc-product .image-additional .swiper-wrapper {
  display: flex !important;
  align-items: center !important;
  height: 72px !important;
}
#product.vgpc-product .image-additional .swiper-slide {
  flex: 0 0 64px !important;
  width: 64px !important;
  height: 64px !important;
  margin-right: 10px !important;
}
#product.vgpc-product .image-additional .thumbnail {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 4px !important;
  overflow: hidden;
  border: 1px solid var(--vgpc-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}
#product.vgpc-product .image-additional .swiper-slide-thumb-active .thumbnail,
#product.vgpc-product .image-additional .thumbnail:hover {
  border-color: var(--vgpc-green) !important;
  box-shadow: 0 0 0 1px var(--vgpc-green) inset;
}
#product.vgpc-product .image-additional img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Native stickers stay on the gallery. */
#product.vgpc-product .top-sticker-timer-rating {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  z-index: 8 !important;
  pointer-events: none;
}
#product.vgpc-product .top-sticker-timer-rating > .rating { display: none !important; }
#product.vgpc-product .stickers-ns {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
}
#product.vgpc-product .sticker-ns {
  min-width: auto !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border-radius: 7px !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .02em;
  text-transform: uppercase;
}
#product.vgpc-product .sticker-ns.bestseller { background: #0b9a62 !important; }
#product.vgpc-product .sticker-ns.newproduct { background: #3366a5 !important; }
#product.vgpc-product .sticker-ns.special { background: #a96d00 !important; }
#product.vgpc-product .sticker-ns.popular { background: #12835c !important; }

.vgpc-gallery-wishlist-native {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #5c6874;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--vgpc-line);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(25, 42, 58, .08);
  cursor: pointer;
  transition: .18s ease;
}
.vgpc-gallery-wishlist-native:hover { color: var(--vgpc-green); border-color: #b8e9d5; transform: translateY(-1px); }
.vgpc-gallery-wishlist-native svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.8; }

.vgpc-gallery-controls { pointer-events: none; }
.vgpc-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  padding: 0;
  color: #4f5c68;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--vgpc-line);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(25,42,58,.07);
  pointer-events: auto;
  cursor: pointer;
}
.vgpc-gallery-arrow:hover { color: var(--vgpc-green); border-color: #b8e9d5; }
.vgpc-gallery-arrow svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.9; }
.vgpc-gallery-prev { left: 8px; }
.vgpc-gallery-next { right: 8px; }

/* ===================== Summary / purchase panel ===================== */
#product.vgpc-product .vgpc-summary {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  padding: 24px 24px 20px !important;
  overflow: visible !important;
}

.vgpc-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 12px; }
.vgpc-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.vgpc-badge-top, .vgpc-badge-popular { color: #068453; background: #eaf9f2; }
.vgpc-badge-new { color: #2c6bc8; background: #edf4ff; }
.vgpc-badge-special { color: #9b6500; background: #fff5df; }
.vgpc-mobile-badges { display: none; }

#product.vgpc-product .vgpc-heading { margin: 0 !important; padding: 0 0 18px !important; border-bottom: 1px solid var(--vgpc-line); }
#product.vgpc-product .h1-prod-name {
  display: block !important;
  margin: 0 0 12px !important;
  color: var(--vgpc-text) !important;
  font-size: clamp(21px, 1.45vw, 27px) !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em;
}
#product.vgpc-product .vg-heading-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}
#product.vgpc-product .vg-heading-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: var(--vgpc-muted) !important;
  text-decoration: none !important;
}
.vg-dynamic-stars { display: inline-flex; gap: 2px; }
.vg-dynamic-star {
  position: relative;
  display: inline-block;
  width: 18px;
  color: #dfe4e8;
  font-size: 18px;
  line-height: 1;
  overflow: hidden;
}
.vg-dynamic-star::before {
  content: "★";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--vg-star-fill, 0%);
  color: var(--vgpc-orange);
  overflow: hidden;
}
.vg-rating-value { color: #48535f; font-weight: 700; }
.vg-review-count { color: #78838e; }
.vg-heading-code {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #87919a !important;
  font-size: 11px !important;
  background: #f6f8fa;
  border-radius: 6px;
}
.vg-heading-code strong { color: #505b65; }

/* Hide old duplicate metadata; the clean header carries rating/code, purchase row carries stock. */
#product.vgpc-product .vgpc-summary > .info-product { display: none !important; }
#product.vgpc-product .vgpc-summary > .info-minimum { margin: 12px 0 0 !important; }

#product.vgpc-product .options {
  margin: 16px 0 0 !important;
  padding: 14px !important;
  border: 1px solid var(--vgpc-line);
  border-radius: 12px;
  background: #fafcfd;
}
#product.vgpc-product .options .control-label { color: #394550; font-size: 12px; font-weight: 700; }
#product.vgpc-product .options .form-control { min-height: 42px; border-color: #e1e7eb; border-radius: 9px; box-shadow: none; }

#product.vgpc-product .vgpc-purchase {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) auto !important;
  grid-template-areas:
    "price price stock"
    "qty cart cart" !important;
  gap: 12px 12px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 20px 0 0 !important;
}
#product.vgpc-product .vgpc-purchase > .price {
  grid-area: price !important;
  width: auto !important;
  margin: 0 !important;
  color: var(--vgpc-text) !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -.03em;
}
#product.vgpc-product .vgpc-purchase .price-old { color: #9aa3ac !important; font-size: 14px !important; }
#product.vgpc-product .vgpc-purchase .price-new { color: var(--vgpc-text) !important; font-size: 30px !important; font-weight: 800 !important; }
#product.vgpc-product .vgpc-purchase .price-tax { display: block; margin-top: 4px; color: #8b949d; font-size: 10px; }
#product.vgpc-product .vg-modern-stock {
  grid-area: stock !important;
  justify-self: end !important;
  width: auto !important;
  margin: 0 !important;
}
#product.vgpc-product .vg-modern-stock .stock_status_success,
#product.vgpc-product .vg-modern-stock .qty-not-in-stock {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px;
  padding: 5px 9px !important;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 650 !important;
}
#product.vgpc-product .vg-modern-stock .stock_status_success { color: #078c59 !important; background: #eaf9f2 !important; }
#product.vgpc-product .vg-modern-stock .qty-not-in-stock { color: #b54848 !important; background: #fff0f0 !important; }

#product.vgpc-product .quantity-adder {
  grid-area: qty !important;
  width: 104px !important;
  height: 46px !important;
  margin: 0 !important;
}
#product.vgpc-product .quantity-number {
  display: grid !important;
  grid-template-columns: 34px 36px 34px !important;
  align-items: stretch !important;
  width: 104px !important;
  height: 46px !important;
  overflow: hidden;
  border: 1px solid var(--vgpc-line);
  border-radius: 10px;
  background: #fff;
}
#product.vgpc-product .quantity-number .add-action {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 44px !important;
  margin: 0 !important;
  cursor: pointer;
  background: #fff !important;
}
#product.vgpc-product .quantity-number .quantity-product {
  width: 36px !important;
  height: 44px !important;
  padding: 0 !important;
  text-align: center !important;
  border: 0 !important;
  border-left: 1px solid #f0f2f4 !important;
  border-right: 1px solid #f0f2f4 !important;
  background: #fff !important;
  box-shadow: none !important;
}
#product.vgpc-product .vgpc-purchase > .cart {
  grid-area: cart !important;
  width: 100% !important;
  margin: 0 !important;
}
#product.vgpc-product #button-cart,
#product.vgpc-product .btn-notify-stock {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  border: 1px solid var(--vgpc-green) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #12b877 0%, #08a86b 100%) !important;
  box-shadow: 0 6px 14px rgba(8,168,107,.16) !important;
  transition: .18s ease;
}
#product.vgpc-product #button-cart:hover { background: var(--vgpc-green-dark) !important; transform: translateY(-1px); }
#product.vgpc-product #button-cart .icon-cart-add { filter: brightness(0) invert(1); }

.vgpc-quick-order-wrap { margin-top: 12px; }
.vgpc-quick-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  color: var(--vgpc-green);
  font-size: 13px;
  font-weight: 750;
  border: 1px solid #70d4ad;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: .18s ease;
}
.vgpc-quick-order:hover { color: var(--vgpc-green-dark); background: var(--vgpc-green-soft); border-color: var(--vgpc-green); }
.vgpc-quick-order-icon svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.vgpc-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px !important;
  width: 100%;
  margin: 14px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid var(--vgpc-line);
}
.vgpc-actions .vgpc-action {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 0;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  color: #4c5965 !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  border: 1px solid var(--vgpc-line) !important;
  border-radius: 9px !important;
  background: #fff !important;
  cursor: pointer;
  transition: .18s ease;
}
.vgpc-actions .vgpc-action:hover { color: var(--vgpc-green) !important; border-color: #bfe9d8 !important; background: var(--vgpc-green-soft) !important; }
.vgpc-action-icon { flex: 0 0 auto; width: 18px; height: 18px; stroke: var(--vgpc-green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vgpc-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: auto;
  padding: 14px 8px;
  border-radius: 11px;
  background: #f6f8fa;
}
.vgpc-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 10px;
  border-right: 1px solid #e4e8eb;
}
.vgpc-trust-item:last-child { border-right: 0; }
.vgpc-trust-icon { flex: 0 0 23px; color: #2f3a44; }
.vgpc-trust-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vgpc-trust-copy { min-width: 0; }
.vgpc-trust-copy strong, .vgpc-trust-copy span { display: block; }
.vgpc-trust-copy strong { color: #394550; font-size: 10px; line-height: 1.25; }
.vgpc-trust-copy span { margin-top: 2px; color: #87919b; font-size: 8.5px; line-height: 1.25; }

/* Keep secondary old blocks from visually competing in the clean summary. */
#product.vgpc-product .vgpc-summary > .short-desc-b,
#product.vgpc-product .vgpc-summary > .short-attr-b,
#product.vgpc-product .vgpc-summary > .related-products,
#product.vgpc-product .vgpc-summary > .product-gifts { margin-top: 14px; }

/* ===================== Services: payment / delivery / warranty ===================== */
#product.vgpc-product .vgpc-services {
  padding: 10px 18px !important;
  overflow: hidden;
}
#product.vgpc-product .vgpc-services .custom-block-products,
#product.vgpc-product .vgpc-services .custom-block-products > .row { margin: 0 !important; padding: 0 !important; }
#product.vgpc-product .vgpc-services .title-module { display: none !important; }
#product.vgpc-product .vgpc-services .item-cbp {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--vgpc-line);
}
#product.vgpc-product .vgpc-services .item-cbp:last-child { border-bottom: 0; }
#product.vgpc-product .vgpc-services .custom-block-product {
  position: relative;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: start;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 20px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#product.vgpc-product .vgpc-services .custom-block-product::after {
  content: "⌃";
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  color: #66717c;
  font-size: 14px;
  transform: translateY(1px);
}
#product.vgpc-product .vgpc-services .custom-block-product:not(.is-open)::after { content: "⌄"; }
#product.vgpc-product .vgpc-services .image {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  border-radius: 9px;
}
#product.vgpc-product .vgpc-services .image img { display: none !important; }
#product.vgpc-product .vgpc-services .image::before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
#product.vgpc-product .vgpc-services .item-cbp:nth-child(1) .image { color: var(--vgpc-blue); background: var(--vgpc-blue-soft); }
#product.vgpc-product .vgpc-services .item-cbp:nth-child(1) .image::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 9h18M7 15h4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 9h18M7 15h4'/%3E%3C/svg%3E");
}
#product.vgpc-product .vgpc-services .item-cbp:nth-child(2) .image { color: var(--vgpc-red); background: var(--vgpc-red-soft); }
#product.vgpc-product .vgpc-services .item-cbp:nth-child(2) .image::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M3 6h11v10H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M3 6h11v10H3zM14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");
}
#product.vgpc-product .vgpc-services .item-cbp:nth-child(3) .image { color: var(--vgpc-green); background: var(--vgpc-green-soft); }
#product.vgpc-product .vgpc-services .item-cbp:nth-child(3) .image::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M12 3 20 6v5c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-3Z'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M12 3 20 6v5c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-3Z'/%3E%3Cpath d='m8.5 12 2.2 2.2 4.8-5'/%3E%3C/svg%3E");
}
#product.vgpc-product .vgpc-services .text { grid-column: 2; min-width: 0; padding: 0 !important; }
#product.vgpc-product .vgpc-services .custom-block-title {
  margin: 2px 0 5px !important;
  color: #27323c !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}
#product.vgpc-product .vgpc-services .custom-block-desc {
  display: block;
  margin: 0 !important;
  color: #79838d !important;
  font-size: 10.5px !important;
  line-height: 1.48 !important;
}
#product.vgpc-product .vgpc-services .vgpc-service-more {
  display: inline-block;
  margin-top: 8px;
  color: var(--vgpc-green);
  font-size: 10px;
  font-weight: 750;
}

/* ===================== Section tabs ===================== */
.vg-section-tabs-wrap {
  margin: 18px 0 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--vgpc-line) !important;
  background: transparent !important;
}
.vg-section-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 34px !important;
  min-height: 48px !important;
  overflow-x: auto;
  scrollbar-width: none;
}
.vg-section-tabs::-webkit-scrollbar { display: none; }
.vg-section-tabs > a {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto;
  min-height: 48px !important;
  padding: 0 !important;
  color: #56616c !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  border: 0 !important;
  background: transparent !important;
}
.vg-section-tabs > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}
.vg-section-tabs > a.is-active { color: var(--vgpc-green) !important; }
.vg-section-tabs > a.is-active::after { background: var(--vgpc-green); }

/* Hide Chameleon's duplicate tab navigation, keep content itself. */
.vg-product-page .tabs-product > .tabs__header,
.vg-product-page .tabs-product > .nav-tabs { display: none !important; }
.vg-product-page .tabs-product .tab-content { margin: 12px 0 0 !important; }
.vg-product-page .tabs-product .tab-pane {
  padding: 20px 22px !important;
  border: 1px solid var(--vgpc-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 5px 22px rgba(25,42,58,.035) !important;
}
.vg-product-page #tab-description {
  color: #4e5964;
  font-size: 13px;
  line-height: 1.7;
}
.vg-product-page #tab-description .ch-h2,
.vg-product-page #tab-specification .ch-h2,
.vg-product-page #tab-review .ch-h2,
.vg-product-page #tab-question-answer .ch-h2 {
  margin: 0 0 16px !important;
  color: #27313b !important;
  font-size: 16px !important;
  font-weight: 750 !important;
}

/* ===================== Specifications ===================== */
.vg-product-page #tab-specification .short-attributes-groups {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
  margin: 0 !important;
}
.vg-product-page #tab-specification .attr-group-name {
  grid-column: 1 / -1;
  margin: 8px 0 7px !important;
  color: #303b45;
  font-size: 12px;
  font-weight: 750;
}
.vg-product-page #tab-specification .short-attribute {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(110px, .8fr);
  align-items: center;
  min-height: 48px;
  margin: 0 !important;
  padding: 11px 14px !important;
  border-bottom: 1px solid #edf0f2 !important;
  background: #fff !important;
}
.vg-product-page #tab-specification .short-attribute:nth-of-type(odd) { background: #f8fafb !important; }
.vg-product-page #tab-specification .attr-name,
.vg-product-page #tab-specification .attr-text { color: #53606c !important; font-size: 11.5px !important; }
.vg-product-page #tab-specification .attr-text { text-align: right; color: #394550 !important; font-weight: 600; }
.vg-spec-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  color: var(--vgpc-green);
  font-size: 12px;
  font-weight: 750;
  border: 0;
  background: transparent;
}

/* ===================== Reviews ===================== */
.vg-product-page #tab-review .ch-product-reviews {
  display: grid !important;
  grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr) !important;
  gap: 30px !important;
  align-items: center !important;
  margin: 0 0 18px !important;
  padding: 20px !important;
  border: 1px solid #edf0f2;
  border-radius: 13px;
  background: #fff;
}
.vg-product-page #tab-review .ch-rating-total {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.vg-product-page #tab-review .ch-rating-total-points {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: #202b35 !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  border: 0 !important;
  background: transparent !important;
}
.vg-product-page #tab-review .ch-rating-total-points::before,
.vg-product-page #tab-review .ch-rating-total-points::after { display: none !important; content: none !important; }
.vg-review-summary-stars { display: flex; gap: 2px; margin: 0 0 5px; }
.vg-review-summary-count { margin-bottom: 12px; color: #7e8892; font-size: 10px; }
.vg-product-page #tab-review .chm-btn-primary {
  min-height: 42px !important;
  padding: 0 20px !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--vgpc-green) !important;
}
.vg-product-page #tab-review .ch-star-rating-desc { width: 100% !important; margin: 0 !important; }
.vg-product-page #tab-review .ch-detailed-review {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 28px;
  color: #63707c;
  font-size: 10px;
}
.vg-product-page #tab-review .ch-progress {
  height: 6px !important;
  overflow: hidden;
  border-radius: 999px !important;
  background: #f0f2f4 !important;
}
.vg-product-page #tab-review .ch-dr-pct-progress { height: 100% !important; border-radius: 999px !important; background: var(--vgpc-orange) !important; }
.vg-product-page #review .review-item,
.vg-product-page #review .review-box {
  margin: 12px 0 0 !important;
  padding: 18px !important;
  border: 1px solid #edf0f2 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

/* Interactive stars in modal form */
.vg-product-page #form-review .product-rating { display: inline-flex !important; flex-direction: row-reverse; gap: 4px; }
.vg-product-page #form-review .product-rating label.star-rating {
  width: 27px !important;
  height: 27px !important;
  margin: 0 !important;
  cursor: pointer;
  filter: grayscale(1) opacity(.38);
  transition: .15s ease;
}
.vg-product-page #form-review .product-rating label.star-rating:hover,
.vg-product-page #form-review .product-rating label.star-rating:hover ~ label.star-rating,
.vg-product-page #form-review .product-rating input:checked ~ label.star-rating { filter: none; }

/* ===================== Mobile ===================== */
.vg-mobile-product-head { display: none; }
@media (max-width: 767px) {
  body .vg-product-page.container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 10px !important;
  }
  .vg-product-page .breadcrumb-box { display: none !important; }
  .vg-mobile-product-head {
    display: block !important;
    margin: 6px 0 10px;
    padding: 12px 12px 10px;
    border-bottom: 1px solid var(--vgpc-line);
    background: #fff;
  }
  .vgpc-heading-badges { display: none !important; }
  .vgpc-mobile-badges { display: flex !important; margin: 0 0 8px; }
  .vg-mobile-product-title {
    width: 100%;
    margin: 0 0 8px !important;
    overflow: hidden;
    color: var(--vgpc-text);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .vg-mobile-product-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .vg-mobile-rating { display: inline-flex !important; align-items: center !important; gap: 6px !important; color: #65717c !important; text-decoration: none !important; font-size: 10px; }
  .vg-mobile-code { color: #87919a; font-size: 9px; }
  .vg-mobile-code strong { color: #4f5a64; }
  .vg-mobile-rating .vg-dynamic-star { width: 14px; font-size: 14px; }

  #product.vgpc-product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  #product.vgpc-product > [class*="col-"] { float: none !important; width: 100% !important; max-width: none !important; padding: 0 !important; }
  #product.vgpc-product .vgpc-right,
  #product.vgpc-product .vgpc-right-inner { display: contents !important; }

  #product.vgpc-product .vgpc-gallery,
  #product.vgpc-product .vgpc-summary,
  #product.vgpc-product .vgpc-services {
    width: 100%;
    min-height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  #product.vgpc-product .vgpc-gallery { padding: 4px 4px 8px !important; }
  #product.vgpc-product .general-image { min-height: 300px; padding: 6px 8px !important; }
  #product.vgpc-product #image-box img { max-height: 292px !important; }
  #product.vgpc-product .image-additional.hidden-xs {
    display: block !important;
    width: 100% !important;
    height: 64px !important;
    margin: 6px 0 0 !important;
  }
  #product.vgpc-product .image-additional .swiper-wrapper { height: 64px !important; }
  #product.vgpc-product .image-additional .swiper-slide { flex: 0 0 56px !important; width: 56px !important; height: 56px !important; margin-right: 8px !important; }
  #product.vgpc-product .image-additional .thumbnail { width: 56px !important; height: 56px !important; border-radius: 9px !important; }
  #product.vgpc-product .vgpc-gallery-wishlist-native { top: 5px; right: 5px; width: 38px; height: 38px; }
  #product.vgpc-product .top-sticker-timer-rating { top: 7px !important; left: 7px !important; }
  #product.vgpc-product .stickers-ns { display: none !important; }
  #product.vgpc-product .swiper-pagination { display: flex !important; justify-content: center; gap: 4px; bottom: 2px !important; }
  #product.vgpc-product .swiper-pagination-bullet { width: 5px !important; height: 5px !important; opacity: 1 !important; background: #d4d9dd !important; }
  #product.vgpc-product .swiper-pagination-bullet-active { background: var(--vgpc-green) !important; }

  #product.vgpc-product .vgpc-summary { padding: 10px 12px 12px !important; border-top: 1px solid var(--vgpc-line) !important; }
  #product.vgpc-product .vgpc-heading { display: none !important; }
  #product.vgpc-product .vgpc-summary > .info-product { display: none !important; }
  #product.vgpc-product .vgpc-purchase {
    grid-template-columns: 96px minmax(0, 1fr) auto !important;
    grid-template-areas: "price price stock" "qty cart cart" !important;
    gap: 10px !important;
    padding-top: 6px !important;
  }
  #product.vgpc-product .vgpc-purchase > .price,
  #product.vgpc-product .vgpc-purchase .price-new { font-size: 23px !important; }
  #product.vgpc-product .vg-modern-stock .stock_status_success,
  #product.vgpc-product .vg-modern-stock .qty-not-in-stock { min-height: 23px; padding: 4px 7px !important; font-size: 9px !important; }
  #product.vgpc-product .quantity-adder { width: 96px !important; height: 44px !important; }
  #product.vgpc-product .quantity-number { grid-template-columns: 30px 36px 30px !important; width: 96px !important; height: 44px !important; }
  #product.vgpc-product .quantity-number .add-action { width: 30px !important; height: 42px !important; }
  #product.vgpc-product .quantity-number .quantity-product { width: 36px !important; height: 42px !important; }
  #product.vgpc-product #button-cart { height: 44px !important; font-size: 13px !important; }
  .vgpc-quick-order-wrap { margin-top: 10px; }
  .vgpc-quick-order { height: 42px; font-size: 12px; }
  .vgpc-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px !important; padding-top: 10px !important; }
  .vgpc-actions .vgpc-action-share { display: none !important; }
  .vgpc-actions .vgpc-action { height: 40px !important; font-size: 10px !important; }
  .vgpc-trust-strip { display: none !important; }

  #product.vgpc-product .vgpc-services { padding: 0 12px !important; border-top: 8px solid #f6f8fa !important; }
  #product.vgpc-product .vgpc-services .custom-block-product { grid-template-columns: 32px minmax(0,1fr) 18px; padding: 14px 0 !important; cursor: pointer; }
  #product.vgpc-product .vgpc-services .custom-block-title { margin: 4px 0 0 !important; font-size: 12px !important; }
  #product.vgpc-product .vgpc-services .custom-block-desc,
  #product.vgpc-product .vgpc-services .vgpc-service-more { display: none !important; }
  #product.vgpc-product .vgpc-services .custom-block-product.is-open .custom-block-desc,
  #product.vgpc-product .vgpc-services .custom-block-product.is-open .vgpc-service-more { display: block !important; }

  .vg-section-tabs-wrap { margin-top: 4px !important; }
  .vg-section-tabs { gap: 21px !important; min-height: 44px !important; }
  .vg-section-tabs > a { min-height: 44px !important; font-size: 10.5px !important; }
  .vg-product-page .tabs-product .tab-content { margin-top: 8px !important; }
  .vg-product-page .tabs-product .tab-pane { padding: 14px 12px !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  .vg-product-page #tab-description { font-size: 12px; line-height: 1.65; }
  .vg-product-page #tab-description .ch-h2,
  .vg-product-page #tab-specification .ch-h2,
  .vg-product-page #tab-review .ch-h2 { font-size: 14px !important; margin-bottom: 10px !important; }
  .vg-product-page #tab-specification .short-attributes-groups { grid-template-columns: 1fr !important; }
  .vg-product-page #tab-specification .short-attribute { grid-template-columns: minmax(0,1fr) minmax(90px,.75fr); min-height: 44px; padding: 9px 6px !important; }
  .vg-product-page #tab-specification .attr-name,
  .vg-product-page #tab-specification .attr-text { font-size: 10.5px !important; }
  .vg-product-page #tab-specification .short-attribute.vg-spec-mobile-hidden { display: none !important; }
  .vg-product-page #tab-specification.is-expanded .short-attribute.vg-spec-mobile-hidden { display: grid !important; }
  .vg-spec-toggle { display: flex !important; }
  .vg-product-page #tab-review .ch-product-reviews { grid-template-columns: 1fr !important; gap: 16px !important; padding: 14px !important; }
  .vg-product-page #tab-review .ch-rating-total-points { font-size: 38px !important; }
}

@media (max-width: 390px) {
  .vg-mobile-product-title { font-size: 14px; }
  #product.vgpc-product .general-image { min-height: 280px; }
  #product.vgpc-product #image-box img { max-height: 272px !important; }
  .vgpc-actions { gap: 7px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .vg-product-page *, .vg-product-page *::before, .vg-product-page *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ========================================================================
   VG PRODUCT CARD CLEAN v4.1.0 — MODERN LOWER TABS + REVIEW SIDEBAR
   Desktop: tabs/content on the left, live review summary on the right.
   Mobile: preserves the normal single-column tab flow and bottom navigation.
   ======================================================================== */
@media (min-width: 768px) {
  .vg-product-page .vgpc-lower-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 22px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
  }

  .vg-product-page .vgpc-lower-main {
    min-width: 0 !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs-wrap {
    margin: 0 0 12px !important;
    border-bottom: 1px solid #e8edf1 !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 34px !important;
    min-height: 48px !important;
    overflow-x: visible !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs > a {
    min-height: 48px !important;
    color: #596572 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs > a.is-active {
    color: var(--vgpc-green) !important;
  }

  .vg-product-page .vgpc-lower-main > .row.cbp,
  .vg-product-page .vgpc-lower-main > .row {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .vg-product-page .vgpc-lower-main .tabs-product {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vg-product-page .vgpc-lower-main .tabs-product .tab-content {
    margin: 0 !important;
  }

  .vg-product-page .vgpc-lower-main .tabs-product .tab-pane {
    min-height: 280px !important;
    padding: 20px 22px !important;
    border: 1px solid #e8edf1 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 7px 24px rgba(26, 45, 62, .04) !important;
  }

  /* The original Chameleon rating summary remains as the mobile source,
     but is replaced by the dedicated right sidebar on desktop. */
  .vg-product-page #tab-review > .ch-product-reviews.vgpc-review-summary-source {
    display: none !important;
  }

  .vg-product-page .vgpc-review-sidebar {
    min-width: 0 !important;
    padding-top: 60px !important;
  }

  .vg-product-page .vgpc-review-card {
    position: sticky;
    top: 88px;
    overflow: hidden;
    padding: 20px !important;
    border: 1px solid #e8edf1 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 7px 24px rgba(26, 45, 62, .04) !important;
  }

  .vg-product-page .vgpc-review-card-title {
    margin: 0 0 14px !important;
    color: #222d38 !important;
    font-size: 15px !important;
    font-weight: 760 !important;
    line-height: 1.3 !important;
  }

  .vg-product-page .vgpc-review-score {
    display: flex !important;
    align-items: flex-end !important;
    gap: 7px !important;
    margin-bottom: 6px !important;
  }

  .vg-product-page .vgpc-review-score strong {
    color: #1f2a34 !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: .95 !important;
    letter-spacing: -.03em !important;
  }

  .vg-product-page .vgpc-review-score span {
    padding-bottom: 4px !important;
    color: #7b8792 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
  }

  .vg-product-page .vgpc-review-card-stars {
    display: flex !important;
    gap: 3px !important;
    margin: 0 0 7px !important;
  }

  .vg-product-page .vgpc-review-card-stars .vg-dynamic-star {
    width: 19px !important;
    font-size: 19px !important;
  }

  .vg-product-page .vgpc-review-based-on {
    margin-bottom: 16px !important;
    color: #7f8a94 !important;
    font-size: 10px !important;
  }

  .vg-product-page .vgpc-review-bars {
    display: grid !important;
    gap: 8px !important;
    margin: 2px 0 18px !important;
  }

  .vg-product-page .vgpc-review-bar-row {
    display: grid !important;
    grid-template-columns: 24px 14px minmax(0, 1fr) 26px !important;
    gap: 7px !important;
    align-items: center !important;
    min-height: 16px !important;
    color: #6f7a84 !important;
    font-size: 10px !important;
  }

  .vg-product-page .vgpc-review-bar-star {
    color: var(--vgpc-orange) !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .vg-product-page .vgpc-review-bar-track {
    position: relative !important;
    height: 6px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #f0f3f5 !important;
  }

  .vg-product-page .vgpc-review-bar-fill {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: var(--vgpc-orange) !important;
  }

  .vg-product-page .vgpc-review-bar-total {
    color: #65717c !important;
    text-align: right !important;
    font-weight: 650 !important;
  }

  .vg-product-page .vgpc-write-review {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    border: 1px solid var(--vgpc-green) !important;
    border-radius: 9px !important;
    background: var(--vgpc-green) !important;
    box-shadow: none !important;
    transition: transform .15s ease, filter .15s ease !important;
  }

  .vg-product-page .vgpc-write-review:hover,
  .vg-product-page .vgpc-write-review:focus {
    color: #fff !important;
    filter: brightness(.96) !important;
    transform: translateY(-1px) !important;
  }
}

/* Review modal: real interactive 1–5 star control. */
.vg-product-page #form-review .product-rating.vgpc-rating-ready {
  display: inline-flex !important;
  flex-direction: row !important;
  gap: 5px !important;
  align-items: center !important;
}

.vg-product-page #form-review .product-rating.vgpc-rating-ready > input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.vg-product-page #form-review .product-rating.vgpc-rating-ready label.label-star-prod {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #d9dfe4 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  filter: none !important;
  background: transparent !important;
  border: 0 !important;
  transition: transform .12s ease, color .12s ease !important;
}

.vg-product-page #form-review .product-rating.vgpc-rating-ready label.label-star-prod::before {
  content: "★" !important;
  display: block !important;
  color: currentColor !important;
  font-size: 31px !important;
  line-height: 1 !important;
}

.vg-product-page #form-review .product-rating.vgpc-rating-ready label.label-star-prod.vgpc-star-on {
  color: var(--vgpc-orange) !important;
}

.vg-product-page #form-review .product-rating.vgpc-rating-ready label.label-star-prod:hover,
.vg-product-page #form-review .product-rating.vgpc-rating-ready label.label-star-prod:focus-visible {
  transform: translateY(-1px) scale(1.05) !important;
  outline: none !important;
}

/* Mobile remains one column; no duplicate fixed rating sidebar. */
@media (max-width: 767px) {
  .vg-product-page .vgpc-lower-grid {
    display: block !important;
    margin: 0 !important;
  }

  .vg-product-page .vgpc-review-sidebar {
    display: none !important;
  }

  .vg-product-page #tab-review > .ch-product-reviews.vgpc-review-summary-source {
    display: grid !important;
  }
}


/* ========================================================================
   VG PRODUCT CARD CLEAN v4.2.0 — LOWER SECTION MATCH + TAB NAV FIX
   ======================================================================== */
@media (min-width: 768px) {
  .vg-product-page .vgpc-lower-grid {
    grid-template-columns: minmax(0, 1fr) 286px !important;
    gap: 18px !important;
    margin-top: 8px !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs-wrap {
    margin-bottom: 12px !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs {
    gap: 30px !important;
    min-height: 46px !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs > a {
    position: relative !important;
    min-height: 46px !important;
    padding: 0 0 12px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs > a::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -1px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: transparent !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs > a.is-active::after {
    background: var(--vgpc-green) !important;
  }

  .vg-product-page .vgpc-lower-main .vg-section-tabs .vg-tab-count {
    margin-left: 3px !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
  }

  .vg-product-page .vgpc-lower-main .tabs-product .tab-pane {
    min-height: 0 !important;
    padding: 18px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 18px rgba(26,45,62,.035) !important;
  }

  /* Characteristics like the approved mockup: two clean columns on desktop. */
  .vg-product-page #tab-specification:not(.active) {
    display: none !important;
  }

  .vg-product-page #tab-specification.active {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    column-gap: 16px !important;
    row-gap: 0 !important;
  }

  .vg-product-page #tab-specification.active > .ch-h2,
  .vg-product-page #tab-specification.active > .attr-group-name,
  .vg-product-page #tab-specification.active > .vg-spec-toggle {
    grid-column: 1 / -1 !important;
  }

  .vg-product-page #tab-specification.active > .short-attributes-groups {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    column-gap: 16px !important;
  }

  .vg-product-page #tab-specification.active > .short-attributes-groups > .attr-group-name {
    grid-column: 1 / -1 !important;
  }

  .vg-product-page #tab-specification .short-attribute {
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f4 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .vg-product-page #tab-specification .short-attribute:nth-of-type(odd) {
    background: #f8fafb !important;
  }

  .vg-product-page .vgpc-review-sidebar {
    padding-top: 58px !important;
  }

  .vg-product-page .vgpc-review-card {
    padding: 18px !important;
    border-radius: 12px !important;
  }

  .vg-product-page .vgpc-review-card-title {
    margin-bottom: 12px !important;
    font-size: 14px !important;
  }

  .vg-product-page .vgpc-review-score strong {
    font-size: 40px !important;
  }
}

@media (max-width: 767px) {
  .vg-product-page .vg-section-tabs .vg-tab-count {
    margin-left: 2px !important;
  }
}

/* ========================================================================
   VG PRODUCT CARD CLEAN v4.3.0
   - horizontal additional gallery thumbnails on desktop/mobile
   - desktop: show first 10 characteristics, then “show all”
   - mobile: keep compact first 4 characteristics
   - duplicate tab counters are normalized by JS
   ======================================================================== */

/* Chameleon base stylesheet forces the thumbnail swiper wrapper vertical.
   Override it decisively so additional product photos sit UNDER the main
   image exactly like the approved mockup. */
#product.vgpc-product .image-additional.hidden-xs,
#product.vgpc-product .image-additional {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 76px !important;
  max-height: 76px !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
#product.vgpc-product .swiper.image-additional .swiper-wrapper,
#product.vgpc-product .image-additional .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: max-content !important;
  min-width: 100% !important;
  height: 72px !important;
}
#product.vgpc-product .image-additional .swiper-slide {
  display: flex !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  min-width: 64px !important;
  height: 64px !important;
  margin: 0 10px 0 0 !important;
  opacity: .72 !important;
}
#product.vgpc-product .image-additional .swiper-slide-thumb-active {
  opacity: 1 !important;
}
#product.vgpc-product .image-additional .thumbnail {
  width: 64px !important;
  height: 64px !important;
}

/* Characteristics preview rules. */
@media (min-width: 768px) {
  .vg-product-page #tab-specification .short-attribute.vg-spec-over-desktop {
    display: none !important;
  }
  .vg-product-page #tab-specification.is-expanded .short-attribute.vg-spec-over-desktop {
    display: grid !important;
  }
  .vg-product-page #tab-specification > .vg-spec-toggle {
    display: none !important;
  }
  .vg-product-page #tab-specification:has(.short-attribute.vg-spec-over-desktop) > .vg-spec-toggle {
    display: flex !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 12px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #edf1f3 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--vgpc-green) !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    cursor: pointer;
  }
}

@media (max-width: 767px) {
  #product.vgpc-product .image-additional.hidden-xs,
  #product.vgpc-product .image-additional {
    display: block !important;
    height: 64px !important;
    max-height: 64px !important;
    margin-top: 7px !important;
  }
  #product.vgpc-product .swiper.image-additional .swiper-wrapper,
  #product.vgpc-product .image-additional .swiper-wrapper {
    flex-direction: row !important;
    height: 60px !important;
  }
  #product.vgpc-product .image-additional .swiper-slide,
  #product.vgpc-product .image-additional .thumbnail {
    flex-basis: 56px !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
  }
  .vg-product-page #tab-specification .short-attribute.vg-spec-over-mobile {
    display: none !important;
  }
  .vg-product-page #tab-specification.is-expanded .short-attribute.vg-spec-over-mobile {
    display: grid !important;
  }
  .vg-product-page #tab-specification > .vg-spec-toggle {
    display: flex !important;
  }
}

/* ========================================================================
   VG PRODUCT CARD CLEAN v4.4.0 — gallery + review modal hard fix
   2026-08-07
   - review modal is mounted to BODY by JS so hidden tab-pane cannot hide it
   - custom thumbnail strip is built from REAL product gallery slides
   - main product image is centered in a stable desktop/mobile stage
   ======================================================================== */

/* ----- Stable gallery stage ----- */
#product.vgpc-product .vgpc-gallery {
  overflow: hidden !important;
}

@media (min-width: 992px) {
  #product.vgpc-product .vgpc-gallery {
    padding: 18px 18px 16px !important;
  }
  #product.vgpc-product .vgpc-gallery .thumbnails {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    height: 100% !important;
    min-height: 584px !important;
  }
  #product.vgpc-product .general-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 494px !important;
    min-height: 494px !important;
    max-height: 494px !important;
    margin: 0 !important;
    padding: 26px 28px 14px !important;
    overflow: hidden !important;
  }
  #product.vgpc-product #image-box,
  #product.vgpc-product #image-box .swiper-wrapper,
  #product.vgpc-product #image-box .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
  #product.vgpc-product #image-box .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #product.vgpc-product #image-box .thumbnail {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  #product.vgpc-product #image-box img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 94% !important;
    max-height: 452px !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
}

/* Native Chameleon thumbnail swiper is kept in DOM for compatibility but
   hidden visually. v4.4 renders an isolated strip that cannot be broken by
   old Swiper/flex rules. */
#product.vgpc-product .image-additional,
#product.vgpc-product .image-additional.hidden-xs {
  display: none !important;
}

#product.vgpc-product .vgpc-thumb-strip {
  position: relative;
  z-index: 7;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  padding: 2px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #dce3e7 transparent;
  -webkit-overflow-scrolling: touch;
}
#product.vgpc-product .vgpc-thumb-strip::-webkit-scrollbar { height: 4px; }
#product.vgpc-product .vgpc-thumb-strip::-webkit-scrollbar-thumb { background: #dce3e7; border-radius: 999px; }
#product.vgpc-product .vgpc-thumb-button {
  position: relative;
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4px;
  border: 1px solid #e3e8eb;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
#product.vgpc-product .vgpc-thumb-button:hover {
  border-color: #91d8bc;
  transform: translateY(-1px);
}
#product.vgpc-product .vgpc-thumb-button.is-active {
  border-color: var(--vgpc-green) !important;
  box-shadow: 0 0 0 1px var(--vgpc-green) inset;
}
#product.vgpc-product .vgpc-thumb-button img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 991px) {
  #product.vgpc-product .vgpc-gallery .thumbnails {
    display: grid !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
    min-height: 0 !important;
  }
  #product.vgpc-product .general-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    padding: 8px 10px !important;
    overflow: hidden !important;
  }
  #product.vgpc-product #image-box,
  #product.vgpc-product #image-box .swiper-wrapper,
  #product.vgpc-product #image-box .swiper-slide {
    width: 100% !important;
    height: 100% !important;
  }
  #product.vgpc-product #image-box .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #product.vgpc-product #image-box img {
    width: auto !important;
    height: auto !important;
    max-width: 92% !important;
    max-height: 300px !important;
    margin: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }
  #product.vgpc-product .vgpc-thumb-strip {
    gap: 8px;
    margin-top: 7px;
    padding: 1px 0 3px;
  }
  #product.vgpc-product .vgpc-thumb-button {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    border-radius: 9px;
  }
  #product.vgpc-product .vgpc-thumb-button img {
    max-width: 50px;
    max-height: 50px;
  }
}

/* ----- Review modal: visible above backdrop even when its source tab is hidden ----- */
body > #ch-modal-review.vgpc-review-modal-mounted {
  z-index: 1065 !important;
}
body > #ch-modal-review.vgpc-review-modal-mounted.in {
  display: block !important;
}
body > #ch-modal-review.vgpc-review-modal-mounted .modal-dialog {
  position: relative !important;
  z-index: 1067 !important;
  width: min(560px, calc(100vw - 28px)) !important;
  max-width: 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body > #ch-modal-review.vgpc-review-modal-mounted .modal-content {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
body.modal-open > .modal-backdrop,
body > .modal-backdrop.in {
  z-index: 1055 !important;
}

@media (max-width: 767px) {
  body > #ch-modal-review.vgpc-review-modal-mounted .modal-dialog {
    width: calc(100vw - 20px) !important;
    margin: 10px auto !important;
    min-height: calc(100vh - 20px) !important;
  }
}


/* ========================================================================
   VG PRODUCT CARD CLEAN v4.5.0 — modern review + Q&A forms
   ======================================================================== */
body > .vgpc-form-modal-mounted { z-index: 1070 !important; }
body > .vgpc-form-modal-mounted.in { display:block !important; }
body > .vgpc-form-modal-mounted .modal-dialog {
  width:min(560px, calc(100vw - 28px)) !important; max-width:560px !important;
  margin:40px auto !important; position:relative !important; z-index:1072 !important;
}
body > .vgpc-form-modal-mounted .modal-content {
  border:1px solid #e7ece9 !important; border-radius:18px !important; overflow:hidden !important;
  background:#fff !important; box-shadow:0 24px 80px rgba(25,43,35,.20) !important;
}
body > .vgpc-form-modal-mounted .modal-header {
  display:flex !important; align-items:center !important; justify-content:space-between !important;
  padding:20px 22px 14px !important; border-bottom:1px solid #edf1ef !important; background:#fff !important;
}
body > .vgpc-form-modal-mounted .modal-title { font-size:20px !important; line-height:1.25 !important; font-weight:700 !important; color:#17221d !important; }
body > .vgpc-form-modal-mounted .close-modal { width:36px !important; height:36px !important; border-radius:50% !important; background:#f5f7f6 !important; border:0 !important; position:relative !important; }
body > .vgpc-form-modal-mounted .close-modal:before, body > .vgpc-form-modal-mounted .close-modal:after { content:''; position:absolute; width:14px; height:1.5px; background:#64716b; left:11px; top:17px; }
body > .vgpc-form-modal-mounted .close-modal:before { transform:rotate(45deg); } body > .vgpc-form-modal-mounted .close-modal:after { transform:rotate(-45deg); }
body > .vgpc-form-modal-mounted .modal-body { padding:20px 22px 8px !important; background:#fff !important; }
body > .vgpc-form-modal-mounted .modal-footer { padding:10px 22px 22px !important; border-top:0 !important; background:#fff !important; }
body > .vgpc-form-modal-mounted .vgpc-modern-form .form-group { margin-bottom:14px !important; }
body > .vgpc-form-modal-mounted .form-control {
  width:100% !important; min-height:48px !important; border:1px solid #dde5e1 !important; border-radius:11px !important;
  background:#fbfcfb !important; padding:12px 14px !important; font-size:14px !important; color:#1c2923 !important;
  box-shadow:none !important; transition:border-color .18s, box-shadow .18s, background .18s !important;
}
body > .vgpc-form-modal-mounted textarea.form-control { min-height:126px !important; resize:vertical !important; }
body > .vgpc-form-modal-mounted .form-control:focus { border-color:#17ad6b !important; background:#fff !important; box-shadow:0 0 0 3px rgba(23,173,107,.10) !important; }
body > .vgpc-form-modal-mounted .field_required { position:relative; }
body > #ch-modal-review .product-rating { display:flex !important; flex-direction:row !important; gap:7px !important; align-items:center !important; padding-top:5px !important; }
body > #ch-modal-review .product-rating input { position:absolute !important; opacity:0 !important; pointer-events:none !important; }
body > #ch-modal-review .label-star-prod { width:30px !important; height:30px !important; margin:0 !important; cursor:pointer !important; position:relative !important; background:none !important; }
body > #ch-modal-review .label-star-prod:before { content:'★' !important; font-size:30px !important; line-height:30px !important; color:#dfe4e1 !important; transition:color .15s, transform .15s !important; }
body > #ch-modal-review .label-star-prod.active:before, body > #ch-modal-review .label-star-prod.checked:before { color:#ffa000 !important; }
body > #ch-modal-review .label-star-prod:hover:before { transform:scale(1.08); }
body > .vgpc-form-modal-mounted .modal-footer .chm-btn { width:100% !important; min-height:48px !important; border-radius:11px !important; font-weight:700 !important; font-size:14px !important; }
body > #ch-modal-question-answer .form-group:has(#contact-telephone),
body > #ch-modal-question-answer .form-group:has(#contact-email),
body > #ch-modal-question-answer .help-block { display:none !important; }

.vgpc-toast { position:fixed; top:92px; left:50%; transform:translate(-50%,-12px); z-index:12000; display:flex; align-items:center; gap:11px; min-width:320px; max-width:min(560px,calc(100vw - 24px)); padding:14px 14px 14px 16px; border:1px solid #dce9e2; border-radius:14px; background:#fff; box-shadow:0 18px 50px rgba(23,45,34,.18); opacity:0; pointer-events:none; transition:.2s ease; color:#1d2c24; }
.vgpc-toast.is-visible { opacity:1; transform:translate(-50%,0); pointer-events:auto; }
.vgpc-toast-icon { display:grid; place-items:center; flex:0 0 30px; width:30px; height:30px; border-radius:50%; background:#e8f8f0; color:#0d9f60; font-weight:800; font-size:17px; }
.vgpc-toast.is-error .vgpc-toast-icon { background:#fff0f0; color:#d83c3c; }
.vgpc-toast-text { flex:1; font-size:14px; line-height:1.4; }
.vgpc-toast-close { border:0; background:transparent; font-size:22px; color:#7a8780; line-height:1; padding:3px 5px; }
@media (max-width:767px) { body > .vgpc-form-modal-mounted .modal-dialog { width:calc(100vw - 20px) !important; margin:18px auto !important; } .vgpc-toast { top:72px; min-width:0; width:calc(100vw - 24px); } }


/* ========================================================================
   VG PRODUCT CARD CLEAN v4.6.0 — review cards, Q&A, light compare/wishlist UI
   ======================================================================== */
.vg-product-page #review .vgpc-user-reviews{display:grid;gap:14px;width:100%}
.vg-product-page #review .vgpc-user-review{border:1px solid #e5ebe8!important;border-radius:16px!important;background:#fff!important;padding:18px 20px!important;box-shadow:0 7px 22px rgba(26,46,37,.045)!important;color:#1b2721!important}
.vg-product-page #review .vgpc-user-review__head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;margin-bottom:13px}
.vg-product-page #review .vgpc-user-review__avatar,.vg-product-page .vgpc-qa-card__avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#edf9f3;color:#0ba765;flex:0 0 42px}
.vg-product-page #review .vgpc-user-review__avatar svg,.vg-product-page .vgpc-qa-card__avatar svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.vg-product-page #review .vgpc-user-review__name{font-size:14px;font-weight:750;line-height:1.25;color:#17231d;margin-bottom:4px}
.vg-product-page #review .vgpc-user-review__stars{display:flex;align-items:center;gap:2px;line-height:1}
.vg-product-page #review .vgpc-user-review__star{font-size:17px!important;color:#dfe4e1!important;text-shadow:none!important;filter:none!important}
.vg-product-page #review .vgpc-user-review__star.is-filled{color:#f6a313!important}
.vg-product-page #review .vgpc-user-review__rating{font-size:11px;font-weight:700;color:#5e6a64;margin-left:5px}
.vg-product-page #review .vgpc-user-review__date{font-size:11px;color:#8a958f;white-space:nowrap;align-self:start;padding-top:2px}
.vg-product-page #review .vgpc-user-review__verified{display:inline-flex;align-items:center;gap:6px;margin:0 0 11px;padding:5px 9px;border-radius:999px;background:#eef9f3;color:#0d9e61;font-size:10px;font-weight:650}
.vg-product-page #review .vgpc-user-review__verified svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vg-product-page #review .vgpc-user-review__text{font-size:13px;line-height:1.65;color:#334039;word-break:break-word;white-space:normal}
.vg-product-page #review .vgpc-user-review__reply{margin-top:14px;padding:12px 14px;border-radius:12px;background:#f5f8f7;border-left:3px solid #16ac69;font-size:12px;line-height:1.55;color:#3f4d46}
.vg-product-page #review .vgpc-user-review__reply-title{font-weight:750;color:#1c2c24;margin-bottom:4px}
.vg-product-page .vgpc-list-more,.vg-product-page .vgpc-list-pagination{text-align:center;margin-top:14px}
.vg-product-page .vgpc-empty-state{padding:18px;border:1px dashed #dce5e0;border-radius:14px;background:#fbfcfb;color:#748078;font-size:13px;text-align:center}

.vg-product-page .vgpc-qa-toolbar{display:flex;justify-content:flex-start;margin-bottom:14px}
.vg-product-page .vgpc-qa-ask{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid #10a965;border-radius:10px;background:#10a965;color:#fff;font-size:12px;font-weight:700;box-shadow:0 6px 16px rgba(16,169,101,.12);transition:.18s ease}
.vg-product-page .vgpc-qa-ask:hover,.vg-product-page .vgpc-qa-ask:focus{background:#0c985a;color:#fff;transform:translateY(-1px)}
.vg-product-page .vgpc-qa-ask svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vg-product-page .vgpc-qa-list{display:grid;gap:14px}
.vg-product-page .vgpc-qa-card{border:1px solid #e5ebe8;border-radius:16px;background:#fff;padding:18px 20px;box-shadow:0 7px 22px rgba(26,46,37,.04)}
.vg-product-page .vgpc-qa-card__head{display:flex;align-items:center;gap:11px;margin-bottom:13px}
.vg-product-page .vgpc-qa-card__who{display:flex;flex-direction:column;gap:3px;min-width:0}
.vg-product-page .vgpc-qa-card__who strong{font-size:13px;color:#18251e}
.vg-product-page .vgpc-qa-card__who time{font-size:10px;color:#8b958f}
.vg-product-page .vgpc-qa-card__question{font-size:13px;line-height:1.6;color:#26342d;padding:0 1px}
.vg-product-page .vgpc-qa-card__answer{margin-top:14px;padding:13px 14px;border-radius:12px;background:#f1faf5;border:1px solid #dcefe4;color:#35443c;font-size:12px;line-height:1.55}
.vg-product-page .vgpc-qa-card__answer-head{display:flex;align-items:center;gap:7px;margin-bottom:5px;color:#128f5a}
.vg-product-page .vgpc-qa-card__answer-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dff5e9;font-size:12px;font-weight:800}

/* Keep Chameleon success modals from dimming product actions; v4.6 uses white toasts. */
body.vgpc-no-action-backdrop .modal-backdrop{display:none!important}
#modal-compare,#modal-wishlist{display:none!important}
.vg-product-page .vgpc-action.is-active,.vg-product-page .vgpc-gallery-wishlist-native.is-active{border-color:#b7e9d2!important;background:#eefaf4!important;color:#079c5e!important}

@media (max-width:767px){
  .vg-product-page #review .vgpc-user-review{padding:14px!important;border-radius:14px!important}
  .vg-product-page #review .vgpc-user-review__head{grid-template-columns:38px minmax(0,1fr);gap:10px}
  .vg-product-page #review .vgpc-user-review__avatar,.vg-product-page .vgpc-qa-card__avatar{width:38px;height:38px;flex-basis:38px}
  .vg-product-page #review .vgpc-user-review__date{grid-column:2;white-space:normal;margin-top:-4px}
  .vg-product-page #review .vgpc-user-review__star{font-size:16px!important}
  .vg-product-page #review .vgpc-user-review__text{font-size:12.5px;line-height:1.58}
  .vg-product-page .vgpc-qa-card{padding:14px;border-radius:14px}
  .vg-product-page .vgpc-qa-card__question{font-size:12.5px}
  .vg-product-page .vgpc-qa-ask{width:100%;justify-content:center;min-height:44px}
  body > .vgpc-form-modal-mounted .modal-dialog{width:calc(100vw - 18px)!important;max-width:none!important;margin:10px auto!important}
  body > .vgpc-form-modal-mounted .modal-content{border-radius:16px!important;max-height:calc(100vh - 20px)!important;overflow:auto!important}
  body > .vgpc-form-modal-mounted .modal-header{padding:16px 16px 12px!important}
  body > .vgpc-form-modal-mounted .modal-title{font-size:17px!important}
  body > .vgpc-form-modal-mounted .modal-body{padding:16px 16px 6px!important}
  body > .vgpc-form-modal-mounted .modal-footer{padding:8px 16px 16px!important}
  body > #ch-modal-review .label-star-prod{width:34px!important;height:34px!important}
  body > #ch-modal-review .label-star-prod:before{font-size:32px!important;line-height:34px!important}
  .vgpc-toast{top:68px!important;width:calc(100vw - 20px)!important;max-width:none!important;border-radius:13px!important;padding:12px!important}
}

/* ========================================================================
   VG PRODUCT CARD CLEAN v4.7.0 — Q&A close alignment + light actions
   ======================================================================== */
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header{
  position:relative!important;
  min-height:62px!important;
}
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal{
  position:static!important;
  inset:auto!important;
  right:auto!important;left:auto!important;top:auto!important;bottom:auto!important;
  margin:0 0 0 14px!important;
  transform:none!important;
  float:none!important;
  flex:0 0 36px!important;
  align-self:center!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal:before,
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal:after,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal:before,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal:after{
  left:11px!important;top:17px!important;margin:0!important;
}
/* Native compare/wishlist success windows must never dim the custom product card actions. */
body .vg-product-page ~ #modal-compare,
body .vg-product-page ~ #modal-wishlist,
body > #modal-compare,
body > #modal-wishlist{display:none!important}
body.vgpc-no-action-backdrop > .modal-backdrop{display:none!important}
@media(max-width:767px){
  body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header,
  body > #ch-modal-review.vgpc-form-modal-mounted .modal-header{min-height:56px!important}
  body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal,
  body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal{flex-basis:34px!important;width:34px!important;height:34px!important;margin-left:10px!important}
}


/* ========================================================================
   VG PRODUCT CARD CLEAN v4.8.0 — modern quick order, reliable modal layers,
   polished close controls and trust cards
   ======================================================================== */

/* Q&A / review: put the close control exactly inside the top-right circle. */
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding-right:62px!important;
}
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal{
  position:absolute!important;
  top:50%!important;
  right:16px!important;
  left:auto!important;
  bottom:auto!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  flex:0 0 36px!important;
  margin:0!important;
  padding:0!important;
  transform:translateY(-50%)!important;
  border:1px solid #e4ebe7!important;
  border-radius:50%!important;
  background:#f7faf8!important;
  color:#69766f!important;
  box-shadow:none!important;
  opacity:1!important;
  font-size:0!important;
  line-height:1!important;
}
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal:before,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal:before{
  content:"×"!important;
  display:block!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  transform:none!important;
  border:0!important;
  background:transparent!important;
  color:currentColor!important;
  font-family:Arial,sans-serif!important;
  font-size:24px!important;
  font-weight:300!important;
  line-height:33px!important;
  text-align:center!important;
}
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal:after,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal:after{
  display:none!important;
  content:none!important;
}
body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal:hover,
body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal:hover{
  background:#eef7f2!important;
  color:#079c5e!important;
  border-color:#cfe8db!important;
}

/* Quick order must sit above its backdrop and remain fully interactive. */
body.vgpc-quickorder-open{overflow:hidden}
body.vgpc-quickorder-open > .modal-backdrop,
body.vgpc-quickorder-open .modal-backdrop{
  z-index:12040!important;
  background:#102118!important;
  opacity:.38!important;
  pointer-events:auto!important;
}
#modal-quickorder{
  z-index:12050!important;
  pointer-events:auto!important;
}
#modal-quickorder .vgpc-qo-dialog,
#modal-quickorder #popup-quickorder{
  position:relative!important;
  z-index:12051!important;
  width:min(620px,calc(100vw - 32px))!important;
  max-width:620px!important;
  margin:32px auto!important;
  padding:0!important;
  pointer-events:auto!important;
}
#modal-quickorder .modal-content{
  overflow:hidden!important;
  border:1px solid #e4ece7!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 28px 90px rgba(24,45,35,.24)!important;
  pointer-events:auto!important;
}
#modal-quickorder .modal-header{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-height:64px!important;
  padding:18px 64px 16px 22px!important;
  border-bottom:1px solid #edf1ef!important;
  background:#fff!important;
}
#modal-quickorder .modal-title{
  margin:0!important;
  color:#16231c!important;
  font-size:19px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
#modal-quickorder .close-modal{
  position:absolute!important;
  top:50%!important;
  right:18px!important;
  left:auto!important;
  width:36px!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
  transform:translateY(-50%)!important;
  border:1px solid #e4ebe7!important;
  border-radius:50%!important;
  background:#f7faf8!important;
  color:#69766f!important;
  font-size:0!important;
  opacity:1!important;
}
#modal-quickorder .close-modal:before{
  content:"×"!important;
  display:block!important;
  position:static!important;
  width:auto!important;height:auto!important;
  margin:0!important;transform:none!important;border:0!important;background:none!important;
  color:currentColor!important;font-family:Arial,sans-serif!important;font-size:24px!important;font-weight:300!important;line-height:33px!important;text-align:center!important;
}
#modal-quickorder .close-modal:after{display:none!important;content:none!important}
#modal-quickorder .close-modal:hover{background:#eef7f2!important;color:#079c5e!important;border-color:#cfe8db!important}
#modal-quickorder .modal-body{padding:18px 22px 8px!important;background:#fff!important}
#modal-quickorder #fastorder_data{display:block!important}
#modal-quickorder .row-product{
  display:grid!important;
  grid-template-columns:68px minmax(0,1fr) 86px auto!important;
  gap:12px!important;
  align-items:center!important;
  margin:0 0 18px!important;
  padding:13px!important;
  border:1px solid #e8efeb!important;
  border-radius:14px!important;
  background:#f8fbf9!important;
}
#modal-quickorder .row-product .image{width:68px!important}
#modal-quickorder .row-product .image img{
  display:block!important;
  width:58px!important;
  height:58px!important;
  object-fit:contain!important;
  border-radius:10px!important;
  background:#fff!important;
}
#modal-quickorder .row-product .pr-name{
  width:auto!important;
  margin:0!important;
  padding:0!important;
  color:#25332c!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.4!important;
}
#modal-quickorder .row-product .quantity_quickorder{
  width:86px!important;
  padding:0!important;
  margin:0!important;
  justify-content:center!important;
}
#modal-quickorder .btn-minus-quantity,
#modal-quickorder .btn-plus-quantity,
#modal-quickorder .quantity_quickorder input.qty_quickorder{
  height:36px!important;
  border-color:#dfe7e2!important;
  background:#fff!important;
}
#modal-quickorder .btn-minus-quantity,#modal-quickorder .btn-plus-quantity{width:26px!important;color:#526159!important}
#modal-quickorder .quantity_quickorder input.qty_quickorder{width:34px!important;font-size:12px!important}
#modal-quickorder .row-product .pr-price{
  width:auto!important;
  padding:0!important;
  white-space:nowrap!important;
  color:#17241d!important;
}
#modal-quickorder .price_fast,
#modal-quickorder .special_fast,
#modal-quickorder .price-new{font-size:16px!important;font-weight:800!important;color:#17241d!important}

#modal-quickorder .vgpc-qo-contact-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:14px!important;
  margin-top:4px!important;
}
#modal-quickorder .vgpc-qo-field{position:relative!important;margin:0!important}
#modal-quickorder .vgpc-qo-comment{grid-column:1/-1!important}
#modal-quickorder .vgpc-qo-label{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  margin:0 0 7px!important;
  color:#33413a!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.2!important;
}
#modal-quickorder .vgpc-qo-required{color:#e14c4c!important}
#modal-quickorder .vgpc-qo-optional{
  margin-left:auto!important;
  color:#8a958f!important;
  font-size:10px!important;
  font-weight:500!important;
}
#modal-quickorder .vgpc-qo-field .form-control{
  display:block!important;
  width:100%!important;
  min-height:46px!important;
  padding:11px 13px!important;
  border:1px solid #dfe7e2!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#1e2b24!important;
  font-size:13px!important;
  line-height:1.4!important;
  outline:0!important;
  box-shadow:none!important;
  pointer-events:auto!important;
}
#modal-quickorder .vgpc-qo-field textarea.form-control{
  min-height:92px!important;
  resize:vertical!important;
}
#modal-quickorder .vgpc-qo-field .form-control:focus{
  border-color:#0eaa66!important;
  box-shadow:0 0 0 3px rgba(14,170,102,.10)!important;
}
#modal-quickorder .vgpc-qo-field .error_input{
  border-color:#df5b5b!important;
  box-shadow:0 0 0 3px rgba(223,91,91,.08)!important;
}
#modal-quickorder .vgpc-qo-field .chm-input-icon{display:none!important}
#modal-quickorder .modal-footer{
  display:block!important;
  padding:10px 22px 22px!important;
  border-top:0!important;
  background:#fff!important;
}
#modal-quickorder .modal-footer .text-left{width:100%!important}
#modal-quickorder .modal-footer .chm-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:48px!important;
  padding:0 20px!important;
  border:0!important;
  border-radius:11px!important;
  background:#0da766!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:800!important;
  box-shadow:0 8px 20px rgba(13,167,102,.16)!important;
}
#modal-quickorder .modal-footer .chm-btn:hover{background:#0a965b!important}
#modal-quickorder .masked_bg{z-index:5!important;border-radius:14px!important}
#modal-quickorder .loading_masked{z-index:6!important}

/* Product benefits: modern compact cards under wishlist / compare / share. */
#product.vgpc-product .vgpc-trust-strip{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:14px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
#product.vgpc-product .vgpc-trust-item{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  min-height:66px!important;
  padding:10px 11px!important;
  border:1px solid #e5ece8!important;
  border-radius:12px!important;
  background:#f8fbf9!important;
}
#product.vgpc-product .vgpc-trust-item:last-child{border-right:1px solid #e5ece8!important}
#product.vgpc-product .vgpc-trust-icon{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  color:#0a9f60!important;
  border-radius:10px!important;
  background:#e9f7f0!important;
}
#product.vgpc-product .vgpc-trust-item:nth-child(2) .vgpc-trust-icon{color:#356b91!important;background:#edf5fa!important}
#product.vgpc-product .vgpc-trust-item:nth-child(3) .vgpc-trust-icon{color:#55645d!important;background:#eef2f0!important}
#product.vgpc-product .vgpc-trust-icon svg{width:21px!important;height:21px!important;stroke-width:1.8!important}
#product.vgpc-product .vgpc-trust-copy strong{
  color:#26342d!important;
  font-size:10.5px!important;
  font-weight:750!important;
  line-height:1.25!important;
}
#product.vgpc-product .vgpc-trust-copy > span{
  margin-top:3px!important;
  color:#7b8781!important;
  font-size:9px!important;
  line-height:1.3!important;
}

@media(max-width:767px){
  body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header,
  body > #ch-modal-review.vgpc-form-modal-mounted .modal-header{padding-right:56px!important}
  body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal,
  body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal{right:12px!important;width:34px!important;height:34px!important;min-width:34px!important}
  body > #ch-modal-question-answer.vgpc-form-modal-mounted .modal-header .close-modal:before,
  body > #ch-modal-review.vgpc-form-modal-mounted .modal-header .close-modal:before{font-size:22px!important;line-height:31px!important}

  #modal-quickorder .vgpc-qo-dialog,#modal-quickorder #popup-quickorder{
    width:calc(100vw - 18px)!important;
    max-width:none!important;
    margin:10px auto!important;
  }
  #modal-quickorder .modal-content{max-height:calc(100vh - 20px)!important;overflow:auto!important;border-radius:16px!important}
  #modal-quickorder .modal-header{min-height:58px!important;padding:15px 54px 13px 16px!important;position:sticky!important;top:0!important;z-index:7!important}
  #modal-quickorder .modal-title{font-size:17px!important}
  #modal-quickorder .close-modal{right:12px!important;width:34px!important;height:34px!important}
  #modal-quickorder .close-modal:before{font-size:22px!important;line-height:31px!important}
  #modal-quickorder .modal-body{padding:14px 14px 6px!important}
  #modal-quickorder .row-product{
    grid-template-columns:58px minmax(0,1fr) 78px!important;
    gap:9px!important;
    padding:10px!important;
  }
  #modal-quickorder .row-product .image{width:58px!important}
  #modal-quickorder .row-product .image img{width:50px!important;height:50px!important}
  #modal-quickorder .row-product .pr-name{font-size:11.5px!important}
  #modal-quickorder .row-product .pr-price{grid-column:2/-1!important;text-align:right!important;font-size:13px!important}
  #modal-quickorder .vgpc-qo-contact-grid{grid-template-columns:1fr!important;gap:12px!important}
  #modal-quickorder .vgpc-qo-comment{grid-column:auto!important}
  #modal-quickorder .vgpc-qo-field .form-control{min-height:45px!important;font-size:14px!important}
  #modal-quickorder .modal-footer{padding:8px 14px 14px!important}

  #product.vgpc-product .vgpc-trust-strip{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:10px!important;
  }
  #product.vgpc-product .vgpc-trust-item{
    grid-template-columns:36px minmax(0,1fr)!important;
    min-height:58px!important;
    padding:9px 10px!important;
  }
  #product.vgpc-product .vgpc-trust-icon{width:36px!important;height:36px!important}
  #product.vgpc-product .vgpc-trust-copy strong{font-size:11px!important}
  #product.vgpc-product .vgpc-trust-copy > span{font-size:9.5px!important}
}


/* === v5.1.0 global badges, quantity and service cards === */

/* Global badge layout for all product cards across the site */
.product-thumb .image .stickers-ns,
.product-thumb .stickers-ns {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: 10px !important;
  z-index: 7 !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  width: auto !important;
  max-width: calc(100% - 20px) !important;
  pointer-events: none !important;
}
.product-thumb .stickers-ns .sticker-ns {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  border: 1px solid #d9e2ec !important;
  box-shadow: 0 4px 14px rgba(31,41,55,.08) !important;
  background: #fff !important;
}
.product-thumb .stickers-ns .sticker-ns i { display: none !important; }
.product-thumb .stickers-ns .sticker-ns::before {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}
.product-thumb .stickers-ns .sticker-ns.special {
  color: #d08a00 !important;
  border-color: #f0c36a !important;
  background: #fffaf0 !important;
}
.product-thumb .stickers-ns .sticker-ns.special::before { content: "🎁"; }
.product-thumb .stickers-ns .sticker-ns.bestseller {
  color: #3468f4 !important;
  border-color: #86a5ff !important;
  background: #f5f8ff !important;
}
.product-thumb .stickers-ns .sticker-ns.bestseller::before { content: "🛡"; }
.product-thumb .stickers-ns .sticker-ns.newproduct {
  color: #12a86b !important;
  border-color: #67d7aa !important;
  background: #f2fff8 !important;
}
.product-thumb .stickers-ns .sticker-ns.newproduct::before { content: "✦"; }
.product-thumb .stickers-ns .sticker-ns.popular { display: none !important; }
.product-thumb .image > a,
.product-thumb .image .gallery-images { position: relative; z-index: 1; }
@media (max-width: 767px){
  .product-thumb .image .stickers-ns,
  .product-thumb .stickers-ns { gap: 6px !important; top: 8px !important; left: 8px !important; right: 8px !important; }
  .product-thumb .stickers-ns .sticker-ns { min-height: 26px !important; padding: 5px 10px !important; font-size: 11px !important; }
}

/* Product page quantity: make minus and plus equal */
#product.vgpc-product .quantity-adder {
  width: 120px !important;
  height: 46px !important;
}
#product.vgpc-product .quantity-number {
  grid-template-columns: 40px 40px 40px !important;
  width: 120px !important;
  height: 46px !important;
}
#product.vgpc-product .quantity-number .add-action {
  position: relative !important;
  width: 40px !important;
  height: 44px !important;
  font-size: 0 !important;
}
#product.vgpc-product .quantity-number .add-up svg,
#product.vgpc-product .quantity-number .add-down svg { display: none !important; }
#product.vgpc-product .quantity-number .add-up::before,
#product.vgpc-product .quantity-number .add-down::before {
  display: block !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #243647 !important;
  font-weight: 500 !important;
}
#product.vgpc-product .quantity-number .add-up::before { content: "−"; }
#product.vgpc-product .quantity-number .add-down::before { content: "+"; }
#product.vgpc-product .quantity-number .quantity-product {
  width: 40px !important;
  height: 44px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #243647 !important;
}

/* Quick order modal: prevent quantity over price */
#modal-quickorder .row-product {
  display: grid !important;
  grid-template-columns: 48px minmax(0,1fr) auto auto !important;
  gap: 12px !important;
  align-items: center !important;
}
#modal-quickorder .row-product .image {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
}
#modal-quickorder .row-product .pr-name {
  min-width: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #243647 !important;
}
#modal-quickorder .row-product .quantity_quickorder {
  display: inline-grid !important;
  grid-template-columns: 30px 36px 30px !important;
  align-items: center !important;
  gap: 0 !important;
  width: 96px !important;
  min-width: 96px !important;
  height: 38px !important;
  border: 1px solid #dfe7ef !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}
#modal-quickorder .btn-minus-quantity,
#modal-quickorder .btn-plus-quantity {
  position: relative !important;
  width: 30px !important;
  min-width: 30px !important;
  height: 36px !important;
  border: 0 !important;
  background: #fff !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: none !important;
}
#modal-quickorder .btn-minus-quantity i,
#modal-quickorder .btn-plus-quantity i { display: none !important; }
#modal-quickorder .btn-minus-quantity::before,
#modal-quickorder .btn-plus-quantity::before {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #243647 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}
#modal-quickorder .btn-minus-quantity::before { content: "−"; }
#modal-quickorder .btn-plus-quantity::before { content: "+"; }
#modal-quickorder .quantity_quickorder input.qty_quickorder {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid #eef2f6 !important;
  border-right: 1px solid #eef2f6 !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #243647 !important;
}
#modal-quickorder .row-product .pr-price {
  min-width: 92px !important;
  text-align: right !important;
  white-space: nowrap !important;
}
#modal-quickorder .row-product .price_fast,
#modal-quickorder .row-product .special_fast,
#modal-quickorder .row-product .price-new { white-space: nowrap !important; }

/* Sidebar service cards */
#product.vgpc-product .vgpc-services {
  background: #fff !important;
  border: 1px solid #e8edf3 !important;
  border-radius: 18px !important;
  padding: 14px !important;
}
#product.vgpc-product .vgpc-services .custom-block-products,
#product.vgpc-product .vgpc-services .custom-block-products > .row,
#product.vgpc-product .vgpc-services .item-cbp { margin: 0 !important; }
#product.vgpc-product .vgpc-services .item-cbp + .item-cbp { margin-top: 12px !important; }
#product.vgpc-product .vgpc-services .custom-block-product {
  grid-template-columns: 42px minmax(0,1fr) 18px !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid #edf1f5 !important;
  border-radius: 14px !important;
  background: #fcfdff !important;
  box-shadow: 0 4px 16px rgba(31,41,55,.04) !important;
}
#product.vgpc-product .vgpc-services .custom-block-product::after {
  top: 16px !important;
  right: 14px !important;
}
#product.vgpc-product .vgpc-services .image {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
}
#product.vgpc-product .vgpc-services .custom-block-title {
  margin: 0 0 6px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}
#product.vgpc-product .vgpc-services .custom-block-desc {
  display: block !important;
  margin: 0 !important;
  color: #59697a !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}
#product.vgpc-product .vgpc-services .vgpc-service-more {
  display: inline-flex !important;
  margin-top: 10px !important;
  color: #0d9e63 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
#product.vgpc-product .vgpc-services .vgpc-service-more.is-hidden { display: none !important; }

/* Trust strip spacing */
#product.vgpc-product .vgpc-trust-item .vgpc-trust-copy strong {
  display: block !important;
  margin-bottom: 4px !important;
}
#product.vgpc-product .vgpc-trust-item .vgpc-trust-copy > span {
  display: block !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

@media (max-width: 767px){
  #modal-quickorder .row-product {
    grid-template-columns: 44px minmax(0,1fr) !important;
  }
  #modal-quickorder .row-product .quantity_quickorder,
  #modal-quickorder .row-product .pr-price {
    grid-column: 2 !important;
  }
  #modal-quickorder .row-product .quantity_quickorder { margin-top: 6px !important; }
  #modal-quickorder .row-product .pr-price { margin-top: 4px !important; text-align: left !important; }
  #product.vgpc-product .vgpc-services { padding: 12px !important; }
  #product.vgpc-product .vgpc-services .custom-block-product {
    grid-template-columns: 36px minmax(0,1fr) 16px !important;
    padding: 12px !important;
  }
  #product.vgpc-product .vgpc-services .image { width: 36px !important; height: 36px !important; border-radius: 10px !important; }
  #product.vgpc-product .vgpc-services .custom-block-title { font-size: 14px !important; }
  #product.vgpc-product .vgpc-services .custom-block-desc { font-size: 12px !important; }
}

/* =========================================================
   VG Product Card CLEAN v5.2.0
   Fresh-files structural fix: product badges, quantity,
   quick-order availability and service cards.
   ========================================================= */

/* Product page photo badges */
#product.vgpc-product .top-sticker-timer-rating {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 20 !important;
  width: auto !important;
  max-width: calc(100% - 72px) !important;
  pointer-events: none !important;
}
#product.vgpc-product .top-sticker-timer-rating > .rating { display: none !important; }
#product.vgpc-product .vgpc-gallery-badges {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100% !important;
}
#product.vgpc-product .vgpc-gallery-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 6px 11px !important;
  border: 1px solid !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: 0 5px 14px rgba(28,39,54,.08) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}
#product.vgpc-product .vgpc-gallery-badge-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
}
#product.vgpc-product .vgpc-gallery-badge-icon svg {
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
#product.vgpc-product .vgpc-gallery-badge-sale {
  color: #dc8a00 !important;
  border-color: #ffc45d !important;
  background: #fffaf0 !important;
}
#product.vgpc-product .vgpc-gallery-badge-recommended {
  color: #2864ed !important;
  border-color: #8ba9ff !important;
  background: #f5f8ff !important;
}
#product.vgpc-product .vgpc-gallery-badge-new {
  color: #08a86b !important;
  border-color: #78ddb6 !important;
  background: #f3fff9 !important;
}

/* Main product quantity: compact, equal minus / number / plus */
#product.vgpc-product .vgpc-main-qty {
  width: 104px !important;
  height: 44px !important;
  margin: 0 !important;
}
#product.vgpc-product .vgpc-main-qty-control {
  display: grid !important;
  grid-template-columns: 34px 36px 34px !important;
  align-items: stretch !important;
  width: 104px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #dfe6ee !important;
  border-radius: 9px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.03) !important;
}
#product.vgpc-product .vgpc-main-qty-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  color: #344456 !important;
  background: #f8fafb !important;
  box-shadow: none !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
#product.vgpc-product .vgpc-main-qty-btn span {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  line-height: 1 !important;
}
#product.vgpc-product .vgpc-main-qty-btn:hover { background: #eef7f3 !important; color: #0a9f65 !important; }
#product.vgpc-product .vgpc-main-qty-control .quantity-product {
  display: block !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid #e9eef3 !important;
  border-right: 1px solid #e9eef3 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  text-align: center !important;
  color: #1f2d3d !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 42px !important;
}

/* Out of stock quick order */
#product.vgpc-product .vgpc-quick-order.is-disabled,
#product.vgpc-product .vgpc-quick-order:disabled {
  color: #99a5b2 !important;
  border-color: #dfe5eb !important;
  background: #f4f6f8 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
#product.vgpc-product .vgpc-quick-order.is-disabled svg,
#product.vgpc-product .vgpc-quick-order:disabled svg { stroke: #99a5b2 !important; }

/* Right column service cards */
#product.vgpc-product .vgpc-services {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#product.vgpc-product .vgpc-service-list {
  display: grid !important;
  gap: 10px !important;
  width: 100% !important;
}
#product.vgpc-product .vgpc-service-card {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e7edf3 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(20,36,52,.05) !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
#product.vgpc-product .vgpc-service-card:hover {
  border-color: #d7e2ec !important;
  box-shadow: 0 10px 25px rgba(20,36,52,.075) !important;
}
#product.vgpc-product .vgpc-service-summary-row {
  display: grid !important;
  grid-template-columns: 36px minmax(0,1fr) 14px !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 66px !important;
  padding: 12px !important;
  list-style: none !important;
  cursor: pointer !important;
  user-select: none !important;
}
#product.vgpc-product .vgpc-service-summary-row::-webkit-details-marker { display: none !important; }
#product.vgpc-product .vgpc-service-summary-row::marker { display: none !important; content: '' !important; }
#product.vgpc-product .vgpc-service-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
}
#product.vgpc-product .vgpc-service-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
#product.vgpc-product .vgpc-service-card-1 .vgpc-service-icon { color: #3777ee !important; background: #eef5ff !important; }
#product.vgpc-product .vgpc-service-card-2 .vgpc-service-icon { color: #ef5959 !important; background: #fff1f1 !important; }
#product.vgpc-product .vgpc-service-card-3 .vgpc-service-icon { color: #08a86b !important; background: #edfbf5 !important; }
#product.vgpc-product .vgpc-service-summary-copy {
  display: block !important;
  min-width: 0 !important;
}
#product.vgpc-product .vgpc-service-title {
  display: block !important;
  margin: 0 !important;
  color: #1e2d3d !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}
#product.vgpc-product .vgpc-service-preview {
  display: -webkit-box !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  color: #7a8998 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow-wrap: anywhere !important;
}
#product.vgpc-product .vgpc-service-card[open] .vgpc-service-preview { display: none !important; }
#product.vgpc-product .vgpc-service-chevron {
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  margin-right: 2px !important;
  border-right: 1.8px solid #91a0af !important;
  border-bottom: 1.8px solid #91a0af !important;
  transform: rotate(45deg) !important;
  transition: transform .2s ease !important;
}
#product.vgpc-product .vgpc-service-card[open] .vgpc-service-chevron { transform: rotate(225deg) !important; }
#product.vgpc-product .vgpc-service-details {
  padding: 0 12px 13px 58px !important;
  border-top: 1px solid #f0f3f6 !important;
}
#product.vgpc-product .vgpc-service-details-text {
  margin: 10px 0 0 !important;
  color: #566676 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
}
#product.vgpc-product .vgpc-service-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 9px !important;
  color: #079c63 !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
#product.vgpc-product .vgpc-service-link:hover { color: #067b50 !important; text-decoration: underline !important; }

@media (max-width: 767px) {
  #product.vgpc-product .top-sticker-timer-rating {
    top: 10px !important;
    left: 10px !important;
    max-width: calc(100% - 58px) !important;
  }
  #product.vgpc-product .vgpc-gallery-badges { gap: 6px !important; }
  #product.vgpc-product .vgpc-gallery-badge {
    min-height: 27px !important;
    padding: 5px 9px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
  }
  #product.vgpc-product .vgpc-gallery-badge-icon,
  #product.vgpc-product .vgpc-gallery-badge-icon svg { width: 14px !important; height: 14px !important; flex-basis: 14px !important; }
  #product.vgpc-product .vgpc-main-qty,
  #product.vgpc-product .vgpc-main-qty-control { width: 102px !important; }
  #product.vgpc-product .vgpc-main-qty-control { grid-template-columns: 33px 36px 33px !important; }
  #product.vgpc-product .vgpc-main-qty-btn { width: 33px !important; min-width: 33px !important; }
  #product.vgpc-product .vgpc-service-summary-row {
    grid-template-columns: 34px minmax(0,1fr) 14px !important;
    min-height: 62px !important;
    padding: 11px !important;
  }
  #product.vgpc-product .vgpc-service-icon { width: 34px !important; height: 34px !important; }
  #product.vgpc-product .vgpc-service-details { padding: 0 11px 12px 55px !important; }
}

/* === v5.2.1 spacing + gallery badges + service links === */
#product.vgpc-product .top-sticker-timer-rating {
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  max-width: calc(100% - 24px) !important;
}
#product.vgpc-product .top-sticker-timer-rating .stickers-ns {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 100% !important;
}
#product.vgpc-product .top-sticker-timer-rating .sticker-ns {
  margin: 0 !important;
  white-space: nowrap !important;
}
#product.vgpc-product .vgpc-gallery-wishlist-native { display: none !important; }

/* Keep price/status exactly where they are, lower only the purchase controls row. */
#product.vgpc-product .vgpc-purchase {
  row-gap: 26px !important;
  column-gap: 12px !important;
}

#product.vgpc-product .vgpc-quick-order.is-disabled,
#product.vgpc-product .vgpc-quick-order:disabled {
  color: #97a3ad !important;
  border-color: #e1e6ea !important;
  background: #f5f7f8 !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
#product.vgpc-product .vgpc-quick-order.is-disabled svg,
#product.vgpc-product .vgpc-quick-order:disabled svg { stroke: #97a3ad !important; }

#product.vgpc-product .vgpc-service-card {
  overflow: hidden !important;
}
#product.vgpc-product .vgpc-service-details {
  padding-top: 0 !important;
}
#product.vgpc-product .vgpc-service-card[open] .vgpc-service-details {
  padding-top: 2px !important;
}
#product.vgpc-product .vgpc-service-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 10px !important;
  padding: 7px 10px !important;
  color: #079c60 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border: 1px solid #bfe9d6 !important;
  border-radius: 9px !important;
  background: #f2fbf7 !important;
  transition: .18s ease !important;
}
#product.vgpc-product .vgpc-service-link:hover {
  color: #067f50 !important;
  border-color: #93d8bd !important;
  background: #eaf8f1 !important;
}

@media (max-width: 767px) {
  #product.vgpc-product .top-sticker-timer-rating {
    top: 10px !important;
    left: 10px !important;
    max-width: calc(100% - 20px) !important;
  }
  #product.vgpc-product .vgpc-purchase { row-gap: 18px !important; }
}


/* === v5.2.2 vertical product badges + representative review reply === */
#product.vgpc-product .top-sticker-timer-rating{
  top:16px!important;
  left:16px!important;
  right:auto!important;
  bottom:auto!important;
  width:auto!important;
  max-width:calc(100% - 32px)!important;
}
#product.vgpc-product .stickers-ns{
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:7px!important;
  width:max-content!important;
  max-width:calc(100% - 32px)!important;
}
#product.vgpc-product .stickers-ns .sticker-ns{
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
}

/* Review representative reply: same visual language as Q&A answer, no left stripe. */
.vg-product-page #review .vgpc-user-review__reply{
  margin-top:14px!important;
  padding:13px 14px!important;
  border:1px solid #dcefe4!important;
  border-left:1px solid #dcefe4!important;
  border-radius:12px!important;
  background:#f1faf5!important;
  color:#35443c!important;
  font-size:12px!important;
  line-height:1.55!important;
  box-shadow:none!important;
}
.vg-product-page #review .vgpc-user-review__reply-head{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin-bottom:5px!important;
  color:#128f5a!important;
}
.vg-product-page #review .vgpc-user-review__reply-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 20px!important;
  width:20px!important;
  height:20px!important;
  border-radius:50%!important;
  background:#dff5e9!important;
  color:#128f5a!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
}
.vg-product-page #review .vgpc-user-review__reply-title{
  margin:0!important;
  color:#128f5a!important;
  font-weight:750!important;
}
@media (max-width:767px){
  #product.vgpc-product .top-sticker-timer-rating{
    top:10px!important;
    left:10px!important;
    max-width:calc(100% - 20px)!important;
  }
  #product.vgpc-product .stickers-ns{gap:6px!important;max-width:calc(100% - 20px)!important;}
}


/* === v5.2.3 real gallery badge stack + review label === */
#product.vgpc-product .top-sticker-timer-rating{
  top:12px!important;
  left:12px!important;
  right:auto!important;
  bottom:auto!important;
  z-index:30!important;
  width:auto!important;
  max-width:calc(100% - 24px)!important;
}
#product.vgpc-product .vgpc-gallery-badges{
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:7px!important;
  width:max-content!important;
  max-width:100%!important;
}
#product.vgpc-product .vgpc-gallery-badge{
  width:auto!important;
  max-width:100%!important;
  margin:0!important;
  white-space:nowrap!important;
}
#product.vgpc-product .vg-heading-rating{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
}
#product.vgpc-product .vg-heading-rating .vg-review-count{
  color:#6c7a89!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:600!important;
  text-decoration:underline!important;
  text-underline-offset:2px!important;
}
@media(max-width:767px){
  #product.vgpc-product .top-sticker-timer-rating{
    top:10px!important;
    left:10px!important;
    max-width:calc(100% - 20px)!important;
  }
  #product.vgpc-product .vgpc-gallery-badges{gap:6px!important;}
}

/* =========================================================
   VG Product Card CLEAN v5.2.4
   Vertical badges everywhere + localized review count labels
   ========================================================= */

/* Product page: badges start at the very top-left and go downward */
#product.vgpc-product .top-sticker-timer-rating {
  top: 2px !important;
  left: 8px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 40 !important;
  width: auto !important;
  max-width: calc(100% - 16px) !important;
}
#product.vgpc-product .vgpc-gallery-badges {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: max-content !important;
  max-width: 100% !important;
}
#product.vgpc-product .vgpc-gallery-badge {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* All product tiles/modules/category cards: same top-down badge rule */
.product-thumb .image .stickers-ns,
.product-thumb .stickers-ns {
  top: 4px !important;
  left: 6px !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  width: max-content !important;
  max-width: calc(100% - 12px) !important;
  z-index: 12 !important;
}
.product-thumb .stickers-ns .sticker-ns {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Review count below product title */
#product.vgpc-product .vg-heading-rating .vg-review-count,
.vg-mobile-product-head .vg-mobile-review-count {
  color: #647487 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  #product.vgpc-product .top-sticker-timer-rating {
    top: 2px !important;
    left: 6px !important;
    max-width: calc(100% - 12px) !important;
  }
  #product.vgpc-product .vgpc-gallery-badges { gap: 5px !important; }
  .product-thumb .image .stickers-ns,
  .product-thumb .stickers-ns {
    top: 3px !important;
    left: 5px !important;
    right: auto !important;
    gap: 4px !important;
    max-width: calc(100% - 10px) !important;
  }
}


/* =========================================================
   VG Product Card CLEAN v5.2.5 — mobile content order
   Actions -> tabs/content -> service cards -> benefits -> remaining blocks
   ========================================================= */
@media (max-width: 767px) {
  .vg-product-page.vgpc-mobile-sections-reordered #product.vgpc-product .vgpc-summary {
    overflow: visible !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered #product.vgpc-product .vgpc-summary > .vgpc-lower-grid {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 14px 0 0 !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #edf1f4 !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main {
    width: 100% !important;
    min-width: 0 !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main .vg-section-tabs-wrap {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main .vg-section-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 0 1px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    border-bottom: 1px solid #e8edf2 !important;
  }
  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main .vg-section-tabs::-webkit-scrollbar { display: none !important; }

  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main .vg-section-tabs > a {
    flex: 0 0 auto !important;
    min-height: 42px !important;
    padding: 0 0 10px !important;
    display: inline-flex !important;
    align-items: flex-end !important;
    color: #5b6876 !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
  }
  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main .vg-section-tabs > a.is-active {
    color: #079a5d !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main > .row.cbp,
  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main > .row {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main .tabs-product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main .tabs-product .tab-content {
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered .vgpc-lower-main .tabs-product .tab-pane {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px 0 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Service cards come after the active tab content. */
  .vg-product-page.vgpc-mobile-sections-reordered #product.vgpc-product .vgpc-summary > .vgpc-services {
    display: block !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 14px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #edf1f4 !important;
    background: transparent !important;
  }
  .vg-product-page.vgpc-mobile-sections-reordered #product.vgpc-product .vgpc-service-list {
    gap: 10px !important;
  }
  .vg-product-page.vgpc-mobile-sections-reordered #product.vgpc-product .vgpc-service-card {
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(24,39,55,.05) !important;
  }
  .vg-product-page.vgpc-mobile-sections-reordered #product.vgpc-product .vgpc-service-summary-row {
    min-height: 64px !important;
    padding: 11px 12px !important;
  }

  /* The benefit cards are now after Payment / Delivery / Warranty. */
  .vg-product-page.vgpc-mobile-sections-reordered #product.vgpc-product .vgpc-summary > .vgpc-trust-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid #edf1f4 !important;
  }

  .vg-product-page.vgpc-mobile-sections-reordered #product.vgpc-product .vgpc-summary > .vgpc-trust-strip .vgpc-trust-item {
    width: 100% !important;
    min-height: 58px !important;
  }
}


/* === v5.2.6 mobile reviews fit === */
@media (max-width: 767px) {
  .vg-product-page #tab-review,
  .vg-product-page #tab-review * {
    box-sizing: border-box !important;
  }

  .vg-product-page #tab-review {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .vg-product-page #tab-review .ch-h2 {
    margin: 0 0 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
  }

  .vg-product-page #tab-review > .ch-product-reviews.vgpc-review-summary-source,
  .vg-product-page #tab-review .ch-product-reviews {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 14px !important;
    padding: 14px !important;
    overflow: hidden !important;
    border: 1px solid #e8edf1 !important;
    border-radius: 14px !important;
    background: #fff !important;
  }

  .vg-product-page #tab-review .ch-rating-total {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) !important;
    grid-template-areas:
      "score stars"
      "score count"
      "button button" !important;
    column-gap: 12px !important;
    row-gap: 3px !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .vg-product-page #tab-review .ch-rating-total-points {
    grid-area: score !important;
    margin: 0 !important;
    font-size: 34px !important;
    line-height: 1 !important;
  }

  .vg-product-page #tab-review .vg-review-summary-stars {
    grid-area: stars !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 2px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .vg-product-page #tab-review .vg-review-summary-stars .vg-dynamic-star {
    width: 15px !important;
    font-size: 15px !important;
  }

  .vg-product-page #tab-review .vg-review-summary-count {
    grid-area: count !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    color: #7b8792 !important;
  }

  .vg-product-page #tab-review .ch-rating-total .chm-btn-primary,
  .vg-product-page #tab-review .ch-rating-total > button {
    grid-area: button !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: 12px 0 0 !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  .vg-product-page #tab-review .ch-star-rating-desc {
    display: grid !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 14px 0 0 !important;
    padding-top: 12px !important;
    border-top: 1px solid #eef2f5 !important;
  }

  .vg-product-page #tab-review .ch-detailed-review {
    display: grid !important;
    grid-template-columns: 14px 14px minmax(0,1fr) 20px !important;
    gap: 6px !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 22px !important;
    margin: 0 !important;
    font-size: 10px !important;
  }

  .vg-product-page #tab-review .ch-dr-number,
  .vg-product-page #tab-review .ch-total-rating {
    min-width: 0 !important;
    width: auto !important;
    white-space: nowrap !important;
  }

  .vg-product-page #tab-review .ch-dr-star {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    min-width: 14px !important;
  }

  .vg-product-page #tab-review .ch-dr-star img {
    display: block !important;
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
  }

  .vg-product-page #tab-review .ch-dr-pct-line,
  .vg-product-page #tab-review .ch-progress {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 6px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #eef2f4 !important;
  }

  .vg-product-page #tab-review .ch-dr-pct-progress {
    display: block !important;
    height: 100% !important;
    max-width: 100% !important;
    border-radius: 999px !important;
    background: var(--vgpc-orange) !important;
  }

  .vg-product-page #tab-review .ch-total-rating {
    text-align: right !important;
    font-size: 10px !important;
    color: #65717c !important;
  }

  .vg-product-page #review,
  .vg-product-page #review .vgpc-user-reviews,
  .vg-product-page #review .vgpc-user-review {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .vg-product-page #review .vgpc-user-review {
    overflow: hidden !important;
    padding: 13px !important;
  }

  .vg-product-page #review .vgpc-user-review__text,
  .vg-product-page #review .vgpc-user-review__reply,
  .vg-product-page #review .vgpc-user-review__reply * {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

@media (max-width: 390px) {
  .vg-product-page #tab-review { padding-left: 8px !important; padding-right: 8px !important; }
  .vg-product-page #tab-review > .ch-product-reviews.vgpc-review-summary-source,
  .vg-product-page #tab-review .ch-product-reviews { padding: 12px !important; }
  .vg-product-page #tab-review .ch-rating-total-points { font-size: 32px !important; }
  .vg-product-page #tab-review .ch-detailed-review {
    grid-template-columns: 12px 13px minmax(0,1fr) 18px !important;
    gap: 5px !important;
  }
}


/* === v5.2.9 desktop interaction safety === */
@media (min-width: 768px) {
  .vg-product-page .vgpc-lower-grid,
  .vg-product-page .vgpc-lower-main,
  .vg-product-page .vg-section-tabs-wrap,
  .vg-product-page .vg-section-tabs,
  .vg-product-page .vg-section-tabs > a,
  .vg-product-page .vgpc-review-sidebar,
  .vg-product-page .vgpc-review-card,
  .vg-product-page .vgpc-write-review {
    pointer-events: auto !important;
  }
  .vg-product-page .vgpc-lower-grid {
    position: relative !important;
    z-index: 30 !important;
    isolation: isolate !important;
  }
  .vg-product-page .vg-section-tabs-wrap,
  .vg-product-page .vgpc-review-sidebar {
    position: relative !important;
    z-index: 31 !important;
  }
  .vg-product-page .vg-section-tabs > a,
  .vg-product-page .vgpc-write-review {
    position: relative !important;
    z-index: 32 !important;
    cursor: pointer !important;
  }
}
body > #ch-modal-review.vgpc-v529-review-modal {
  z-index: 12080 !important;
  pointer-events: auto !important;
}
body > #ch-modal-review.vgpc-v529-review-modal .modal-dialog,
body > #ch-modal-review.vgpc-v529-review-modal .modal-content {
  pointer-events: auto !important;
}
body > .vgpc-v529-backdrop { z-index: 12070 !important; }

/* =========================================================
   VG Product Card CLEAN v5.3.0 — badge position + mobile tabs
   ========================================================= */
#product.vgpc-product .top-sticker-timer-rating.vgpc-v530-badge-anchor {
  position: absolute !important;
  top: 8px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 45 !important;
}

@media (min-width: 768px) {
  #product.vgpc-product .top-sticker-timer-rating.vgpc-v530-badge-anchor {
    top: 6px !important;
    left: 10px !important;
  }
}

@media (max-width: 767px) {
  /* Make tab visibility explicit after the lower block is moved into the summary. */
  .vg-product-page.vgpc-mobile-sections-reordered .tabs-product .tab-content > .tab-pane {
    display: none !important;
  }
  .vg-product-page.vgpc-mobile-sections-reordered .tabs-product .tab-content > .tab-pane.active {
    display: block !important;
  }
  .vg-product-page.vgpc-mobile-sections-reordered #tab-specification.active {
    display: block !important;
  }
  .vg-product-page.vgpc-mobile-sections-reordered .vg-section-tabs > a {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 3 !important;
  }
}


/* === v5.3.1 mobile review summary clarity + distribution fix === */
@media (max-width: 767px) {
  .vg-product-page #tab-review .ch-rating-total {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "score"
      "stars"
      "count"
      "button" !important;
    gap: 6px !important;
    align-items: start !important;
  }

  .vg-product-page #tab-review .ch-rating-total-points {
    grid-area: score !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    color: #1f2d3d !important;
  }
  .vg-product-page #tab-review .ch-rating-total-points .vgpc-score-main {
    font: inherit !important;
    color: inherit !important;
  }
  .vg-product-page #tab-review .ch-rating-total-points .vgpc-score-max {
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #8a96a3 !important;
  }

  .vg-product-page #tab-review .vg-review-summary-stars {
    grid-area: stars !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    gap: 2px !important;
    margin: 0 !important;
  }
  .vg-product-page #tab-review .vg-review-summary-stars .vg-dynamic-star {
    width: 15px !important;
    min-width: 15px !important;
    font-size: 15px !important;
  }

  .vg-product-page #tab-review .vg-review-summary-count {
    grid-area: count !important;
    display: block !important;
    margin: 0 !important;
    color: #74818d !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
  }
  .vg-product-page #tab-review .vg-review-summary-count.vgpc-duplicate-count {
    display: none !important;
  }

  .vg-product-page #tab-review .ch-rating-total .chm-btn-primary,
  .vg-product-page #tab-review .ch-rating-total > button {
    grid-area: button !important;
    margin: 8px 0 0 !important;
  }

  .vg-product-page #tab-review .ch-star-rating-desc {
    gap: 8px !important;
    margin-top: 12px !important;
    padding-top: 12px !important;
  }

  .vg-product-page #tab-review .ch-detailed-review {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) 18px !important;
    gap: 7px !important;
    align-items: center !important;
    min-height: 24px !important;
    font-size: 10px !important;
  }
  .vg-product-page #tab-review .ch-dr-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    width: 30px !important;
    min-width: 30px !important;
    color: #677482 !important;
    font-weight: 700 !important;
  }
  .vg-product-page #tab-review .ch-dr-star {
    display: none !important;
  }
  .vg-product-page #tab-review .ch-dr-number::after {
    content: "★" !important;
    color: #f5a313 !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }
  .vg-product-page #tab-review .ch-dr-pct-line,
  .vg-product-page #tab-review .ch-progress {
    min-width: 0 !important;
    width: 100% !important;
    height: 6px !important;
  }
  .vg-product-page #tab-review .ch-total-rating {
    width: 18px !important;
    min-width: 18px !important;
    text-align: right !important;
    color: #677482 !important;
    font-weight: 700 !important;
  }
}

/* ========================================================================
   VG Catalog Views SAFE v1.0.0
   Desktop-only catalog grid / price layout.
   Scope: .category-page product listings only. Product page is untouched.
   ======================================================================== */
@media (min-width: 1200px) {
  /* View switcher: exactly two visible buttons, no moving white indicator. */
  .product_list_toolbar .indicator-active {
    display: none !important;
  }
  .product_list_toolbar .btn-view {
    width: 38px !important;
    height: 34px !important;
    margin-right: 6px !important;
    padding: 7px !important;
    border: 1px solid transparent !important;
    border-radius: 7px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .product_list_toolbar .btn-view.active {
    color: #fff !important;
    background: #13ad68 !important;
    border-color: #13ad68 !important;
  }
  .product_list_toolbar .btn-view.active svg path {
    stroke: #fff !important;
  }

  /* Keep catalog rows/cards neutral on hover. Only the product name changes. */
  .category-page .product-layout .product-thumb,
  .category-page .product-layout .vg-safe-commerce {
    transition: none !important;
  }
  .category-page .product-layout:hover .product-thumb,
  .category-page .product-layout:hover .vg-safe-commerce {
    background: #fff !important;
    border-color: #e8edf1 !important;
    box-shadow: none !important;
  }
  .category-page .product-layout .product-name a {
    color: #15191d !important;
    transition: color .18s ease !important;
  }
  .category-page .product-layout:hover .product-name a {
    color: #13ad68 !important;
  }

  /* Original image rating is replaced by the clearer star row below the name. */
  .category-page .product-layout .image > .rating {
    display: none !important;
  }
  .category-page .vg-safe-rating {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    min-height: 18px !important;
    margin: 5px 0 2px !important;
    line-height: 1 !important;
  }
  .category-page .vg-safe-rating-star {
    color: #dfe4e8 !important;
    font-size: 14px !important;
    line-height: 16px !important;
  }
  .category-page .vg-safe-rating-star.is-filled {
    color: #f5a623 !important;
  }
  .category-page .vg-safe-rating-count {
    margin-left: 4px !important;
    color: #8c96a0 !important;
    font-size: 10px !important;
    line-height: 16px !important;
  }

  /* Hide only the old source action box after its live controls are moved. */
  .category-page .vg-safe-source-box {
    display: none !important;
  }

  /* Shared live commerce controls. The original buttons are moved here by JS,
     so cart / compare / wishlist handlers remain untouched. */
  .category-page .vg-safe-commerce {
    margin-top: auto !important;
  }
  .category-page .vg-safe-commerce > .ch-stock-status {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
  }
  .category-page .vg-safe-commerce .stock-status {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: 11px !important;
    line-height: 15px !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
  .category-page .vg-safe-commerce .stock-status.instock {
    color: #15985c !important;
  }
  .category-page .vg-safe-commerce .stock-status.outofstock {
    color: #e34d3e !important;
  }
  .category-page .vg-safe-commerce .price {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  .category-page .vg-safe-commerce .price-default,
  .category-page .vg-safe-commerce .price-new {
    color: #161b20 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }
  .category-page .vg-safe-commerce .price-old {
    color: #98a1aa !important;
    white-space: nowrap !important;
  }
  .category-page .vg-safe-commerce > .cart {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .category-page .vg-safe-commerce > .cart .btn-general {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    color: #13ad68 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    background: #fff !important;
    border: 1px solid #13ad68 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    white-space: nowrap !important;
  }
  .category-page .vg-safe-commerce > .cart .btn-general:hover,
  .category-page .vg-safe-commerce > .cart .btn-general:focus,
  .category-page .vg-safe-commerce > .cart .btn-general.is-active {
    color: #fff !important;
    background: #13ad68 !important;
    border-color: #13ad68 !important;
  }
  .category-page .vg-safe-commerce > .cart .btn-general .text-cart-add {
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 0 0 6px !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
  }
  .category-page .vg-safe-commerce > .cart .vg-safe-outofstock-btn,
  .category-page .vg-safe-commerce > .cart .vg-safe-outofstock-btn:hover,
  .category-page .vg-safe-commerce > .cart .vg-safe-outofstock-btn:focus,
  .category-page .vg-safe-commerce > .cart .vg-safe-outofstock-btn:active {
    color: #8a949e !important;
    background: #f1f3f5 !important;
    border-color: #e1e5e9 !important;
    box-shadow: none !important;
    cursor: default !important;
  }
  .category-page .vg-safe-commerce > .compare,
  .category-page .vg-safe-commerce > .wishlist {
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
  }
  .category-page .vg-safe-commerce > .compare .btn,
  .category-page .vg-safe-commerce > .wishlist .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #e1e6ea !important;
    border-radius: 7px !important;
    box-shadow: none !important;
  }
  .category-page .vg-safe-commerce > .compare .btn:hover,
  .category-page .vg-safe-commerce > .wishlist .btn:hover {
    border-color: #13ad68 !important;
  }

  /* ------------------------- GRID ------------------------- */
  .category-page .product-layout.product-grid {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    padding-right: 5px !important;
    padding-left: 5px !important;
  }
  .category-page .product-layout.product-grid .product-thumb {
    height: 100% !important;
    min-height: 430px !important;
    padding: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e8edf1 !important;
    border-radius: 10px !important;
  }
  .category-page .product-layout.product-grid .image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 220px !important;
    margin: 0 !important;
    padding: 20px 8px 6px !important;
  }
  .category-page .product-layout.product-grid .image > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 190px !important;
  }
  .category-page .product-layout.product-grid .image img.img-responsive {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 185px !important;
    object-fit: contain !important;
  }
  .category-page .product-layout.product-grid .image .stickers-ns {
    display: flex !important;
    position: absolute !important;
    top: 7px !important;
    left: 7px !important;
    z-index: 5 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    max-width: calc(100% - 14px) !important;
  }
  .category-page .product-layout.product-grid .caption {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 7px 0 0 !important;
  }
  .category-page .product-layout.product-grid .product-name {
    min-height: 38px !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
  }
  .category-page .product-layout.product-grid .product-description,
  .category-page .product-layout.product-grid .attribute-cat {
    display: none !important;
  }
  .category-page .product-layout.product-grid .vg-safe-rating {
    margin-top: 4px !important;
  }
  .category-page .product-layout.product-grid .vg-safe-commerce {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 36px 36px !important;
    grid-template-areas:
      "stock stock stock"
      "price price price"
      "cart compare wishlist" !important;
    gap: 6px !important;
    align-items: end !important;
    width: 100% !important;
    padding-top: 8px !important;
  }
  .category-page .product-layout.product-grid .vg-safe-commerce > .ch-stock-status { grid-area: stock !important; }
  .category-page .product-layout.product-grid .vg-safe-commerce > .price { grid-area: price !important; }
  .category-page .product-layout.product-grid .vg-safe-commerce > .cart { grid-area: cart !important; }
  .category-page .product-layout.product-grid .vg-safe-commerce > .compare { grid-area: compare !important; }
  .category-page .product-layout.product-grid .vg-safe-commerce > .wishlist { grid-area: wishlist !important; }
  .category-page .product-layout.product-grid .vg-safe-commerce .price-default,
  .category-page .product-layout.product-grid .vg-safe-commerce .price-new {
    font-size: 15px !important;
    line-height: 18px !important;
  }

  /* ------------------------- PRICE / LIST ------------------------- */
  .category-page .product-layout.product-price {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 5px !important;
  }
  .category-page .product-layout.product-price .product-thumb {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 142px !important;
    margin-bottom: 8px !important;
    padding: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e8edf1 !important;
    border-radius: 10px !important;
  }
  .category-page .product-layout.product-price .product-thumb > .product-model {
    display: none !important;
  }
  .category-page .product-layout.product-price .image {
    position: relative !important;
    flex: 0 0 170px !important;
    width: 170px !important;
    min-width: 170px !important;
    height: 124px !important;
    margin: 0 14px 0 0 !important;
    padding: 14px 6px 4px !important;
    overflow: hidden !important;
    background: #fff !important;
    border-radius: 8px !important;
  }
  .category-page .product-layout.product-price .image > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 104px !important;
  }
  .category-page .product-layout.product-price .image img.img-responsive {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 104px !important;
    object-fit: contain !important;
  }
  .category-page .product-layout.product-price .image .stickers-ns {
    display: flex !important;
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 5 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
  }
  .category-page .product-layout.product-price .image .addit-action,
  .category-page .product-layout.product-price .image .action-timer {
    display: none !important;
  }
  .category-page .product-layout.product-price .caption {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px !important;
    grid-template-areas:
      "model commerce"
      "name commerce"
      "rating commerce"
      "description commerce" !important;
    column-gap: 18px !important;
    align-content: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 6px 0 !important;
  }
  .category-page .product-layout.product-price .vg-safe-model-clone {
    grid-area: model !important;
    display: block !important;
    margin: 0 0 4px !important;
    color: #909aa4 !important;
    font-size: 10px !important;
    line-height: 14px !important;
  }
  .category-page .product-layout.product-price .product-name {
    grid-area: name !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 19px !important;
    border: 0 !important;
  }
  .category-page .product-layout.product-price .vg-safe-rating {
    grid-area: rating !important;
    margin-top: 7px !important;
  }
  .category-page .product-layout.product-price .product-description {
    grid-area: description !important;
    display: none !important;
  }
  .category-page .product-layout.product-price .attribute-cat,
  .category-page .product-layout.product-price .catalogCard-extra {
    display: none !important;
  }
  .category-page .product-layout.product-price .vg-safe-commerce {
    grid-area: commerce !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 36px 36px !important;
    grid-template-areas:
      "stock stock stock"
      "price price price"
      "cart compare wishlist" !important;
    align-content: center !important;
    gap: 7px !important;
    width: 300px !important;
    min-width: 300px !important;
    margin: 0 !important;
    padding: 10px !important;
    background: #fbfcfc !important;
    border: 1px solid #edf0f2 !important;
    border-radius: 9px !important;
  }
  .category-page .product-layout.product-price .vg-safe-commerce > .ch-stock-status { grid-area: stock !important; }
  .category-page .product-layout.product-price .vg-safe-commerce > .price { grid-area: price !important; }
  .category-page .product-layout.product-price .vg-safe-commerce > .cart { grid-area: cart !important; }
  .category-page .product-layout.product-price .vg-safe-commerce > .compare { grid-area: compare !important; }
  .category-page .product-layout.product-price .vg-safe-commerce > .wishlist { grid-area: wishlist !important; }
  .category-page .product-layout.product-price .vg-safe-commerce .price-default,
  .category-page .product-layout.product-price .vg-safe-commerce .price-new {
    font-size: 17px !important;
    line-height: 21px !important;
  }
}

/* ========================================================================
   VG Catalog Views SAFE v1.0.1
   - category/list parity: remove quantity control only in PRICE/LIST mode
   - keep GRID quantity untouched
   - no product page layout overrides
   ======================================================================== */
@media (min-width: 1200px) {
  .category-page .product-layout.product-price .quantity_plus_minus,
  .category-page .product-layout.product-price .vg-price-quantity,
  .category-page .product-layout.product-list .quantity_plus_minus,
  .category-page .product-layout.product-list .vg-price-quantity {
    display: none !important;
  }

  /* Some category templates place the quantity control in a separate actions
     cell. Collapse that cell in price mode so name/rating/commerce align with
     pages such as New Arrivals. */
  .category-page .product-layout.product-price .caption > .quantity_plus_minus,
  .category-page .product-layout.product-price .caption .actions .quantity_plus_minus,
  .category-page .product-layout.product-price .price-actions-box > .quantity_plus_minus {
    display: none !important;
  }

  /* Keep the product-name hover rule identical on category/search/latest pages. */
  .category-page .product-layout.product-price:hover .product-name a,
  .category-page .product-layout.product-list:hover .product-name a,
  .category-page .product-layout.product-grid:hover .product-name a {
    color: #13ad68 !important;
  }
}

/* ========================================================================
   VG Catalog Views SAFE v1.0.2
   Visual parity / cleanup after live desktop check.
   - hide EditorPlus admin controls from public product-card geometry
   - no duplicated model/code in grid
   - force quantity hidden in PRICE/LIST mode
   - make list thumbnails use the available photo stage
   - only reveal existing product-page badge markup; no product-page rebuild
   ======================================================================== */
@media (min-width: 1200px) {
  /* EditorPlus inserts these blocks before .image after page load. They are
     admin helpers, not storefront card content, and break the grid geometry. */
  .category-page .product-layout [class*="editorbtncat"],
  .category-page .product-layout .edit-product-button {
    display: none !important;
  }

  /* Model/code already exists in the native card header. The JS clone is only
     needed by the horizontal price view. */
  .category-page .product-layout.product-grid .vg-safe-model-clone {
    display: none !important;
  }

  /* Quantity must never occupy a column in the agreed PRICE/LIST design. */
  .category-page .product-layout.product-price .quantity_plus_minus,
  .category-page .product-layout.product-price .vg-price-quantity,
  .category-page .product-layout.product-price [class*="quantity_plus_minus"],
  .category-page .product-layout.product-list .quantity_plus_minus,
  .category-page .product-layout.product-list .vg-price-quantity,
  .category-page .product-layout.product-list [class*="quantity_plus_minus"] {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  /* Let the list image fill its dedicated stage instead of remaining a tiny
     native thumbnail. object-fit keeps rods/reels/nets proportional. */
  .category-page .product-layout.product-price .image > a,
  .category-page .product-layout.product-list .image > a {
    width: 100% !important;
    height: 100% !important;
  }
  .category-page .product-layout.product-price .image img.img-responsive,
  .category-page .product-layout.product-list .image img.img-responsive {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
}

/* Product page: do not create or infer badges. If Chameleon rendered the
   existing badge markup, keep it above the gallery and visible. */
#product.vgpc-product .vgpc-gallery {
  position: relative !important;
}
#product.vgpc-product .top-sticker-timer-rating:has(.vgpc-gallery-badge) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}
#product.vgpc-product .top-sticker-timer-rating:has(.vgpc-gallery-badge) .vgpc-gallery-badges {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ========================================================================
   VG Catalog Views SAFE v1.0.3
   - hard category PRICE quantity removal using #content scope (no dependency
     on .category-page wrapper timing)
   - product-page fallback badge layer is rendered by JS only when native
     gallery badges are empty
   ======================================================================== */
@media (min-width: 1200px) {
  #content .product-layout.product-price .quantity_plus_minus,
  #content .product-layout.product-price .vg-price-quantity,
  #content .product-layout.product-price .price-actions-box > .quantity_plus_minus,
  #content .product-layout.product-price .price-actions-box > .vg-price-quantity,
  #content .product-layout.product-price .caption .quantity_plus_minus,
  #content .product-layout.product-price .caption .vg-price-quantity {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    border: 0 !important;
    pointer-events: none !important;
  }
}

/* Fallback badges use the same visual language as native product badges. */
#product.vgpc-product .vgpc-gallery-badge.vg-safe-badge-fallback {
  display: inline-flex !important;
}

/* ========================================================================
   VG Catalog Views SAFE v1.0.4
   Live visual correction after desktop QA:
   - larger PRICE/LIST product photos on Latest and Category pages
   - stable badge placement inside the photo stage
   - no background hover effect; title-only green hover remains
   - product-page fallback badges are positioned on the gallery
   ======================================================================== */
@media (min-width: 1200px) {
  .category-page .product-layout.product-price .product-thumb {
    min-height: 174px !important;
  }

  .category-page .product-layout.product-price .image {
    position: relative !important;
    flex: 0 0 215px !important;
    width: 215px !important;
    min-width: 215px !important;
    height: 156px !important;
    margin: 0 18px 0 0 !important;
    padding: 12px 10px 6px !important;
    overflow: visible !important;
  }

  .category-page .product-layout.product-price .image > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 138px !important;
    overflow: hidden !important;
  }

  .category-page .product-layout.product-price .image img.img-responsive,
  .category-page .product-layout.product-price .image img.ch-g-image {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 136px !important;
    object-fit: contain !important;
    transform: scale(1.06) !important;
    transform-origin: center center !important;
  }

  /* Chameleon hides badges in native price view. Re-enable only our desktop
     price/list presentation and keep every badge fully inside the photo. */
  .category-page .product-layout.product-price .image .stickers-ns {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 16px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
  }

  .category-page .product-layout.product-price .image .stickers-ns .sticker-ns {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 24px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 4px 9px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    font-size: 10px !important;
    line-height: 15px !important;
    white-space: nowrap !important;
  }

  /* Slightly widen content separation after the photo stage grows. */
  .category-page .product-layout.product-price .caption {
    column-gap: 20px !important;
  }
}

/* Product page: the native/fallback badges must stay on top of the large image. */
#product.vgpc-product .vgpc-gallery {
  position: relative !important;
}
#product.vgpc-product .top-sticker-timer-rating.vgpc-v530-badge-anchor,
#product.vgpc-product .top-sticker-timer-rating.vg-safe-product-badge-anchor {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 60 !important;
  display: block !important;
  width: auto !important;
  max-width: calc(100% - 20px) !important;
  margin: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: none !important;
}
#product.vgpc-product .top-sticker-timer-rating.vg-safe-product-badge-anchor .vgpc-gallery-badges,
#product.vgpc-product .top-sticker-timer-rating.vgpc-v530-badge-anchor .vgpc-gallery-badges {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  width: auto !important;
  max-width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ========================================================================
   VG Catalog Views SAFE v1.0.5
   1) Restore Chameleon's one-image-at-a-time behaviour in PRICE/LIST view.
      v1.0.4 enlarged the photo correctly, but its broad img rule also forced
      hidden gallery frames to display. Keep only the active gallery image.
   2) Preserve the native main -> second hover image -> main interaction.
   3) Use an independent fixed product-page badge layer so later Chameleon
      gallery scripts cannot hide/remove the fallback badges.
   ======================================================================== */
@media (min-width: 1200px) {
  /* Chameleon gallery: never show all hidden frames at once. */
  .category-page .product-layout.product-price .image a img.ch-g-image:not(.active-image) {
    display: none !important;
  }

  .category-page .product-layout.product-price .image a img.ch-g-image.active-image {
    display: block !important;
  }

  /* The broad v1.0.4 image rule deliberately enlarged images. Re-apply the
     original hover states afterwards so the second hover picture disappears
     again as soon as the pointer leaves the product card. */
  .category-page .product-layout.product-price .image a img.main-img {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    opacity: 1 !important;
    transform: scale(1.06) rotateY(0deg) !important;
    transition: opacity .28s ease, transform .28s ease !important;
  }

  .category-page .product-layout.product-price .product-thumb:hover .image a img.main-img {
    opacity: 0 !important;
    transform: scale(1.06) rotateY(-180deg) !important;
  }

  .category-page .product-layout.product-price .image a img.additional-img-hover {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2 !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 136px !important;
    margin: auto !important;
    opacity: 0 !important;
    visibility: visible !important;
    object-fit: contain !important;
    pointer-events: none !important;
    transform: scale(1.06) rotateY(-180deg) !important;
    transform-origin: center center !important;
    transition: opacity .28s ease, transform .28s ease !important;
  }

  .category-page .product-layout.product-price .product-thumb:hover .image a img.additional-img-hover {
    opacity: 1 !important;
    transform: scale(1.06) rotateY(0deg) !important;
  }
}

/* Product page: hide only the unstable native/fallback badge stack. The
   persistent SAFE layer below is independent of Chameleon's gallery refresh. */
#product.vgpc-product .top-sticker-timer-rating .vgpc-gallery-badges {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#product.vgpc-product .vgpc-gallery .vg-safe-product-badges-fixed {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 90 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
  width: auto !important;
  max-width: calc(100% - 20px) !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

#product.vgpc-product .vg-safe-product-badges-fixed .vgpc-gallery-badge {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ========================================================================
   VG Catalog Views SAFE v1.0.6
   - badges begin at the exact upper-left point of the product photo stage
   - product page uses ONLY native server-rendered Chameleon badges
   - native badge stack is pinned over the gallery and cannot be hidden by
     the older fallback layer / gallery refresh
   ======================================================================== */
@media (min-width: 1200px) {
  /* GRID + PRICE/LIST: start badges from the upper-left corner of the image. */
  .category-page .product-layout.product-grid .image,
  .category-page .product-layout.product-price .image {
    position: relative !important;
  }

  .category-page .product-layout.product-grid .image .stickers-ns,
  .category-page .product-layout.product-price .image .stickers-ns {
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 30 !important;
  }
}

/* Product detail: disable the v1.0.5 generated overlay. v1.0.6 uses the
   server-rendered native stack, so timing/settings remain authoritative. */
#product.vgpc-product .vg-safe-product-badges-fixed {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Undo v1.0.5's rule that hid the native stack. */
#product.vgpc-product .vgpc-gallery > .vgpc-gallery-badges.vg-native-product-badges-v106 {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 95 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: auto !important;
  max-width: calc(100% - 10px) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: none !important;
}

#product.vgpc-product .vgpc-gallery > .vgpc-gallery-badges.vg-native-product-badges-v106 .vgpc-gallery-badge {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  transform: none !important;
}

@media (max-width: 1199px) {
  #product.vgpc-product .vgpc-gallery > .vgpc-gallery-badges.vg-native-product-badges-v106 {
    top: 6px !important;
    left: 6px !important;
    max-width: calc(100% - 12px) !important;
    gap: 5px !important;
  }
}

/* ========================================================================
   VG Catalog Views SAFE v1.0.7
   Product-detail badges: stable independent layer anchored to #product.
   Chameleon/EditorPlus/Swiper may rebuild the gallery, but they do not replace
   #product, so the live badge layer cannot disappear with the gallery refresh.
   Badge state is supplied by the read-only controller on each page load.
   ======================================================================== */
#product.vgpc-product {
  position: relative !important;
}

/* Native/fallback badge stacks are kept out of the visual layer. They may be
   moved by older scripts, but can no longer flash or fight the stable layer. */
#product.vgpc-product .top-sticker-timer-rating > .vgpc-gallery-badges,
#product.vgpc-product .vgpc-gallery > .vgpc-gallery-badges:not(.vg-safe-product-badges-v107) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#product.vgpc-product > .vg-safe-product-badges-v107 {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 250 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  width: auto !important;
  max-width: calc(50% - 24px) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: none !important;
}

#product.vgpc-product > .vg-safe-product-badges-v107 .vgpc-gallery-badge {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  transform: none !important;
  pointer-events: none !important;
}

@media (max-width: 1199px) {
  #product.vgpc-product > .vg-safe-product-badges-v107 {
    top: 8px !important;
    left: 8px !important;
    max-width: calc(100% - 16px) !important;
    gap: 5px !important;
  }
}

/* ========================================================================
   VG Catalog Views SAFE v1.0.9
   Homepage/module cards: Quantity + Buy + Compare + Wishlist in one row.
   Desktop only. Category/list/product-page styles remain untouched.
   ======================================================================== */
@media (min-width: 1200px) {
  .container-module .product-thumb.vg-home-module-card .price-actions-box.vg-card-actions.vg-home-actions {
    display: grid !important;
    grid-template-columns: 78px minmax(70px, 1fr) 34px 34px !important;
    grid-template-areas:
      "price price price price"
      "qty cart compare wishlist" !important;
    column-gap: 5px !important;
    row-gap: 7px !important;
    width: 100% !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .price {
    grid-area: price !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .vg-card-qty {
    grid-area: qty !important;
    width: 78px !important;
    margin: 0 !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart {
    grid-area: cart !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .compare {
    grid-area: compare !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .wishlist {
    grid-area: wishlist !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .compare,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .wishlist {
    display: block !important;
    position: static !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .compare .btn,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .wishlist .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #59636e !important;
    background: #fff !important;
    border: 1px solid #dfe5e8 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .compare .btn:hover,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .wishlist .btn:hover,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .compare .btn:focus,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .wishlist .btn:focus,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .compare .btn.is-active,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .wishlist .btn.is-active {
    color: #0bb56d !important;
    border-color: #0bb56d !important;
    background: #fff !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart .btn-general {
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
  }

  /* Out of stock: no quantity, disabled button + Compare + Wishlist. */
  .container-module .product-thumb.vg-home-module-card .price-actions-box.vg-home-actions.vg-card-out-of-stock {
    grid-template-columns: minmax(0, 1fr) 34px 34px !important;
    grid-template-areas:
      "price price price"
      "cart compare wishlist" !important;
  }

  .container-module .product-thumb.vg-home-module-card .vg-home-actions.vg-card-out-of-stock > .vg-card-qty {
    display: none !important;
  }

  /* Compare/Wishlist were moved out of the image hover rail; keep remaining
     Quick View / Fast Order controls intact if the module uses them. */
  .container-module .product-thumb.vg-home-module-card .image .addit-action .compare,
  .container-module .product-thumb.vg-home-module-card .image .addit-action .wishlist {
    display: none !important;
  }
}

/* ============================================================
   VG Catalog Views SAFE v1.0.10
   Disable Quick View + Fast/Quick Order buttons on PRODUCT CARD images.
   Scope: catalog/module product thumbnails only; product-page quick-order
   button remains untouched.
   ============================================================ */
@media (min-width: 768px) {
  /* Chameleon image hover rail: hide only Quick View and Fast Order. */
  .product-thumb .image .addit-action .quickview,
  .product-thumb .image .addit-action .quick-order,
  .product-thumb .image .addit-action .fastorder,
  .product-thumb .image .addit-action .btn-quickview,
  .product-thumb .image .addit-action .btn-fastorder {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* On homepage/module cards Compare + Wishlist are already moved to the
     bottom action row by v1.0.9, so the leftover image rail can disappear. */
  .container-module .product-thumb.vg-home-module-card .image .addit-action {
    display: none !important;
  }
}

/* ========================================================================
   VG Catalog Actions Unified v1.1.1 SAFE — 2026-08-09
   Desktop catalog/module action row:
   Quantity -> Buy -> Compare -> Wishlist.
   Out of stock: disabled gray button -> Compare -> Wishlist, no quantity.
   Applies to category grid/price/list and keeps homepage Latest/Bestseller
   action row visually aligned. Product page and mobile layouts are untouched.
   ======================================================================== */
@media (min-width: 1200px) {
  /* Shared modern quantity control created from the native Chameleon input. */
  .category-page .vg-safe-commerce > .vg-card-qty,
  .category-page .vg-safe-commerce > .vg-unified-qty {
    grid-area: qty !important;
    display: grid !important;
    grid-template-columns: 24px 30px 24px !important;
    width: 78px !important;
    min-width: 78px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
    border: 1px solid #e1e6ea !important;
    border-radius: 7px !important;
    pointer-events: auto !important;
  }

  .category-page .vg-safe-commerce > .vg-card-qty .vg-card-qty-btn,
  .category-page .vg-safe-commerce > .vg-unified-qty .vg-card-qty-btn {
    width: 24px !important;
    min-width: 24px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #64707d !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 32px !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .category-page .vg-safe-commerce > .vg-card-qty .vg-card-qty-input,
  .category-page .vg-safe-commerce > .vg-unified-qty .vg-card-qty-input {
    display: block !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    color: #111 !important;
    font-size: 13px !important;
    line-height: 32px !important;
    text-align: center !important;
    background: #fff !important;
    border: 0 !important;
    border-right: 1px solid #e1e6ea !important;
    border-left: 1px solid #e1e6ea !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Grid: one identical bottom action row. */
  .category-page .product-layout.product-grid .vg-safe-commerce {
    grid-template-columns: 78px minmax(0, 1fr) 34px 34px !important;
    grid-template-areas:
      "stock stock stock stock"
      "price price price price"
      "qty cart compare wishlist" !important;
    column-gap: 5px !important;
    row-gap: 7px !important;
  }

  /* Horizontal Price/List: same order and same control sizes. */
  .category-page .product-layout.product-price .vg-safe-commerce,
  .category-page .product-layout.product-list .vg-safe-commerce {
    grid-template-columns: 78px minmax(0, 1fr) 34px 34px !important;
    grid-template-areas:
      "stock stock stock stock"
      "price price price price"
      "qty cart compare wishlist" !important;
    column-gap: 5px !important;
    row-gap: 7px !important;
    width: 300px !important;
    min-width: 300px !important;
  }

  .category-page .vg-safe-commerce > .cart {
    grid-area: cart !important;
  }
  .category-page .vg-safe-commerce > .compare {
    grid-area: compare !important;
  }
  .category-page .vg-safe-commerce > .wishlist {
    grid-area: wishlist !important;
  }

  /* One visual language for Buy/Compare/Wishlist on category and homepage. */
  .category-page .vg-safe-commerce > .cart .btn-general,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart .btn-general {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    color: #13ad68 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    background: #fff !important;
    border: 1px solid #13ad68 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    white-space: nowrap !important;
  }

  .category-page .vg-safe-commerce > .cart .btn-general .icon-cart-add,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart .btn-general .icon-cart-add {
    display: block !important;
    flex: 0 0 16px !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 4px 0 0 !important;
  }

  .category-page .vg-safe-commerce > .cart .btn-general .text-cart-add,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart .btn-general .text-cart-add {
    display: inline-block !important;
    padding-left: 0 !important;
  }

  .category-page .vg-safe-commerce > .compare,
  .category-page .vg-safe-commerce > .wishlist,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .compare,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .wishlist {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
  }

  .category-page .vg-safe-commerce > .compare .btn,
  .category-page .vg-safe-commerce > .wishlist .btn,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .compare .btn,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .wishlist .btn {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #dfe5e8 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
  }

  /* Out of stock: no quantity, disabled gray button, Compare/Wishlist active. */
  .category-page .product-layout .vg-safe-commerce.vg-unified-out-of-stock {
    grid-template-columns: minmax(0, 1fr) 34px 34px !important;
    grid-template-areas:
      "stock stock stock"
      "price price price"
      "cart compare wishlist" !important;
  }

  .category-page .vg-safe-commerce.vg-unified-out-of-stock > .vg-card-qty,
  .category-page .vg-safe-commerce.vg-unified-out-of-stock > .vg-unified-qty,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions.vg-card-out-of-stock > .vg-card-qty {
    display: none !important;
  }

  .category-page .vg-safe-commerce > .cart .vg-safe-outofstock-btn,
  .category-page .vg-safe-commerce > .cart .vg-card-stock-button,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions.vg-card-out-of-stock > .cart .btn-general {
    color: #7f8993 !important;
    background: #f1f3f5 !important;
    border-color: #e1e5e9 !important;
    box-shadow: none !important;
    cursor: default !important;
    pointer-events: none !important;
  }

  .category-page .vg-safe-commerce > .cart .vg-safe-outofstock-btn .icon-cart-add,
  .category-page .vg-safe-commerce > .cart .vg-card-stock-button .icon-cart-add,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions.vg-card-out-of-stock > .cart .btn-general .icon-cart-add,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions.vg-card-out-of-stock > .cart .btn-general .icon-notify-stock {
    display: none !important;
  }
}

/* ========================================================================
   VG Catalog Actions Unified SAFE v1.1.3 — BUY TEXT ONLY — 2026-08-09
   Product cards: hide cart icon inside Buy button.
   Applies to category Grid/Price/List, AJAX-filtered results and homepage
   product modules using the unified action row. Product page is untouched.
   ======================================================================== */
@media (min-width: 1200px) {
  .category-page .product-layout .vg-safe-commerce > .cart .btn-general .icon-cart-add,
  .category-page .product-layout .vg-safe-commerce > .cart .btn-general .icon-notify-stock,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart .btn-general .icon-cart-add,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart .btn-general .icon-notify-stock,
  .container-module .product-thumb .price-actions-box.vg-card-actions > .cart .btn-general .icon-cart-add,
  .container-module .product-thumb .price-actions-box.vg-card-actions > .cart .btn-general .icon-notify-stock {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .category-page .product-layout .vg-safe-commerce > .cart .btn-general .text-cart-add,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart .btn-general .text-cart-add,
  .container-module .product-thumb .price-actions-box.vg-card-actions > .cart .btn-general .text-cart-add {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* ========================================================================
   VG Catalog Actions Unified SAFE v1.1.4 — HOME BUY HOVER + IN-CART STATE
   2026-08-09
   - Homepage/module Buy buttons fill green on hover/focus.
   - Native .is-active ("В кошику" / "В корзине") state is also filled green.
   - Out-of-stock disabled buttons stay gray and unchanged.
   ======================================================================== */
@media (min-width: 1200px) {
  .container-module .product-thumb .price-actions-box.vg-card-actions > .cart
  .btn-general:not(:disabled):not(.vg-card-stock-button):not(.vg-safe-outofstock-btn):not(.btn-notify-stock):hover,

  .container-module .product-thumb .price-actions-box.vg-card-actions > .cart
  .btn-general:not(:disabled):not(.vg-card-stock-button):not(.vg-safe-outofstock-btn):not(.btn-notify-stock):focus,

  .container-module .product-thumb .price-actions-box.vg-card-actions > .cart
  .btn-general.is-active:not(:disabled):not(.vg-card-stock-button):not(.vg-safe-outofstock-btn):not(.btn-notify-stock),

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart
  .btn-general:not(:disabled):not(.vg-card-stock-button):not(.vg-safe-outofstock-btn):not(.btn-notify-stock):hover,

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart
  .btn-general:not(:disabled):not(.vg-card-stock-button):not(.vg-safe-outofstock-btn):not(.btn-notify-stock):focus,

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart
  .btn-general.is-active:not(:disabled):not(.vg-card-stock-button):not(.vg-safe-outofstock-btn):not(.btn-notify-stock) {
    color: #fff !important;
    background: #13ad68 !important;
    border-color: #13ad68 !important;
    box-shadow: none !important;
  }

  .container-module .product-thumb .price-actions-box.vg-card-actions > .cart
  .btn-general.is-active .text-cart-add,

  .container-module .product-thumb.vg-home-module-card .vg-home-actions > .cart
  .btn-general.is-active .text-cart-add {
    color: #fff !important;
  }

  /* Explicitly preserve the agreed out-of-stock appearance. */
  .container-module .product-thumb .price-actions-box.vg-card-actions.vg-card-out-of-stock > .cart .btn-general,
  .container-module .product-thumb.vg-home-module-card .vg-home-actions.vg-card-out-of-stock > .cart .btn-general {
    color: #7f8993 !important;
    background: #f1f3f5 !important;
    border-color: #e1e5e9 !important;
    box-shadow: none !important;
    cursor: default !important;
    pointer-events: none !important;
  }
}

/* ========================================================================
   VG Catalog Actions Unified SAFE v1.1.6 — PRICE DYNAMIC CART TEXT
   2026-08-09
   Fix: Price view previously rendered button text from data-vg-buy-text via
   ::after ("Купити"), which hid the live .text-cart-add text. Because of that
   JS correctly set "В кошику", but Price view still visually showed "Купити".
   Use the real live text span in Price/List so cart-state changes are visible.
   ======================================================================== */
@media (min-width: 768px) {
  .category-page .product-layout.product-price
  button.vg-price-buy:not(.vg-price-notify)::after,

  .category-page .product-layout.product-list
  button.vg-price-buy:not(.vg-price-notify)::after {
    content: none !important;
    display: none !important;
  }

  .category-page .product-layout.product-price
  button.vg-price-buy:not(.vg-price-notify) > .text-cart-add,

  .category-page .product-layout.product-list
  button.vg-price-buy:not(.vg-price-notify) > .text-cart-add {
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
  }

  .category-page .product-layout.product-price
  button.vg-price-buy:not(.vg-price-notify) > .icon-cart-add,

  .category-page .product-layout.product-list
  button.vg-price-buy:not(.vg-price-notify) > .icon-cart-add {
    display: none !important;
  }
}

/* ========================================================================
   VG MOBILE CATALOG CARDS SAFE v1.2.0 — IBIS-LIKE MOBILE GRID
   Scope: category product cards only, <= 767px.
   Desktop/tablet >= 768px are not changed.
   ======================================================================== */
@media (max-width: 767px) {
  /* Two clean columns with thin dividers, like the supplied reference. */
  #content .row-flex.category-page {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    background: #f4f6f7 !important;
    border-top: 1px solid #e7ebee !important;
  }

  #content .category-page .product-layout.vg-mobile-ibis-card {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-right: 1px solid #e7ebee !important;
    border-bottom: 1px solid #e7ebee !important;
  }

  #content .category-page .product-layout.vg-mobile-ibis-card:nth-child(2n) {
    border-right: 0 !important;
  }

  #content .category-page .vg-mobile-ibis-thumb {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 10px 14px !important;
    overflow: visible !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Product code is moved below rating; hide the original top-right source. */
  #content .category-page .vg-mobile-ibis-thumb > .product-model {
    display: none !important;
  }

  /* Larger, calm image area. */
  #content .category-page .vg-mobile-ibis-thumb > .image {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    height: 220px !important;
    margin: 0 0 10px !important;
    padding: 28px 2px 4px !important;
    overflow: visible !important;
    background: #fff !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .image > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 184px !important;
    margin: 0 !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .image img.img-responsive {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 184px !important;
    margin: auto !important;
    object-fit: contain !important;
  }

  /* Native circular rating is replaced by the clean rating below the name. */
  #content .category-page .vg-mobile-ibis-thumb > .image > .rating {
    display: none !important;
  }

  /* Keep only badges on the image; actions are moved to the bottom. */
  #content .category-page .vg-mobile-ibis-thumb > .image .addit-action {
    display: none !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .image .stickers-ns {
    top: 6px !important;
    left: 4px !important;
    right: auto !important;
    gap: 4px !important;
    max-width: calc(100% - 8px) !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .image .sticker-ns {
    min-height: 24px !important;
    padding: 5px 9px !important;
    font-size: 10px !important;
    line-height: 13px !important;
    border-radius: 7px !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .caption {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-ibis-thumb .product-name {
    min-height: 42px !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  #content .category-page .vg-mobile-ibis-thumb .product-name a {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #272d33 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 18px !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  /* Clean star row under product title. */
  #content .category-page .vg-mobile-card-rating {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    min-height: 17px !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-card-star {
    color: #c9cfd4 !important;
    font-size: 14px !important;
    line-height: 16px !important;
  }

  #content .category-page .vg-mobile-card-star.is-filled {
    color: #f5a623 !important;
  }

  #content .category-page .vg-mobile-card-review-count {
    margin-left: 4px !important;
    color: #9aa2aa !important;
    font-size: 10px !important;
    line-height: 16px !important;
    white-space: nowrap !important;
  }

  #content .category-page .vg-mobile-card-code {
    min-height: 15px !important;
    margin: 0 0 12px !important;
    color: #a2a8ae !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 15px !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #content .category-page .vg-mobile-ibis-thumb .product-description,
  #content .category-page .vg-mobile-ibis-thumb .attribute-cat,
  #content .category-page .vg-mobile-ibis-card + .catalogCard-extra {
    display: none !important;
  }

  /* Commerce block: price -> stock -> actions. */
  #content .category-page .vg-mobile-ibis-thumb
  .price-actions-box.vg-price-list-actions.vg-mobile-card-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    grid-template-areas:
      "info info info"
      "cart compare wishlist" !important;
    grid-template-rows: auto 40px !important;
    column-gap: 6px !important;
    row-gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: auto 0 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-card-actions > .vg-price-info {
    grid-area: info !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Reference photo has price first, availability underneath. */
  #content .category-page .vg-mobile-card-actions .vg-price-row {
    order: 1 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-card-actions .ch-stock-status {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-card-actions .stock-status {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #178c5a !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
  }

  #content .category-page .vg-mobile-card-actions .price {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  #content .category-page .vg-mobile-card-actions .price-default,
  #content .category-page .vg-mobile-card-actions .price-new {
    color: #20252a !important;
    font-size: 17px !important;
    font-weight: 750 !important;
    line-height: 21px !important;
    white-space: normal !important;
  }

  #content .category-page .vg-mobile-card-actions .price-old {
    color: #8f989f !important;
    font-size: 12px !important;
    line-height: 16px !important;
  }

  /* Exact reference layout on mobile: no quantity selector in the action row. */
  #content .category-page .vg-mobile-card-actions > .quantity_plus_minus,
  #content .category-page .vg-mobile-card-actions > .vg-price-quantity,
  #content .category-page .vg-mobile-card-actions > .vg-card-qty,
  #content .category-page .vg-mobile-card-actions > .vg-unified-qty {
    display: none !important;
  }

  #content .category-page .vg-mobile-card-actions > .cart {
    grid-area: cart !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-card-actions > .compare {
    grid-area: compare !important;
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-card-actions > .wishlist {
    grid-area: wishlist !important;
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-card-actions > .cart .btn-general {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    color: #13ad68 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    background: #fff !important;
    border: 1.5px solid #13ad68 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    white-space: nowrap !important;
  }

  /* User previously requested text-only Buy button: keep cart icon hidden. */
  #content .category-page .vg-mobile-card-actions > .cart .btn-general .icon-cart-add,
  #content .category-page .vg-mobile-card-actions > .cart .btn-general .icon-notify-stock {
    display: none !important;
  }

  #content .category-page .vg-mobile-card-actions > .cart .btn-general .text-cart-add {
    position: static !important;
    display: inline-block !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: 1 !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  #content .category-page .vg-mobile-card-actions > .cart
  .btn-general:not(:disabled):hover,
  #content .category-page .vg-mobile-card-actions > .cart
  .btn-general:not(:disabled):focus,
  #content .category-page .vg-mobile-card-actions > .cart
  .btn-general.is-active:not(:disabled) {
    color: #fff !important;
    background: #13ad68 !important;
    border-color: #13ad68 !important;
  }

  #content .category-page .vg-mobile-card-actions > .compare .btn,
  #content .category-page .vg-mobile-card-actions > .wishlist .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #69737c !important;
    background: #fff !important;
    border: 1px solid #dbe1e5 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
  }

  #content .category-page .vg-mobile-card-actions > .compare .btn:hover,
  #content .category-page .vg-mobile-card-actions > .wishlist .btn:hover,
  #content .category-page .vg-mobile-card-actions > .compare .btn:focus,
  #content .category-page .vg-mobile-card-actions > .wishlist .btn:focus {
    color: #13ad68 !important;
    border-color: #13ad68 !important;
    background: #f5fcf8 !important;
  }

  /* Out of stock remains exactly as agreed: gray disabled button, no quantity. */
  #content .category-page .vg-mobile-card-actions.vg-card-out-of-stock {
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    grid-template-areas:
      "info info info"
      "cart compare wishlist" !important;
  }

  #content .category-page .vg-mobile-card-actions.vg-card-out-of-stock > .cart .btn-general,
  #content .category-page .vg-mobile-card-actions > .cart .vg-price-outofstock,
  #content .category-page .vg-mobile-card-actions > .cart .vg-card-stock-button,
  #content .category-page .vg-mobile-card-actions > .cart .vg-safe-outofstock-btn {
    color: #7d868e !important;
    background: #f1f3f5 !important;
    border-color: #e0e4e7 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none !important;
  }
}

/* Slightly tighter cards on very narrow devices without switching to 1 column. */
@media (max-width: 390px) {
  #content .category-page .vg-mobile-ibis-thumb {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .image {
    height: 204px !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .image > a {
    height: 170px !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .image img.img-responsive {
    max-height: 170px !important;
  }

  #content .category-page .vg-mobile-card-actions {
    grid-template-columns: minmax(0, 1fr) 38px 38px !important;
    column-gap: 5px !important;
  }

  #content .category-page .vg-mobile-card-actions > .compare,
  #content .category-page .vg-mobile-card-actions > .wishlist,
  #content .category-page .vg-mobile-card-actions > .compare .btn,
  #content .category-page .vg-mobile-card-actions > .wishlist .btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 40px !important;
  }
}

/* ========================================================================
   VG MOBILE CATALOG CARDS SAFE v1.2.1 — BADGES + HOME MODULES
   2026-08-09
   Scope: mobile <= 767px only.
   ======================================================================== */
@media (max-width: 767px) {

  /* ------------------------------------------------------------
     1) Category badges: remove the native -30px model offset.
     This was the reason "Новинка" moved upward into the previous card row.
     ------------------------------------------------------------ */
  #content .category-page .vg-mobile-ibis-thumb > .image .stickers-ns {
    position: absolute !important;
    top: 8px !important;
    left: 6px !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 30 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: max-content !important;
    max-width: calc(100% - 12px) !important;
  }

  #content .category-page .vg-mobile-ibis-thumb > .image .stickers-ns .sticker-ns {
    margin: 0 !important;
    transform: none !important;
  }

  /* ------------------------------------------------------------
     2) Homepage Latest + Bestseller: same mobile card language.
     Keep the Swiper, but show two full cards per screen.
     ------------------------------------------------------------ */
  .container-module .latest > .item.swiper-slide.vg-mobile-home-slide,
  .container-module .bestseller > .item.swiper-slide.vg-mobile-home-slide {
    width: 50% !important;
    min-width: 50% !important;
    max-width: 50% !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border-right: 1px solid #e7ebee !important;
    border-bottom: 1px solid #e7ebee !important;
  }

  .container-module .latest > .item.swiper-slide.vg-mobile-home-slide:nth-child(2n),
  .container-module .bestseller > .item.swiper-slide.vg-mobile-home-slide:nth-child(2n) {
    border-right: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 10px 14px !important;
    overflow: visible !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Image stage */
  .container-module .product-thumb.vg-mobile-home-card > .image {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 0 !important;
    margin: 0 0 10px !important;
    padding: 34px 2px 4px !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .image > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 180px !important;
    margin: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .image img.img-responsive {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 180px !important;
    margin: auto !important;
    object-fit: contain !important;
  }

  /* Hide duplicate top model: use the caption code instead. */
  .container-module .product-thumb.vg-mobile-home-card > .image > .product-model {
    display: none !important;
  }

  /* Badges fixed in the upper-left of the image, never outside the card. */
  .container-module .product-thumb.vg-mobile-home-card > .image .stickers-ns {
    position: absolute !important;
    top: 8px !important;
    left: 6px !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 30 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 5px !important;
    width: max-content !important;
    max-width: calc(100% - 12px) !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .image .stickers-ns .sticker-ns {
    margin: 0 !important;
    transform: none !important;
  }

  /* Compare/Wishlist are moved to the bottom. Hide leftover image action shell. */
  .container-module .product-thumb.vg-mobile-home-card > .image .addit-action {
    display: none !important;
  }

  /* Caption order: title -> rating -> code -> price -> stock -> actions. */
  .container-module .product-thumb.vg-mobile-home-card > .caption {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .product-name {
    order: 1 !important;
    min-height: 42px !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .product-name a {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #272d33 !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 18px !important;
    text-align: left !important;
    text-decoration: none !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-module-review-row {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    min-height: 17px !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-module-mobile-model {
    order: 3 !important;
    display: block !important;
    min-height: 15px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #a2a8ae !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 15px !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .product-description {
    display: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .caption > .price-actions-box {
    order: 4 !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: auto 0 0 !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .caption > .price-actions-box > .price {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .price-default,
  .container-module .product-thumb.vg-mobile-home-card .price-new {
    color: #20252a !important;
    font-size: 17px !important;
    font-weight: 750 !important;
    line-height: 21px !important;
    white-space: normal !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .price-old {
    color: #8f989f !important;
    font-size: 12px !important;
    line-height: 16px !important;
  }

  /* Native price-row cart/quantity are duplicates on mobile. */
  .container-module .product-thumb.vg-mobile-home-card > .caption > .price-actions-box > .cart,
  .container-module .product-thumb.vg-mobile-home-card > .caption > .price-actions-box > .quantity_plus_minus {
    display: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .caption > .ch-stock-status {
    order: 5 !important;
    display: block !important;
    width: 100% !important;
    min-height: 18px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .caption > .ch-stock-status .stock-status {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #178c5a !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 18px !important;
    white-space: nowrap !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .caption > .ch-stock-status .outofstock {
    color: #dc5b4f !important;
  }

  /* Bottom action row: Buy / In cart + Compare + Wishlist */
  .container-module .product-thumb.vg-mobile-home-card .vg-module-mobile-actions.vg-mobile-home-actions {
    order: 6 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    grid-template-areas: "cart compare wishlist" !important;
    grid-template-rows: 40px !important;
    column-gap: 6px !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .quantity_plus_minus {
    display: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-module-mobile-cart {
    grid-area: cart !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-compare {
    grid-area: compare !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-wishlist {
    grid-area: wishlist !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-compare,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-wishlist {
    display: block !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-module-mobile-cart .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    color: #13ad68 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    background: #fff !important;
    border: 1.5px solid #13ad68 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    white-space: nowrap !important;
  }

  /* Text-only Buy button, as already agreed for desktop/category. */
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions .icon-cart-add,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions .icon-notify-stock {
    display: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions .text-cart-add {
    display: inline-block !important;
    position: static !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-module-mobile-cart .btn.is-active,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-module-mobile-cart .btn:not(:disabled):hover,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-module-mobile-cart .btn:not(:disabled):focus {
    color: #fff !important;
    background: #13ad68 !important;
    border-color: #13ad68 !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-compare .btn,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-wishlist .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #69737c !important;
    background: #fff !important;
    border: 1px solid #dbe1e5 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-compare .btn:hover,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-wishlist .btn:hover,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-compare .btn:focus,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-wishlist .btn:focus {
    color: #13ad68 !important;
    border-color: #13ad68 !important;
    background: #f5fcf8 !important;
  }

  /* Out-of-stock stays gray and disabled. */
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions.is-unavailable > .vg-module-mobile-cart .btn,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions .vg-module-outofstock {
    color: #7d868e !important;
    background: #f1f3f5 !important;
    border-color: #e0e4e7 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none !important;
  }
}

@media (max-width: 390px) {
  .container-module .product-thumb.vg-mobile-home-card {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .image {
    height: 204px !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .image > a {
    height: 166px !important;
  }

  .container-module .product-thumb.vg-mobile-home-card > .image img.img-responsive {
    max-height: 166px !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-module-mobile-actions.vg-mobile-home-actions {
    grid-template-columns: minmax(0, 1fr) 38px 38px !important;
    column-gap: 5px !important;
  }

  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-compare,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-wishlist,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-compare .btn,
  .container-module .product-thumb.vg-mobile-home-card .vg-mobile-home-actions > .vg-mobile-home-wishlist .btn {
    width: 38px !important;
    min-width: 38px !important;
  }
}

/* ========================================================================
   VG MOBILE CATALOG CARDS SAFE v1.2.2 — OUT OF STOCK MOBILE
   Scope: <= 767px only.
   ======================================================================== */
@media (max-width: 767px) {

  /* ---------------- Category cards ---------------- */

  #content .category-page .vg-mobile-oos-card
  .vg-mobile-card-actions.vg-card-out-of-stock {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    grid-template-areas:
      "info info info"
      "stock stock stock"
      "cart compare wishlist" !important;
    grid-template-rows: auto 18px 40px !important;
    column-gap: 6px !important;
    row-gap: 7px !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  #content .category-page .vg-mobile-oos-card
  .vg-mobile-card-actions.vg-card-out-of-stock > .vg-price-info {
    grid-area: info !important;
    min-height: 0 !important;
  }

  #content .category-page .vg-mobile-oos-card
  .vg-mobile-card-actions.vg-card-out-of-stock > .vg-mobile-oos-status {
    grid-area: stock !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #9aa2aa !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-align: left !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  /* Muted price for unavailable products, matching the mobile reference. */
  #content .category-page .vg-mobile-oos-card
  .vg-mobile-card-actions .price-default,
  #content .category-page .vg-mobile-oos-card
  .vg-mobile-card-actions .price-new {
    color: #9da5ad !important;
  }

  #content .category-page .vg-mobile-oos-card
  .vg-mobile-card-actions > .cart {
    grid-area: cart !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-oos-card
  .vg-mobile-card-actions > .cart .vg-mobile-oos-icon-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #98a1aa !important;
    background: #f5f6f7 !important;
    border: 1px solid #cfd5da !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none !important;
  }

  #content .category-page .vg-mobile-oos-card
  .vg-mobile-oos-envelope {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    color: #98a1aa !important;
  }

  #content .category-page .vg-mobile-oos-card
  .vg-mobile-oos-hidden-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  /* ---------------- Homepage Latest / Bestseller ---------------- */

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  > .caption > .price-actions-box .price-default,

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  > .caption > .price-actions-box .price-new {
    color: #9da5ad !important;
  }

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  > .caption > .ch-stock-status {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 18px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  > .caption > .ch-stock-status .stock-status.outofstock {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #9aa2aa !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  .vg-mobile-home-actions.is-unavailable {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    grid-template-areas: "cart compare wishlist" !important;
    grid-template-rows: 40px !important;
    column-gap: 6px !important;
    align-items: stretch !important;
  }

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  .vg-mobile-home-actions > .vg-module-mobile-cart .vg-mobile-oos-icon-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #98a1aa !important;
    background: #f5f6f7 !important;
    border: 1px solid #cfd5da !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: default !important;
    pointer-events: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  .vg-mobile-oos-envelope {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    color: #98a1aa !important;
  }

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  .vg-mobile-oos-hidden-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}

@media (max-width: 390px) {
  #content .category-page .vg-mobile-oos-card
  .vg-mobile-card-actions.vg-card-out-of-stock,

  .container-module .product-thumb.vg-mobile-home-card.vg-mobile-home-oos-card
  .vg-mobile-home-actions.is-unavailable {
    grid-template-columns: minmax(0, 1fr) 38px 38px !important;
    column-gap: 5px !important;
  }
}

/* ========================================================================
   VG MOBILE CATALOG CARDS SAFE v1.2.3 — COMPLETE ACTIONS
   Scope: <= 767px only.
   ======================================================================== */
@media (max-width: 767px) {

  /* ============================================================
     CATEGORY — OUT OF STOCK
     Price -> full stock status -> envelope / compare / wishlist
     ============================================================ */
  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-card-actions.vg-card-out-of-stock {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: auto 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-card-actions.vg-card-out-of-stock > .vg-price-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-card-actions.vg-card-out-of-stock .vg-price-row {
    order: 1 !important;
    width: 100% !important;
    margin: 0 0 7px !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-stockline-v123 {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #9aa2aa !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    grid-template-areas: "cart compare wishlist" !important;
    grid-template-rows: 40px !important;
    column-gap: 6px !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .cart {
    grid-area: cart !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .compare {
    grid-area: compare !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .wishlist {
    grid-area: wishlist !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .compare,
  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .wishlist {
    display: block !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .compare .btn,
  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .wishlist .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #69737c !important;
    background: #fff !important;
    border: 1px solid #dbe1e5 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 .vg-mobile-oos-icon-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #98a1aa !important;
    background: #f5f6f7 !important;
    border: 1px solid #cfd5da !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: none !important;
  }

  /* Suppress all obsolete v1.2.2 status placements outside price info. */
  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-card-actions.vg-card-out-of-stock > .vg-mobile-oos-status {
    display: none !important;
  }

  /* ============================================================
     HOMEPAGE LATEST + BESTSELLER
     Full row: Buy/In cart or envelope + Compare + Wishlist
     ============================================================ */
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions.vg-mobile-home-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    grid-template-areas: "cart compare wishlist" !important;
    grid-template-rows: 40px !important;
    column-gap: 6px !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .quantity_plus_minus {
    display: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-cart {
    grid-area: cart !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-compare {
    grid-area: compare !important;
  }

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-wishlist {
    grid-area: wishlist !important;
  }

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-compare,
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-wishlist {
    display: block !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-compare .btn,
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-wishlist .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #69737c !important;
    background: #fff !important;
    border: 1px solid #dbe1e5 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
  }

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-compare .btn:hover,
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-wishlist .btn:hover,
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-compare .btn:focus,
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-wishlist .btn:focus {
    color: #13ad68 !important;
    border-color: #13ad68 !important;
    background: #f5fcf8 !important;
  }

  /* Homepage unavailable button stays the gray envelope button. */
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions.is-unavailable > .vg-module-mobile-cart
  .vg-mobile-oos-icon-button {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
  }
}

@media (max-width: 390px) {
  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123,

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions.vg-mobile-home-actions {
    grid-template-columns: minmax(0, 1fr) 38px 38px !important;
    column-gap: 5px !important;
  }

  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .compare,
  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .wishlist,
  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .compare .btn,
  #content .category-page .vg-mobile-oos-v123
  .vg-mobile-oos-action-row-v123 > .wishlist .btn,

  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-compare,
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-wishlist,
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-compare .btn,
  .container-module .product-thumb.vg-mobile-home-v123
  .vg-module-mobile-actions > .vg-module-mobile-wishlist .btn {
    width: 38px !important;
    min-width: 38px !important;
  }
}

/* ========================================================================
   VG MOBILE CATALOG CARDS SAFE v1.2.4 — CATEGORY OOS FINAL
   Category-only, <= 767px.
   Homepage Latest/Bestseller are not changed.
   ======================================================================== */
@media (max-width: 767px) {

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    grid-template-rows: auto 40px !important;
    column-gap: 6px !important;
    row-gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: auto 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* PRICE + FULL STOCK STATUS */
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .vg-price-info {
    grid-column: 1 / 4 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions .vg-price-row {
    order: 1 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
  }

  /* Hide the old native/previous duplicate status only inside unavailable cards. */
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions .vg-price-info > .ch-stock-status,

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions .vg-price-info > .vg-mobile-oos-stockline-v123 {
    display: none !important;
  }

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-oos-stockline-v124 {
    order: 2 !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #9aa2aa !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-align: left !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
  }

  /* Muted unavailable price. */
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions .price-default,

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions .price-new {
    color: #9da5ad !important;
  }

  /* ACTION ROW — three stable columns */
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .cart {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .compare {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .wishlist {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .compare,

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .wishlist {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .cart
  .vg-mobile-oos-icon-button {
    display: flex !important;
    position: static !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #98a1aa !important;
    background: #f5f6f7 !important;
    border: 1px solid #cfd5da !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    cursor: default !important;
    pointer-events: none !important;
  }

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .compare .btn,

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .wishlist .btn {
    display: flex !important;
    position: static !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #69737c !important;
    background: #fff !important;
    border: 1px solid #dbe1e5 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Old generated rows/statuses are disabled after v1.2.4 takes ownership. */
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-oos-action-row-v123,

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .vg-mobile-oos-status {
    display: none !important;
  }
}

@media (max-width: 390px) {
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock {
    grid-template-columns: minmax(0, 1fr) 38px 38px !important;
    column-gap: 5px !important;
  }

  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .compare,
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .wishlist,
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .compare .btn,
  #content .category-page
  .product-layout.vg-mobile-oos-final-v124
  .vg-mobile-card-actions.vg-card-out-of-stock > .wishlist .btn {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
  }
}

/* ========================================================================
   VG STOCK LABEL UNIFIED SAFE v1.4.1 — REMOVE REMAINING STOCK CHECK ICON
   2026-08-09

   The visible "check mark" was not text. Chameleon adds it with CSS ::before.
   Remove that decorative icon everywhere the in-stock label is shown:
   product cards, homepage modules, product page and quick view.
   ======================================================================== */
.product-thumb .stock-status.instock::before,
.product-thumb .stock-status.instock:before,
#product .stock_status_success::before,
#product .stock_status_success:before,
#popup-quickview .stock_status_success::before,
#popup-quickview .stock_status_success:before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* ========================================================================
   VG PRODUCT NAMES — DESKTOP 2 LINES / MOBILE FULL TEXT v1.0.0
   2026-08-09

   Desktop/tablet cards keep a stable two-line title area. Mobile cards and
   the mobile product heading use the available vertical space and never hide
   the end of a product name behind an ellipsis.
   ======================================================================== */
@media (min-width: 768px) {
  html body #content .product-layout .product-thumb .product-name,
  html body #content .container-module .product-thumb .product-name,
  html body #content .product-thumb-viewed .product-name {
    min-height: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    overflow: hidden !important;
  }

  html body #content .product-layout .product-thumb .product-name > a,
  html body #content .container-module .product-thumb .product-name > a,
  html body #content .product-thumb-viewed .product-name > a {
    display: -webkit-box !important;
    overflow: hidden !important;
    max-height: 44px !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html body #content .product-thumb .product-name > a > span {
    display: inline !important;
  }
}

@media (max-width: 767px) {
  html body #content .product-thumb .product-name,
  #content .category-page .vg-mobile-ibis-thumb .product-name,
  .container-module .product-thumb.vg-mobile-home-card .product-name {
    min-height: 42px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body #content .product-thumb .product-name > a,
  #content .category-page .vg-mobile-ibis-thumb .product-name > a,
  .container-module .product-thumb.vg-mobile-home-card .product-name > a {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
  }

  html body #content .product-thumb .product-name > a > span {
    display: inline !important;
  }

  /* Full-width product title, like in the supplied mobile example. */
  html body .vg-product-page .vg-mobile-product-title {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin-bottom: 8px !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    font-size: 14px !important;
    line-height: 19px !important;
  }
}

/* ========================================================================
   VG CATEGORY OOS CARD v1.2.9 — single structural OOS footer
   2026-08-10
   The Twig renders exactly one price/status/action area for OOS products.
   ======================================================================== */

html body #content .category-page .vg-oos-direct-card .vg-oos-unified {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: auto 0 0 !important;
  padding: 8px 0 0 !important;
  box-sizing: border-box !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-price {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-price .price-default,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-price .price-new {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #7f8993 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 18px !important;
  text-align: left !important;
  white-space: normal !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-oldrow {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: 100% !important;
  margin: 0 0 2px !important;
  padding: 0 !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-oldrow .price-old {
  margin: 0 !important;
  color: #a0a8b0 !important;
  font-size: 11px !important;
  line-height: 15px !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-status {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 1px 0 7px !important;
  padding: 0 !important;
  color: #9aa3ab !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 14px !important;
  text-align: left !important;
  white-space: normal !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions {
  display: flex !important;
  align-items: stretch !important;
  gap: 5px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .cart,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .compare,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .wishlist {
  display: block !important;
  position: static !important;
  float: none !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .cart {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .compare,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .wishlist {
  flex: 0 0 32px !important;
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions .vg-oos-unified-notify,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .compare .btn,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .wishlist .btn {
  display: flex !important;
  position: static !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #85909a !important;
  background: #fff !important;
  border: 1px solid #d7dde2 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .compare .btn,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .wishlist .btn {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-notify,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-notify[disabled],
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-notify:hover,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-notify:focus,
html body #content .category-page .vg-oos-direct-card .vg-oos-unified-notify:active {
  color: #89939c !important;
  background: #fff !important;
  border-color: #d7dde2 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: default !important;
  pointer-events: none !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-text {
  display: block !important;
  max-width: 100% !important;
  padding: 0 5px !important;
  overflow: hidden !important;
  color: inherit !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  line-height: 11px !important;
  text-align: center !important;
  white-space: normal !important;
}

html body #content .category-page .vg-oos-direct-card .vg-oos-unified-envelope {
  display: none !important;
}

@media (max-width: 767px) {
  html body #content .category-page .vg-oos-direct-card .vg-oos-unified {
    padding-top: 7px !important;
  }

  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-status {
    margin-bottom: 6px !important;
  }

  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions {
    gap: 3px !important;
    height: 30px !important;
  }

  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .cart,
  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .compare,
  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .wishlist,
  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions .vg-oos-unified-notify,
  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .compare .btn,
  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .wishlist .btn {
    height: 30px !important;
    min-height: 30px !important;
  }

  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .compare,
  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .wishlist {
    flex-basis: 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
  }

  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .compare .btn,
  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-actions > .wishlist .btn {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
  }

  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-text {
    display: none !important;
  }

  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-envelope {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    color: #89939c !important;
  }

  html body #content .category-page .vg-oos-direct-card .vg-oos-unified-envelope svg {
    display: block !important;
    width: 17px !important;
    height: 17px !important;
  }
}

/* ========================================================================
   VG CATEGORY OOS MOBILE STABLE v1.4.2 — no envelope / no action flicker
   2026-08-10
   Desktop >=768px is untouched.
   Mobile: dynamic rating -> price -> red status -> [gray OOS][compare][wishlist].
   ======================================================================== */
#content .category-page .vg-mobile-card-rating-server { display:none !important; }
.vg-oos-mobile-static-action { display:none !important; }

@media (max-width: 767px) {
  html body #content .category-page .vg-mobile-card-rating-server {
    display:flex !important;
    align-items:center !important;
    gap:2px !important;
    min-height:17px !important;
    margin:0 0 5px !important;
    padding:0 !important;
  }
  html body #content .category-page .vg-mobile-card-rating-server .vg-mobile-card-star {
    color:#c9cfd4 !important;
    font-size:14px !important;
    line-height:16px !important;
  }
  html body #content .category-page .vg-mobile-card-rating-server .vg-mobile-card-star.is-filled { color:#f5a623 !important; }
  html body #content .category-page .vg-mobile-card-rating-server .vg-mobile-card-review-count {
    margin-left:3px !important;
    color:#8c969f !important;
    font-size:10px !important;
    line-height:16px !important;
  }

  html body #content .category-page .product-layout.vg-mobile-ibis-card .image .addit-action .vg-oos-desktop-action { display:none !important; }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-oos-mobile-static-action { display:block !important; }

  html body #content .category-page .product-layout.vg-mobile-ibis-card
  .price-actions-box.vg-price-list-actions.vg-mobile-card-actions.vg-card-out-of-stock.vg-oos-static-v142 {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 28px 28px !important;
    grid-template-areas:"info info info" "cart compare wishlist" !important;
    grid-template-rows:auto 30px !important;
    column-gap:3px !important;
    row-gap:5px !important;
    align-items:stretch !important;
    width:100% !important;
    min-width:0 !important;
    margin:auto 0 0 !important;
    padding:0 !important;
    overflow:visible !important;
  }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-price-info {
    grid-area:info !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-end !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
  }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 .vg-price-row {
    order:1 !important; display:block !important; width:100% !important; margin:0 0 2px !important; padding:0 !important;
  }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 .ch-stock-status {
    order:2 !important; display:block !important; width:100% !important; min-height:14px !important; margin:0 !important; padding:0 !important;
  }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 .stock-status.outofstock {
    display:block !important; width:100% !important; margin:0 !important; padding:0 !important;
    color:#e34a43 !important; background:transparent !important; font-size:9px !important; font-weight:500 !important;
    line-height:14px !important; text-align:left !important; white-space:nowrap !important;
  }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 .price-default,
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 .price-new {
    color:#69737c !important; font-size:13px !important; font-weight:600 !important; line-height:17px !important;
  }

  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .quantity_plus_minus,
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-price-quantity,
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-card-qty,
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-unified-qty { display:none !important; }

  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .cart {
    grid-area:cart !important; display:block !important; position:static !important; width:100% !important; min-width:0 !important;
    height:30px !important; margin:0 !important; padding:0 !important;
  }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-oos-mobile-compare { grid-area:compare !important; }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-oos-mobile-wishlist { grid-area:wishlist !important; }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-oos-mobile-static-action {
    position:static !important; float:none !important; width:28px !important; min-width:28px !important; max-width:28px !important;
    height:30px !important; min-height:30px !important; margin:0 !important; padding:0 !important; transform:none !important;
  }

  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .cart .btn-general {
    display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; min-width:0 !important;
    height:30px !important; margin:0 !important; padding:0 6px !important; color:#9aa2aa !important; background:#f2f4f5 !important;
    border:1px solid #e1e5e8 !important; border-radius:4px !important; box-shadow:none !important; opacity:1 !important;
    cursor:default !important; pointer-events:none !important; font-size:9px !important; font-weight:500 !important; line-height:1 !important;
    white-space:nowrap !important;
  }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .cart .btn-general::before { content:none !important; display:none !important; }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .cart .btn-general .text-cart-add {
    display:inline !important; visibility:visible !important; opacity:1 !important; width:auto !important; height:auto !important;
    overflow:visible !important; clip:auto !important; position:static !important;
  }
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .cart .vg-mobile-oos-envelope,
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .cart .icon-notify-stock,
  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .cart .icon-cart-add { display:none !important; }

  html body #content .category-page .product-layout.vg-mobile-ibis-card .vg-oos-static-v142 > .vg-oos-mobile-static-action .btn {
    display:flex !important; align-items:center !important; justify-content:center !important; width:28px !important; min-width:28px !important;
    max-width:28px !important; height:30px !important; min-height:30px !important; margin:0 !important; padding:0 !important;
    color:#69737c !important; background:#fff !important; border:1px solid #cfd6dc !important; border-radius:4px !important;
    box-shadow:none !important; transform:none !important;
  }

  html body #content .category-page .vg-oos-static-v142 .vg-mobile-oos-status,
  html body #content .category-page .vg-oos-static-v142 .vg-mobile-oos-stockline-v123,
  html body #content .category-page .vg-oos-static-v142 .vg-mobile-oos-stockline-v124,
  html body #content .category-page .vg-oos-static-v142 .vg-mobile-oos-action-row-v123 { display:none !important; }
}

/* ========================================================================
   VG CATEGORY OOS MOBILE BUTTON ALIGN v1.4.3
   2026-08-10
   Mobile only: make the disabled OOS button exactly the same height as
   compare/wishlist and normalize the label typography/alignment.
   Desktop is untouched.
   ======================================================================== */
@media (max-width: 767px) {
  html body #content .category-page .product-layout.vg-mobile-ibis-card
  .vg-oos-static-v142 > .cart,
  html body #content .category-page .product-layout.vg-mobile-ibis-card
  .vg-oos-static-v142 > .vg-oos-mobile-static-action,
  html body #content .category-page .product-layout.vg-mobile-ibis-card
  .vg-oos-static-v142 > .cart .btn-general,
  html body #content .category-page .product-layout.vg-mobile-ibis-card
  .vg-oos-static-v142 > .vg-oos-mobile-static-action .btn {
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    box-sizing: border-box !important;
  }

  html body #content .category-page .product-layout.vg-mobile-ibis-card
  .vg-oos-static-v142 > .cart .btn-general {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 6px !important;
    font-family: inherit !important;
    font-size: 10px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-stretch: normal !important;
    line-height: 28px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-indent: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  html body #content .category-page .product-layout.vg-mobile-ibis-card
  .vg-oos-static-v142 > .cart .btn-general .text-cart-add {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    font: inherit !important;
    line-height: 28px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    transform: none !important;
  }

  html body #content .category-page .product-layout.vg-mobile-ibis-card
  .vg-oos-static-v142 > .vg-oos-mobile-static-action .btn {
    line-height: 28px !important;
  }
}
