/* Product card hover overlay + cart offcanvas */

.pc.shop-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.shop-card-info {
  display: block;
  color: inherit;
  text-decoration: none;
}

.pc.shop-card .pimg {
  position: relative;
  overflow: hidden;
}

.shop-card-media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  cursor: pointer;
}

.shop-card-media-link img,
.shop-card-media-link .shop-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.shop-card-media-link .shop-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.pc-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0) 100%);
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3;
}

.pc:hover .pc-overlay,
.pc:focus-within .pc-overlay {
  transform: translateX(0);
}

.pc-overlay-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  pointer-events: auto;
}

.pc-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.pc-act:hover:not(:disabled) {
  transform: scale(1.08);
}

.pc-act:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pc-act-cart {
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
}

.pc-act-cart:hover:not(:disabled) {
  background: #fff;
  color: var(--a1, #c67b4e);
}

.pc-act-like[data-liked="1"] {
  background: rgba(192, 57, 43, 0.92);
  color: #fff;
}

.pc-act-like[data-liked="1"] i {
  color: #fff;
}

/* Cart panel */
.panel-cart .shop-cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--g5);
}

.panel-cart .shop-cart-empty i {
  font-size: 42px;
  margin-bottom: 12px;
  opacity: 0.45;
}

.shop-cart-line {
  display: grid;
  grid-template-columns: auto 76px 1fr;
  gap: 10px 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.shop-cart-line-remove {
  grid-row: 1 / span 3;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--w);
  color: var(--g5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.shop-cart-line-remove:hover {
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.35);
}

.cart-specs {
  display: grid;
  gap: 4px;
  margin: 6px 0 8px;
}

.cart-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--g5);
}

.cart-spec-row span:first-child {
  color: var(--g6);
  font-weight: 600;
}

.cart-stock-hint {
  font-size: 11px;
  color: var(--g5);
  margin-top: 4px;
}

.cart-stock-hint--warn {
  color: #c0392b;
}

.shop-cart-alerts {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.shop-cart-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dark);
}

.shop-cart-alert--price_changed {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.shop-cart-alert--low_stock {
  background: #fff7ed;
  border: 1px solid #fdba74;
}

.shop-cart-alert--unavailable {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.shop-cart-line--unavailable {
  opacity: 0.72;
}

.shop-cart-line--unavailable .cart-meta .name {
  color: var(--g5);
}

.cart-spec-row--warn .cart-spec-value {
  color: #c0392b;
}

.shop-cart-page-content .shop-cart-alerts {
  margin-bottom: 0;
}

.checkout-btn.is-disabled,
a.checkout-btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.cart-qty-row .cqb.is-disabled,
.cart-qty-row .cqb:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-cart-panel-footer {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.shop-cart-summary {
  margin-bottom: 16px;
}

.shop-cart-summary-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--g5);
}

.shop-cart-summary-label {
  font-weight: 700;
  color: var(--g6);
}

.shop-cart-summary-qty {
  text-align: center;
  min-width: 72px;
  font-weight: 600;
  color: var(--dark);
}

.shop-cart-summary-amount {
  text-align: left;
  min-width: 108px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.shop-cart-summary-row--discount .shop-cart-summary-amount--discount {
  color: #27ae60;
}

.shop-cart-summary-row--payable {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px dashed var(--border);
  font-size: 15px;
}

.shop-cart-summary-row--payable .shop-cart-summary-label {
  color: var(--dark);
}

.shop-cart-summary-amount--payable {
  font-size: 16px;
  font-weight: 800;
}

.panel-cart .panel-scroll {
  padding-bottom: 28px;
}

.panel-cart .shop-cart-panel-footer .shop-cart-footer-actions {
  display: grid;
  gap: 10px;
  padding-bottom: 4px;
}

.shop-cart-footer-actions {
  display: grid;
  gap: 10px;
}


.shop-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}

.shop-cart-btn-outline {
  border: 1.5px solid var(--border);
  background: var(--w);
  color: var(--dark);
}

.shop-cart-btn-outline:hover {
  border-color: var(--dark);
}

.shop-cart-btn-fill {
  margin-top: 0;
}

.shop-cart-picker {
  padding-top: 4px;
}

.shop-cart-picker-product {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.shop-cart-picker-thumb {
  width: 72px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--g2);
  flex-shrink: 0;
}

.shop-cart-picker-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-cart-picker-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.shop-cart-picker-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--a1, #c67b4e);
}

.shop-cart-picker-cancel {
  display: block;
  width: 100%;
  margin-top: 12px;
  text-align: center;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--g5);
  font-size: 13px;
}

.shop-variant-group {
  margin-bottom: 14px;
}

.shop-variant-label,
.shop-product-variants-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--g6);
  margin-bottom: 8px;
}

.shop-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-variant-color-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  padding: 3px;
  cursor: pointer;
}

.shop-variant-color-btn .shop-variant-swatch {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch, #ccc);
}

.shop-variant-color-btn.is-active {
  border-color: var(--dark);
}

.shop-variant-color-btn.is-disabled,
.shop-variant-size-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.shop-variant-size-btn {
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--w);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.shop-variant-size-btn.is-active {
  border-color: var(--dark);
  background: var(--g1);
}

.shop-variant-hint {
  font-size: 12px;
  color: #c0392b;
  margin: 8px 0 12px;
}

.panel-quickview .shop-quick-image {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 10px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.shop-quick-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.shop-quick-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--g1);
  cursor: pointer;
}

.shop-quick-thumb.is-active {
  border-color: var(--a1);
}

.shop-quick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-quick-thumb[hidden] {
  display: none;
}

.shop-quick-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
}

.shop-quick-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--a1, #c67b4e);
  margin-bottom: 16px;
}

.shop-quick-detail-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--g6);
}

.shop-quick-loading,
.shop-quick-error {
  text-align: center;
  padding: 32px 12px;
  color: var(--g5);
}

@media (max-width: 760px) {
  .pc-act {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
}

/* Heart burst (Instagram Live style) */
.heart-burst-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5000;
  overflow: hidden;
}

.heart-burst-particle {
  position: fixed;
  margin: -10px 0 0 -10px;
  font-size: calc(14px * var(--hs, 1));
  color: #e74c3c;
  opacity: 0;
  animation: heartBurstFly 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: drop-shadow(0 2px 4px rgba(231, 76, 60, 0.35));
}

@keyframes heartBurstFly {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.2) rotate(-12deg);
  }
  15% {
    opacity: 1;
    transform: translate(calc(var(--hx) * 0.15), calc(var(--hy) * 0.15)) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--hx), var(--hy)) scale(0.5) rotate(18deg);
  }
}

/* Wishlist card remove */
.shop-card--wishlist {
  position: relative;
}

.shop-card-price--sale {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.shop-card-price--sale .pwas {
  font-size: 11px;
  line-height: 1.2;
}

.shop-card-price--sale .pnow {
  font-size: 14px;
  font-weight: 900;
  color: var(--a1, #c67b4e);
  line-height: 1.3;
}

.shop-card-price--sale .pdisc {
  margin-top: 2px;
}

.shop-product-price.shop-card-price--sale,
.shop-product-price:has(.pwas:not([hidden])) {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.shop-quick-price.shop-card-price--sale {
  margin-bottom: 16px;
}

.shop-wishlist-remove-top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--g5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: color 0.2s, transform 0.2s, background 0.2s;
}

.shop-wishlist-remove-top:hover {
  color: #c0392b;
  background: #fff;
  transform: scale(1.06);
}

.shop-wishlist-page .shop-wishlist-head h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
}

.shop-wishlist-lead {
  color: var(--g5);
  margin: 0 0 28px;
}

.shop-wishlist-empty {
  text-align: center;
  padding: 56px 20px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--g5);
}

.shop-wishlist-empty i {
  font-size: 48px;
  margin-bottom: 14px;
  opacity: 0.45;
}

/* Dialog popup */
.pishro-dialog-root {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pishro-dialog-root[hidden] {
  display: none !important;
}

.pishro-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.pishro-dialog-root.is-open .pishro-dialog-backdrop {
  opacity: 1;
}

.pishro-dialog-card {
  position: relative;
  width: min(420px, 100%);
  background: var(--w);
  border-radius: 20px;
  padding: 28px 24px 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.pishro-dialog-root.is-open .pishro-dialog-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pishro-dialog-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
}

.pishro-dialog-icon--warn {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
}

.pishro-dialog-icon--info {
  background: rgba(52, 152, 219, 0.12);
  color: #2980b9;
}

.pishro-dialog-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.pishro-dialog-message {
  margin: 0 0 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: var(--g5);
}

.pishro-dialog-feedback-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--g6);
  margin-bottom: 8px;
}

.pishro-dialog-feedback-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  resize: vertical;
  min-height: 72px;
  margin-bottom: 16px;
}

.pishro-dialog-actions {
  display: flex;
  gap: 10px;
}

.pishro-dialog-btn {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--w);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.pishro-dialog-btn-primary {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.pishro-dialog-btn-primary:hover {
  opacity: 0.92;
}

.pishro-dialog-btn-outline:hover {
  border-color: var(--dark);
}

/* Full cart & checkout pages */
.shop-cart-page,
.shop-checkout-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.shop-checkout-page.is-checkout-guest {
  max-width: 560px;
  padding-top: 32px;
}

.shop-checkout-auth-only[hidden],
.shop-checkout-flow[hidden] {
  display: none !important;
}

.shop-checkout-page.is-checkout-resolving {
  min-height: 80px;
}

.shop-wishlist-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.vpb-internal-content .shop-cart-page,
.vpb-internal-content .shop-checkout-page,
.vpb-internal-content .shop-wishlist-page {
  max-width: none;
  padding-inline: 0;
}

.shop-cart-page-head h1,
.shop-checkout-head h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
}

.shop-cart-page-lead,
.shop-checkout-lead {
  color: var(--g5);
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
}

.shop-checkout-welcome {
  position: relative;
  margin: 14px 0 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(198, 123, 78, 0.1), rgba(198, 123, 78, 0.04));
  border: 1px solid rgba(198, 123, 78, 0.18);
  color: var(--dark);
  font-size: 14px;
  line-height: 1.7;
}

.shop-checkout-welcome[hidden] {
  display: none !important;
}

.shop-checkout-welcome i {
  color: var(--a1, #c67b4e);
  margin-left: 6px;
}

.shop-checkout-welcome strong {
  font-weight: 800;
}

/* Checkout progress */
.checkout-progress {
  margin-bottom: 24px;
}

.checkout-progress-track {
  height: 6px;
  border-radius: 999px;
  background: var(--g2);
  overflow: hidden;
}

.checkout-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--a1, #c67b4e), #d4956e);
  transition: width 0.35s ease;
}

.checkout-progress-label {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--g5);
}

/* Checkout accordions */
.checkout-accordions {
  display: grid;
  gap: 12px;
  margin-bottom: 100px;
}

.checkout-acc {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: var(--w);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-acc.is-current {
  border-color: rgba(198, 123, 78, 0.45);
  box-shadow: 0 4px 20px rgba(198, 123, 78, 0.08);
}

.checkout-acc.is-locked {
  opacity: 0.72;
  background: var(--g1);
}

.checkout-acc-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  text-align: right;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.checkout-acc.is-locked .checkout-acc-head {
  cursor: not-allowed;
}

.checkout-acc-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.checkout-acc-icon--done {
  background: rgba(39, 174, 96, 0.12);
  color: #27ae60;
}

.checkout-acc-icon--current {
  background: var(--a1, #c67b4e);
  color: #fff;
}

.checkout-acc-icon--locked {
  background: var(--g2);
  color: var(--g5);
  font-size: 12px;
}

.checkout-acc-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.checkout-acc-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
}

.checkout-acc-summary {
  font-size: 13px;
  color: var(--g5);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-acc.is-current .checkout-acc-summary {
  color: var(--g6);
}

.checkout-acc-chevron {
  color: var(--g4);
  font-size: 12px;
  transition: transform 0.25s ease;
}

.checkout-acc.is-expanded .checkout-acc-chevron {
  transform: rotate(180deg);
}

.checkout-acc-body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--border);
  animation: checkoutAccIn 0.25s ease;
}

.checkout-acc.is-collapsed .checkout-acc-body[hidden] {
  display: none;
}

.checkout-acc-lead,
.checkout-acc-hint {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--g5);
}

.checkout-acc-hint--muted {
  color: var(--g4);
}

.checkout-acc-link-btn {
  display: inline-flex;
  width: auto;
}

.checkout-gateway-list {
  display: grid;
  gap: 10px;
}

.checkout-wallet-panel {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(198, 123, 78, 0.28);
  background: linear-gradient(135deg, rgba(198, 123, 78, 0.08) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.checkout-wallet-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.checkout-wallet-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-wallet-toggle-box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid rgba(198, 123, 78, 0.45);
  background: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.checkout-wallet-checkbox:checked + .checkout-wallet-toggle-box {
  background: var(--a1, #c67b4e);
  border-color: var(--a1, #c67b4e);
}

.checkout-wallet-checkbox:checked + .checkout-wallet-toggle-box::after {
  content: "";
  position: absolute;
  inset: 4px 7px 6px 5px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkout-wallet-toggle-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.checkout-wallet-toggle-text strong {
  font-size: 14px;
  color: var(--dark);
}

.checkout-wallet-balance {
  font-size: 12px;
  color: var(--g5);
  font-weight: 600;
}

.checkout-wallet-amount-row {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(198, 123, 78, 0.25);
}

.checkout-wallet-amount-label {
  font-size: 13px;
  color: var(--g6);
  font-weight: 700;
}

.checkout-wallet-amount-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-wallet-amount-field:focus-within {
  border-color: rgba(198, 123, 78, 0.55);
  box-shadow: 0 0 0 3px rgba(198, 123, 78, 0.12);
}

.checkout-wallet-amount-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  text-align: left;
  direction: ltr;
  outline: none;
}

.checkout-wallet-amount-input::placeholder {
  color: var(--g4);
  font-weight: 600;
}

.checkout-wallet-amount-suffix {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--g5);
}

.checkout-wallet-amount-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.checkout-wallet-max-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--a1, #c67b4e);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.checkout-wallet-remaining {
  font-size: 12px;
  font-weight: 700;
  color: var(--g5);
}

.checkout-wallet-hint {
  margin-top: 10px;
  margin-bottom: 0;
}

.shop-cart-summary-row--wallet .shop-cart-summary-amount--wallet {
  color: #1f8a4c;
  font-weight: 700;
}

.checkout-gateway-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--g2);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-gateway-card:hover {
  border-color: var(--primary, #2563eb);
}

.checkout-gateway-card.is-selected {
  border-color: var(--primary, #2563eb);
  box-shadow: 0 0 0 1px var(--primary, #2563eb);
}

.checkout-gateway-radio {
  flex-shrink: 0;
}

.checkout-gateway-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.checkout-gateway-logo--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--g1, #f3f4f6);
  border-radius: 8px;
  color: var(--g4, #9ca3af);
}

.checkout-gateway-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.checkout-gateway-name {
  font-size: 15px;
  color: var(--g6, #111827);
}

.checkout-gateway-desc {
  font-size: 13px;
  color: var(--g4, #9ca3af);
  line-height: 1.5;
}

.checkout-gateway-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: #fef3c7;
  color: #92400e;
}

.checkout-gateway-badge--free {
  background: #dcfce7;
  color: #166534;
}

.checkout-shipping-cost {
  display: block;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.5;
}

.checkout-shipping-cost s {
  color: var(--g4, #9ca3af);
  font-size: 12px;
  margin-left: 6px;
}

.shop-cart-summary-amount--free {
  color: #166534;
  font-weight: 700;
}

@keyframes checkoutAccIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sticky footer */
.checkout-sticky-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}

.checkout-footer-back {
  flex: 0 0 auto;
}

.checkout-footer-next {
  flex: 1;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.checkout-footer-next:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-footer-next-hint {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.shop-checkout-page.is-checkout-authenticated {
  padding-bottom: 100px;
}

.shop-checkout-layout {
  display: grid;
  gap: 28px;
  --dual-sticky-top: var(--shop-sticky-top, 84px);
  --dual-sticky-bottom: 24px;
}

.shop-checkout-sidebar {
  display: none;
}

.shop-checkout-sidebar-track {
  min-height: 100%;
  height: 100%;
}

.shop-checkout-sidebar-inner {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--g1);
  display: grid;
  gap: 16px;
  width: 100%;
  height: fit-content;
}

.shop-checkout-sidebar-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
}

.shop-checkout-sidebar-summary {
  margin-bottom: 0;
}

.shop-checkout-sidebar-summary .shop-cart-summary-row:first-child {
  grid-template-columns: 1fr auto;
}

.shop-checkout-sidebar-summary .shop-cart-summary-row:first-child .shop-cart-summary-amount {
  display: none;
}

.shop-checkout-sidebar-actions {
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.shop-checkout-sidebar-actions .shop-cart-btn {
  width: 100%;
  justify-content: center;
}

.shop-checkout-sidebar-summary .shop-cart-summary-row--payable {
  grid-template-columns: 1fr auto;
}

.shop-checkout-sidebar-actions .checkout-footer-next {
  flex: none;
}

@media (max-width: 991.98px) {
  .shop-checkout-sidebar-inner {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
  }
}

@media (min-width: 992px) {
  .shop-checkout-page.is-checkout-authenticated {
    max-width: 1200px;
    padding-bottom: 64px;
  }

  .vpb-internal-content .shop-checkout-page.is-checkout-authenticated {
    max-width: 1200px;
    margin-inline: auto;
  }

  .shop-checkout-layout {
    grid-template-columns: 1fr min(340px, 100%);
    align-items: stretch;
  }

  .shop-checkout-sidebar {
    display: block;
    align-self: stretch;
  }

  .shop-checkout-sidebar-inner {
    position: sticky;
    top: var(--dual-sticky-top, var(--shop-sticky-top, 84px));
    z-index: 2;
  }

  .checkout-accordions {
    margin-bottom: 0;
  }

  .checkout-sticky-footer--mobile {
    display: none !important;
  }
}

.addr-picker--compact .addr-picker-title,
.addr-picker--compact .addr-picker-lead {
  display: none;
}

.shop-cart-page-body {
  display: grid;
  gap: 28px;
}

.shop-cart-page-content {
  display: grid;
  gap: 28px;
}

.shop-cart-page-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

@media (min-width: 900px) {
  .shop-cart-page-content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    align-items: start;
  }
}

.shop-cart-page .cart-spec-row {
  justify-content: flex-start;
  gap: 8px;
  text-align: right;
}

.shop-cart-page .cart-spec-label {
  color: var(--g6);
  font-weight: 600;
  flex-shrink: 0;
}

.shop-cart-page .cart-spec-value {
  color: var(--g5);
}

.shop-cart-page .cart-spec-value--price s {
  color: var(--g4);
  margin-left: 6px;
}

.shop-cart-page-line .price {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-top: 8px;
}

.shop-cart-page-line .price--sale s {
  color: var(--g4);
  font-weight: 500;
  font-size: 13px;
  margin-left: 8px;
}

.shop-cart-page-line .price--sale strong {
  color: var(--dark);
}

.shop-cart-page-summary {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--g1);
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .shop-cart-page-summary {
    position: sticky;
    top: var(--shop-sticky-top, 84px);
  }
}

.shop-cart-page-summary-actions {
  display: grid;
  gap: 10px;
}

.shop-cart-page-empty {
  text-align: center;
  padding: 56px 20px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  color: var(--g5);
}

.shop-cart-page-empty i {
  font-size: 48px;
  margin-bottom: 14px;
  opacity: 0.45;
}

.shop-cart-page-line {
  grid-template-columns: 76px 1fr;
}

.shop-checkout-auth-only {
  margin-top: 8px;
}

.shop-checkout-auth-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--w);
  text-align: center;
  box-shadow: var(--shadow-sm, 0 8px 24px rgba(0, 0, 0, 0.06));
}

.shop-checkout-auth-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(198, 123, 78, 0.12);
  color: var(--a1, #c67b4e);
  font-size: 26px;
}

.shop-checkout-auth-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.shop-checkout-page.is-checkout-guest .shop-checkout-auth-title {
  font-size: 24px;
}

.shop-checkout-auth-text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--g5);
}

.shop-checkout-auth-benefits {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  text-align: right;
  display: grid;
  gap: 10px;
}

.shop-checkout-auth-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--g6);
}

.shop-checkout-auth-benefits i {
  color: #27ae60;
  font-size: 12px;
  flex-shrink: 0;
}

.shop-checkout-auth-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.shop-checkout-auth-actions .shop-cart-btn {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shop-checkout-auth-note {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--g5);
  line-height: 1.7;
}

.shop-checkout-auth-back {
  font-size: 13px;
  color: var(--g5);
  text-decoration: none;
  transition: color 0.2s;
}

.shop-checkout-auth-back:hover {
  color: var(--a1, #c67b4e);
}

.shop-wishlist-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--w);
  color: var(--g5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.shop-wishlist-btn[data-liked="1"] {
  border-color: rgba(192, 57, 43, 0.35);
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
}

.shop-wishlist-btn[data-liked="1"] i {
  color: #c0392b;
}

.shop-product-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.shop-product-actions .shop-add-to-cart {
  flex: 1;
}

/* Compare action on cards */
.pc-act-compare.is-active,
.pc-act-compare[data-compared="1"] {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent, #c9a96e);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.shop-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  border: 1px solid var(--border, #e8e8e8);
  border-radius: 10px;
  background: #fff;
  color: var(--text, #222);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.shop-compare-btn.is-active,
.shop-compare-btn[data-compared="1"] {
  border-color: var(--accent, #c9a96e);
  color: var(--accent, #c9a96e);
  background: rgba(201, 169, 110, 0.08);
}

/* Floating compare bar */
.shop-compare-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  width: min(720px, calc(100vw - 24px));
  animation: shopCompareBarIn 0.28s ease;
}

@keyframes shopCompareBarIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.shop-compare-bar-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: center;
  padding: 14px 16px 14px 44px;
  border-radius: 14px;
  background: rgba(18, 18, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f5f5f5;
}

.shop-compare-bar-close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #f0f0f0;
  cursor: pointer;
}

.shop-compare-bar-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.shop-compare-bar-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.shop-compare-bar-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.shop-compare-bar-items {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.shop-compare-bar-item {
  flex: 0 0 108px;
  text-align: center;
}

.shop-compare-bar-thumb {
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-compare-bar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-compare-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.45);
}

.shop-compare-bar-name {
  font-size: 11px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
}

.shop-compare-bar-sku {
  margin-top: 2px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.62);
  direction: ltr;
}

.shop-compare-bar-go {
  min-width: 110px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--accent, #c9a96e);
  color: #1a1a1a;
  font-weight: 700;
  cursor: pointer;
}

.shop-compare-bar-go:hover:not(:disabled) {
  filter: brightness(1.06);
}

.shop-compare-bar-go:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .shop-compare-bar-inner {
    grid-template-columns: 1fr;
  }
  .shop-compare-bar-actions {
    justify-self: stretch;
  }
  .shop-compare-bar-go {
    width: 100%;
  }
}
