/**
 * DGBay site overrides. Keep this file small; brand colors are Customizer CSS variables.
 */

:root {
    --color-primary: #0787ea;
    --color-secondary: #5ec8ff;
}

/* Home hero slider: dark glass captions over marketplace photos */
.hero-slider {
    background: #000;
}

.hero-slider .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 18, 0.85) 0%,
        rgba(10, 10, 18, 0.35) 45%,
        rgba(10, 10, 18, 0.45) 100%
    );
    pointer-events: none;
}

.hero-slider .slide-content {
    z-index: 1;
    background: color-mix(in srgb, var(--color-bg, #0A0A12) 60%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-radius: 24px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 0 40px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.hero-slider .slide-title {
    filter: drop-shadow(0 0 20px color-mix(in srgb, var(--color-primary) 35%, transparent));
}

.hero-slider .slide-subtitle {
    color: color-mix(in srgb, var(--color-text, #E2E8F0) 80%, transparent);
}

.hero-slider .slider-nav {
    background: color-mix(in srgb, var(--color-bg, #0A0A12) 55%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    color: var(--color-text, #E2E8F0);
    box-shadow: 0 0 15px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.hero-slider .slider-nav:hover,
.hero-slider .slider-nav:focus-visible {
    background: color-mix(in srgb, var(--color-primary) 20%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    color: var(--color-primary);
    outline: none;
}

.category-image-wrap {
    background: color-mix(in srgb, var(--color-bg, #0A0A12) 70%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.search-result-group + .search-result-group {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid color-mix(in srgb, var(--color-text, #E2E8F0) 12%, transparent);
}

.search-result-group-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem 0.15rem;
    color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
}

.search-result-row--recent {
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.search-result-recent-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: color-mix(in srgb, var(--color-text, #E2E8F0) 45%, transparent);
}

.search-result-recent-remove {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.15rem 0.4rem;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--color-text, #E2E8F0) 40%, transparent);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
}

.search-result-recent-remove:hover,
.search-result-recent-remove:focus-visible {
    color: var(--color-text, #E2E8F0);
    background: color-mix(in srgb, var(--color-text, #E2E8F0) 10%, transparent);
    outline: none;
}


/* C-04 Sold comps (light) */
.dgbay-sold-comps {
	margin-top: 1.5rem;
	padding: 1.25rem 1.35rem;
	border-radius: 16px;
	border: 1px solid color-mix(in srgb, var(--color-text, #E2E8F0) 12%, transparent);
	background: color-mix(in srgb, var(--color-bg, #0A0A12) 88%, #111827);
}

.dgbay-sold-comps__header {
	margin-bottom: 0.85rem;
}

.dgbay-sold-comps__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-text, #E2E8F0);
}

.dgbay-sold-comps__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--color-primary, #0787ea);
	box-shadow: 0 0 10px color-mix(in srgb, var(--color-primary, #0787ea) 55%, transparent);
}

.dgbay-sold-comps__sub {
	margin: 0.35rem 0 0 1.15rem;
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
}

.dgbay-sold-comps__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
}

.dgbay-sold-comps__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0.7rem;
	border-radius: 10px;
	background: color-mix(in srgb, var(--color-text, #E2E8F0) 5%, transparent);
}

.dgbay-sold-comps__price {
	font-weight: 700;
	color: var(--color-text, #E2E8F0);
}

.dgbay-sold-comps__meta {
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
	text-align: right;
}

.dgbay-sold-comps__empty {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: color-mix(in srgb, var(--color-text, #E2E8F0) 50%, transparent);
}

/* C-11 Multi-vendor cart / split shipments */
.dgbay-mv-cart {
	margin: 0 0 1.25rem;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 35%, transparent);
	background: color-mix(in srgb, var(--color-primary, #0787ea) 10%, transparent);
}

.dgbay-mv-cart__title {
	margin: 0 0 0.55rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-text, #E2E8F0);
}

.dgbay-mv-cart__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.dgbay-mv-cart__shop {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0.6rem;
	border-radius: 8px;
	background: color-mix(in srgb, var(--color-text, #E2E8F0) 5%, transparent);
}

.dgbay-mv-cart__name {
	font-weight: 600;
	color: var(--color-text, #E2E8F0);
}

.dgbay-mv-cart__meta {
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
	text-align: right;
}

.woocommerce-cart .variation-dgbay_ships_separately,
.woocommerce-checkout .variation-dgbay_ships_separately {
	font-size: 0.85rem;
}

/* W2-05 Legal pages + footer links */
.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}
.site-footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  opacity: 0.95;
}
.site-footer-links a:hover {
  opacity: 1;
  color: var(--color-primary, #0787ea);
}
.site-footer-copy {
  margin: 0;
}
.dgbay-legal-notice {
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 40%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent);
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
}
.dgbay-legal-notice strong {
  color: var(--color-primary, #0787ea);
}

/* Product image: drop sticker-picker grey metallic plate + 3D tilt.
   Parent aed-wp uses brushed-alum radial (#2a313d→#171b22) for sticker shop;
   DGBay product photos should sit on white/transparent. */
.product-image-main.has-3d-effect {
    background: #ffffff;
    background-blend-mode: normal;
    perspective: none;
}

.product-image-main.has-3d-effect .product-image-main-img {
    width: 100%;
    height: 100%;
    transform: none;
    filter: none;
}

.product-image-main.has-3d-effect:hover .product-image-main-img {
    transform: scale(1.03);
    filter: none;
}

.product-thumb[data-index="0"] {
    background: #ffffff;
    background-blend-mode: normal;
}

.pbl-lightbox-content.has-3d-effect {
    background: #ffffff;
    background-blend-mode: normal;
    perspective: none;
}

.pbl-lightbox-content.has-3d-effect .pbl-lightbox-img {
    transform: none;
    filter: none;
}

.pbl-lightbox-content.has-3d-effect:hover .pbl-lightbox-img {
    transform: scale(1.03);
    filter: none;
}


/* Fees document page polish (page ID 6414 /fees/) */
.fees-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fees-card {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}
.fees-card-title {
  display: block;
  margin-bottom: 0.35rem;
}
.fees-card-body {
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.fees-kv-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.fees-kv-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fees-kv-list li:last-child {
  border-bottom: 0;
}
.fees-kv-list li > span {
  text-align: right;
  max-width: 28rem;
  color: color-mix(in srgb, var(--color-text) 85%, transparent);
}
.fees-kv-highlight {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem !important;
  margin: 0.35rem 0;
}
.fees-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--color-primary);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0.75rem 0.75rem 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  font-size: 0.95rem;
}
.fees-formula {
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.7;
  overflow-x: auto;
}
.fees-formula-key {
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.fees-muted {
  margin: 1.15rem 0 0;
  color: color-mix(in srgb, var(--color-text) 72%, transparent);
  font-size: 0.95rem;
}
.fees-examples {
  overflow-x: auto;
  margin: 0.25rem 0 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}
.fees-examples table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.45;
}
.fees-examples th {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fees-examples th:nth-child(n+2),
.fees-examples td:nth-child(n+2) {
  text-align: right;
}
.fees-examples td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fees-examples tr:last-child td {
  border-bottom: 0;
}
.fees-examples tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
.fees-examples td:last-child {
  font-weight: 600;
}
.fees-cta {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}
.document-section-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
}


/* Register + FAQ document polish */
.seller-steps {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.seller-steps li {
  padding-left: 0.35rem;
  color: color-mix(in srgb, var(--color-text) 88%, transparent);
  line-height: 1.55;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--color-primary);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover {
  background: rgba(255, 255, 255, 0.03);
}
.faq-answer {
  padding: 0 1.15rem 1.1rem;
  color: color-mix(in srgb, var(--color-text) 80%, transparent);
  font-size: 0.98rem;
  line-height: 1.6;
}
.faq-answer p:first-child { margin-top: 0; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ol {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.dgbay-register-form-wrap {
  margin-top: 0.75rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}
.dgbay-register-form-wrap .dokan-vendor-register,
.dgbay-register-form-wrap form {
  max-width: 36rem;
}
.dgbay-register-form-wrap label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.dgbay-register-form-wrap input[type="text"],
.dgbay-register-form-wrap input[type="email"],
.dgbay-register-form-wrap input[type="password"],
.dgbay-register-form-wrap input[type="tel"],
.dgbay-register-form-wrap input[type="url"],
.dgbay-register-form-wrap select,
.dgbay-register-form-wrap textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-text);
  padding: 0.7rem 0.85rem;
}
.dgbay-register-form-wrap .dokan-btn,
.dgbay-register-form-wrap button[type="submit"],
.dgbay-register-form-wrap input[type="submit"] {
  margin-top: 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
  background: color-mix(in srgb, var(--color-primary) 16%, transparent);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
}
.dgbay-register-form-wrap .dokan-btn:hover,
.dgbay-register-form-wrap button[type="submit"]:hover,
.dgbay-register-form-wrap input[type="submit"]:hover {
  background: color-mix(in srgb, var(--color-primary) 28%, transparent);
}
.dgbay-register-form-wrap .help-block,
.dgbay-register-form-wrap .woocommerce-password-hint,
.dgbay-register-form-wrap small {
  color: color-mix(in srgb, var(--color-text) 62%, transparent);
  font-size: 0.85rem;
}


/* ==========================================================================
   DGBay Checkout UX redesign
   Two-column focused commerce layout; Fees/Register visual language.
   ========================================================================== */

.woocommerce-checkout .site-main {
  padding-block: 1.25rem 2.5rem;
}

.woocommerce-checkout .woocommerce-notices-wrapper .woocommerce-message {
  display: none; /* cart-add flash is noise on checkout */
}

.dgbay-checkout {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.dgbay-checkout__header {
  margin: 0 0 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dgbay-checkout__title {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text, #E2E8F0);
}

.dgbay-checkout__lede {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 62%, transparent);
}

.dgbay-checkout__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 960px) {
  .dgbay-checkout__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
    gap: 1.75rem 2rem;
  }

  .dgbay-checkout__aside {
    position: sticky;
    top: 1.25rem;
  }

  /* Desktop: always show full summary; hide mobile toggle chrome */
  .dgbay-checkout-summary {
    border: 0;
    background: transparent;
  }

  .dgbay-checkout-summary > summary {
    display: none;
  }

  .dgbay-checkout-summary__panel {
    display: block !important;
  }
}

/* Mobile: summary first, collapsible */
@media (max-width: 959px) {
  .dgbay-checkout__aside {
    order: -1;
  }

  .dgbay-checkout-summary__top {
    display: none;
  }
}

.dgbay-checkout-card {
  margin: 0 0 1rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.dgbay-checkout-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dgbay-checkout-card__step {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary, #0787ea);
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 45%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent);
}

.dgbay-checkout-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text, #E2E8F0);
}

/* Suppress duplicate Woo h3 inside our cards */
.dgbay-checkout-card .woocommerce-billing-fields > h3,
.dgbay-checkout-card .woocommerce-additional-fields > h3:first-child {
  display: none;
}

.dgbay-checkout-card #ship-to-different-address {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ---- Forms ---- */
.dgbay-checkout .form-row {
  margin: 0 0 0.9rem;
  padding: 0;
}

.dgbay-checkout .form-row label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 88%, transparent);
}

.dgbay-checkout .form-row label .required,
.dgbay-checkout .required {
  color: color-mix(in srgb, var(--color-primary, #0787ea) 85%, #fff);
  text-decoration: none;
  font-weight: 700;
}

.dgbay-checkout .form-row label .optional {
  font-weight: 500;
  opacity: 0.55;
  font-size: 0.8rem;
}

.dgbay-checkout .form-row input.input-text,
.dgbay-checkout .form-row textarea,
.dgbay-checkout .form-row select,
.dgbay-checkout .select2-container .select2-selection--single {
  width: 100%;
  min-height: 2.85rem;
  box-sizing: border-box;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--color-text, #E2E8F0) !important;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  line-height: 1.35;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dgbay-checkout .form-row textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.dgbay-checkout .form-row input.input-text:focus,
.dgbay-checkout .form-row textarea:focus,
.dgbay-checkout .form-row select:focus,
.dgbay-checkout .select2-container--open .select2-selection--single,
.dgbay-checkout .select2-container--focus .select2-selection--single {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 65%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
}

.dgbay-checkout .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
}

.dgbay-checkout .select2-container .select2-selection__rendered {
  color: var(--color-text, #E2E8F0) !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

.dgbay-checkout .select2-container .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 0.5rem;
}

.select2-dropdown {
  background: #12121c !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: var(--color-text, #E2E8F0);
}

.select2-results__option {
  padding: 0.55rem 0.75rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent) !important;
  color: #fff !important;
}

.dgbay-checkout .form-row-first,
.dgbay-checkout .form-row-last {
  width: 100%;
}

@media (min-width: 600px) {
  .dgbay-checkout .form-row-first,
  .dgbay-checkout .form-row-last {
    width: 48.5%;
  }
}

/* Checkboxes */
.dgbay-checkout .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
}

.dgbay-checkout .woocommerce-form__input-checkbox,
.dgbay-checkout input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--color-primary, #0787ea);
  flex-shrink: 0;
}

.dgbay-checkout-account {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dgbay-checkout-account__label span {
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 88%, transparent);
}

/* Login toggle */
.dgbay-checkout-login-toggle {
  margin: 0 0 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 8%, transparent);
}

.dgbay-checkout-login-toggle__text {
  margin: 0;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 85%, transparent);
}

.dgbay-checkout-login-toggle__text a {
  color: var(--color-primary, #0787ea);
  font-weight: 700;
  text-decoration: none;
}

.dgbay-checkout-login-toggle__text a:hover {
  text-decoration: underline;
}

/* Soften default Woo notice chrome used by login form */
.woocommerce-checkout .woocommerce-info {
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 8%, transparent);
  color: var(--color-text, #E2E8F0);
}

.woocommerce-checkout form.woocommerce-form-login {
  margin: 0 0 1.15rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce-checkout form.woocommerce-form-login .form-row input.input-text {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--color-text, #E2E8F0);
  border-radius: 0.65rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
}

.woocommerce-checkout form.woocommerce-form-login .button {
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 55%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 16%, transparent);
  color: var(--color-primary, #0787ea);
  font-weight: 700;
  padding: 0.65rem 1.15rem;
}

/* ---- Order summary ---- */
.dgbay-checkout-summary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.dgbay-checkout-summary__toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: var(--color-text, #E2E8F0);
}

.dgbay-checkout-summary__toggle::-webkit-details-marker { display: none; }

.dgbay-checkout-summary__toggle-total {
  color: var(--color-primary, #0787ea);
  font-size: 1.05rem;
}

.dgbay-checkout-summary__toggle-total .woocommerce-Price-amount {
  color: inherit;
}

.dgbay-checkout-summary__panel {
  padding: 1.15rem 1.2rem 1.25rem;
}

.dgbay-checkout-summary__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dgbay-checkout-summary__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.dgbay-checkout-summary__edit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary, #0787ea);
  text-decoration: none;
}

.dgbay-checkout-summary__edit:hover {
  text-decoration: underline;
}

.dgbay-order-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.dgbay-order-table thead { display: none; }

.dgbay-order-table td,
.dgbay-order-table th {
  border: 0;
  padding: 0.65rem 0;
  background: transparent;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 88%, transparent);
  font-weight: 500;
  vertical-align: top;
}

.dgbay-order-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dgbay-order-table__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.35rem 0 0.85rem;
}

.dgbay-order-table__thumb {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.65rem;
  overflow: visible;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.dgbay-order-table__thumb img,
.dgbay-order-table__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0.55rem;
}

.dgbay-order-table__qty {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--color-primary, #0787ea);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #0A0A12;
}

.dgbay-order-table__name {
  display: block;
  font-weight: 600;
  color: var(--color-text, #E2E8F0);
  font-size: 0.92rem;
  line-height: 1.35;
}

.dgbay-order-table__meta .variation,
.dgbay-order-table__meta dl {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
}

.dgbay-order-table__price {
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.95rem;
}

.dgbay-order-table tfoot th {
  text-align: left;
  font-weight: 500;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 70%, transparent);
  padding-right: 1rem;
}

.dgbay-order-table tfoot td {
  text-align: right;
  font-weight: 600;
}

.dgbay-order-table tfoot tr.shipping th,
.dgbay-order-table tfoot tr.shipping td {
  padding-top: 0.85rem;
}

.dgbay-order-table .woocommerce-shipping-methods {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dgbay-order-table .woocommerce-shipping-methods li {
  margin: 0;
}

.dgbay-order-table .woocommerce-shipping-methods label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: flex-end;
  font-size: 0.9rem;
  cursor: pointer;
}

.dgbay-order-table tr.order-total th,
.dgbay-order-table tr.order-total td {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text, #E2E8F0);
}

.dgbay-order-table tr.order-total td .woocommerce-Price-amount {
  color: var(--color-primary, #0787ea);
  font-size: 1.35rem;
}

/* Hide strong product-quantity leftover if any */
.dgbay-order-table .product-quantity { display: none; }

/* ---- Payment ---- */
.dgbay-payment .wc_payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.dgbay-payment .wc_payment_method {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.dgbay-payment .wc_payment_method > label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--color-text, #E2E8F0);
}

.dgbay-payment .payment_box {
  margin: 0;
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 6%, rgba(0,0,0,0.25));
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 82%, transparent);
}

.dgbay-payment .payment_box::before { display: none; }

.dgbay-payment .payment_box p {
  margin-top: 0;
}

/* Stripe Payment Element host — style the shell only */
.dgbay-payment .wc-stripe-elements-field,
.dgbay-payment .wc-stripe-upe-element,
.dgbay-payment #wc-stripe-upe-form,
.dgbay-payment .StripeElement,
.dgbay-payment iframe {
  min-height: 0;
}

.dgbay-payment__place {
  margin: 0;
  padding: 0;
  float: none !important;
  width: 100% !important;
}

.dgbay-payment__reassure {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 62%, transparent);
}

.dgbay-payment__submit,
.dgbay-payment #place_order {
  width: 100%;
  margin: 0.35rem 0 0;
  min-height: 3.1rem;
  border-radius: 0.85rem !important;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 60%, transparent) !important;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent) !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  text-transform: none !important;
  font-size: 1.05rem !important;
  cursor: pointer;
  box-shadow: 0 0 24px color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
  transition: background 0.15s ease, transform 0.1s ease;
}

.dgbay-payment__submit:hover,
.dgbay-payment #place_order:hover {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 36%, transparent) !important;
}

.dgbay-payment__trust {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  align-items: center;
}

.dgbay-payment__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 58%, transparent);
}

.dgbay-payment__trust-item svg {
  color: var(--color-primary, #0787ea);
  flex-shrink: 0;
}

.dgbay-payment__trust-item a {
  color: var(--color-primary, #0787ea);
  text-decoration: none;
  font-weight: 600;
}

.dgbay-payment__trust-item a:hover {
  text-decoration: underline;
}

.dgbay-payment .woocommerce-terms-and-conditions-wrapper {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 72%, transparent);
}

/* Empty cart on checkout */
.woocommerce-checkout .cart-empty.woocommerce-info,
.woocommerce-checkout .woocommerce-info.cart-empty {
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
}

/* Kill leftover Woo chrome / double columns inside our layout */
.dgbay-checkout .col2-set::after,
.dgbay-checkout .col2-set::before {
  display: none;
}

.dgbay-checkout #customer_details.col2-set,
.dgbay-checkout #customer_details {
  width: 100%;
}

.dgbay-checkout #customer_details .col-1,
.dgbay-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
  max-width: none;
}

/* Validation */
.dgbay-checkout .woocommerce-invalid input.input-text,
.dgbay-checkout .woocommerce-invalid select,
.dgbay-checkout .woocommerce-invalid .select2-selection {
  border-color: #f87171 !important;
}

.woocommerce-checkout .woocommerce-error {
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, #f87171 45%, transparent);
  background: color-mix(in srgb, #f87171 12%, transparent);
  color: var(--color-text, #E2E8F0);
}


/* ---- Checkout UX iteration pass ---- */
@media (max-width: 959px) {
  .dgbay-checkout-summary__top {
    display: none !important;
  }
  .dgbay-checkout-summary[open] > summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

.dgbay-checkout .woocommerce-billing-fields__field-wrapper,
.dgbay-checkout .woocommerce-shipping-fields__field-wrapper,
.dgbay-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0.85rem;
}

@media (min-width: 600px) {
  .dgbay-checkout .woocommerce-billing-fields__field-wrapper,
  .dgbay-checkout .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .dgbay-checkout .form-row-wide,
  .dgbay-checkout .form-row-wide.address-field,
  .dgbay-checkout #billing_company_field,
  .dgbay-checkout #shipping_company_field,
  .dgbay-checkout #billing_country_field,
  .dgbay-checkout #shipping_country_field,
  .dgbay-checkout #billing_address_1_field,
  .dgbay-checkout #billing_address_2_field,
  .dgbay-checkout #shipping_address_1_field,
  .dgbay-checkout #shipping_address_2_field,
  .dgbay-checkout #billing_email_field,
  .dgbay-checkout #billing_phone_field,
  .dgbay-checkout #order_comments_field {
    grid-column: 1 / -1;
  }
  .dgbay-checkout .form-row-first,
  .dgbay-checkout .form-row-last {
    width: auto;
    float: none;
  }
}

/* Hide empty cart-item meta (e.g. blank Vendor) */
.dgbay-order-table__meta .variation:has(dd:empty),
.dgbay-order-table__meta .wc-item-meta:has(p:empty),
.dgbay-order-table__meta dl.variation dd:empty {
  display: none;
}
.dgbay-order-table__meta dl.variation:has(dd:empty) dt {
  display: none;
}
.dgbay-order-table__meta dl.variation:not(:has(dd:not(:empty))) {
  display: none;
}

/* ==========================================================================
   DGBay Order Received / Thank you UX
   Match checkout dark polish (#0787ea, cards, Fees/Register quality).
   ========================================================================== */

.woocommerce-order-received .site-main,
.woocommerce-checkout.woocommerce-order-received .site-main {
  padding-block: 1.25rem 2.75rem;
}

/* Hide leftover page title "Checkout" when thank-you is showing */
.woocommerce-order-received .entry-title,
.woocommerce-order-received h1.page-title,
.woocommerce-order-received .woocommerce-products-header__title {
  /* Keep for a11y if it's the only h1; our thankyou provides its own */
}

body.woocommerce-order-received .entry-header .entry-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dgbay-thankyou {
  max-width: 760px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.dgbay-thankyou__hero {
  text-align: center;
  margin: 0 0 1.35rem;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 32%, transparent);
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.dgbay-thankyou__hero--failed {
  border-color: color-mix(in srgb, #f87171 45%, transparent);
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, #f87171 16%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.dgbay-thankyou__hero--failed .dgbay-thankyou__icon {
  color: #f87171;
  border-color: color-mix(in srgb, #f87171 45%, transparent);
  background: color-mix(in srgb, #f87171 12%, transparent);
}

.dgbay-thankyou__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #0787ea);
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 45%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 14%, transparent);
  box-shadow: 0 0 28px color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
}

.dgbay-thankyou__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #0787ea);
}

.dgbay-thankyou__title {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text, #E2E8F0);
  line-height: 1.15;
}

.dgbay-thankyou__lede {
  margin: 0.55rem auto 0;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 68%, transparent);
}

.dgbay-thankyou__order-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.92rem;
}

.dgbay-thankyou__order-label {
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 58%, transparent);
  font-weight: 600;
}

.dgbay-thankyou__order-number {
  color: var(--color-text, #E2E8F0);
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Overview stats */
.dgbay-thankyou__overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
  .dgbay-thankyou__overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dgbay-thankyou-stat {
  margin: 0;
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

.dgbay-thankyou-stat__label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 52%, transparent);
}

.dgbay-thankyou-stat__value {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text, #E2E8F0);
  word-break: break-word;
  line-height: 1.3;
}

.dgbay-thankyou-stat__value--email {
  font-size: 0.82rem;
  font-weight: 600;
}

.dgbay-thankyou-stat__value--total,
.dgbay-thankyou-stat__value--total .woocommerce-Price-amount {
  color: var(--color-primary, #0787ea);
  font-size: 1.12rem;
  font-weight: 800;
}

/* Cards */
.dgbay-thankyou-card {
  margin: 0 0 1rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.dgbay-thankyou-card__head {
  margin: 0 0 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dgbay-thankyou-card__title,
.dgbay-thankyou-card .woocommerce-order-details__title,
.dgbay-thankyou-card .woocommerce-column__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text, #E2E8F0);
}

.dgbay-thankyou-addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0 0 0.25rem;
}

@media (min-width: 640px) {
  .dgbay-thankyou-addresses {
    grid-template-columns: 1fr 1fr;
  }
}

.dgbay-thankyou-card--address address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 82%, transparent);
}

.dgbay-thankyou-card--address .woocommerce-customer-details--phone,
.dgbay-thankyou-card--address .woocommerce-customer-details--email {
  margin: 0.55rem 0 0;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 68%, transparent);
  font-size: 0.88rem;
}

/* Items table on thank-you inherits .dgbay-order-table */
.dgbay-thankyou-items thead { display: none; }

.dgbay-thankyou-items tfoot tr.order_total th,
.dgbay-thankyou-items tfoot tr.order-total th,
.dgbay-thankyou-items tfoot tr.order_total td,
.dgbay-thankyou-items tfoot tr.order-total td {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  font-weight: 800;
}

.dgbay-thankyou-items tfoot tr.order_total td .woocommerce-Price-amount,
.dgbay-thankyou-items tfoot tr.order-total td .woocommerce-Price-amount {
  color: var(--color-primary, #0787ea);
  font-size: 1.3rem;
}

.dgbay-order-table__thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
}

.dgbay-thankyou-items .dgbay-order-table__name a {
  color: inherit;
  text-decoration: none;
}

.dgbay-thankyou-items .dgbay-order-table__name a:hover {
  color: var(--color-primary, #0787ea);
  text-decoration: underline;
}

/* Hide Dokan/commission meta noise if any leaks into display */
.dgbay-thankyou .wc-item-meta li:has([class*="dokan"]),
.dgbay-thankyou .wc-item-meta .wc-item-meta-label:is([data-key*="dokan"], [data-key*="_dokan"]) {
  display: none;
}

/* CTAs */
.dgbay-thankyou__cta,
.dgbay-thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.35rem 0 0.25rem;
}

.dgbay-thankyou__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.dgbay-thankyou__btn--primary {
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 60%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
  color: #fff !important;
  box-shadow: 0 0 20px color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent);
}

.dgbay-thankyou__btn--primary:hover {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 36%, transparent);
}

.dgbay-thankyou__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text, #E2E8F0) !important;
}

.dgbay-thankyou__btn--ghost:hover {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 45%, transparent);
  color: #fff !important;
}

/* Gated login state (known shopper must sign in) */
.woocommerce-order-received .woocommerce-info,
.woocommerce-order-received .woocommerce-notice--info {
  max-width: 760px;
  margin: 0 auto 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 35%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 10%, transparent);
  color: var(--color-text, #E2E8F0);
}

.woocommerce-order-received form.woocommerce-form-login,
.woocommerce-order-received .woocommerce-form.woocommerce-form-login {
  max-width: 420px;
  margin: 0 auto 1.5rem;
  padding: 1.25rem 1.3rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce-order-received form.woocommerce-form-login .form-row {
  margin: 0 0 0.9rem;
}

.woocommerce-order-received form.woocommerce-form-login label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 88%, transparent);
}

.woocommerce-order-received form.woocommerce-form-login input.input-text {
  width: 100%;
  min-height: 2.85rem;
  box-sizing: border-box;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--color-text, #E2E8F0) !important;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
}

.woocommerce-order-received form.woocommerce-form-login input.input-text:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 65%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
}

.woocommerce-order-received form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-order-received form.woocommerce-form-login button.button {
  width: 100%;
  min-height: 2.95rem;
  margin-top: 0.35rem;
  border-radius: 0.85rem !important;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 60%, transparent) !important;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent) !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-transform: none !important;
}

/* Stripe / payment gateway extras on thank-you */
.dgbay-thankyou__body .woocommerce-info,
.dgbay-thankyou__body .woocommerce-message {
  border-radius: 0.85rem;
  margin-bottom: 1rem;
}

/* Kill parent StickerPicker leftovers if any CSS leaks onto checkout endpoints */
.woocommerce-order-received .sticker-picker,
.woocommerce-order-received .StickerPicker,
.woocommerce-order-received [class*="sticker-picker"],
.woocommerce-order-received .metallic-plate,
.woocommerce-order-received .brushed-alum {
  display: none !important;
}

/* Hide legacy Woo overview list when our cards are present */
.dgbay-thankyou .woocommerce-order-overview.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile polish */
@media (max-width: 479px) {
  .dgbay-thankyou__hero {
    padding: 1.25rem 1rem 1.15rem;
  }
  .dgbay-thankyou-stat {
    padding: 0.8rem 0.85rem;
  }
  .dgbay-thankyou__cta {
    flex-direction: column;
  }
  .dgbay-thankyou__btn {
    width: 100%;
  }
}

/* ---- Order Received UX iteration ---- */
.dgbay-thankyou-stat__value--email {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dgbay-thankyou__body .woocommerce-order-details + .woocommerce-customer-details,
.dgbay-thankyou__body .dgbay-thankyou-addresses {
  margin-top: 0.15rem;
}

/* Hide empty Dokan vendor leftover if any plugin re-adds it */
.dgbay-thankyou .dgbay-order-table__meta > br + a[href*="/store/"]:empty,
.dgbay-thankyou .dgbay-order-table__meta a[href*="/store/"]:empty {
  display: none;
}
/* ---- Cart UX (match checkout quality) ---- */
.woocommerce-cart .site-main {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message {
  max-width: 1120px;
  margin: 0 auto 1rem;
  border-radius: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 35%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 10%, transparent);
  color: var(--color-text, #E2E8F0);
}

.dgbay-cart {
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem 1.5rem;
  color: var(--color-text, #E2E8F0);
}

.dgbay-cart__header {
  margin: 0 0 1.35rem;
}

.dgbay-cart__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.dgbay-cart__lede {
  margin: 0;
  max-width: 36rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 68%, transparent);
}

.dgbay-cart__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1.35rem;
  align-items: start;
}

@media (max-width: 900px) {
  .dgbay-cart__grid {
    grid-template-columns: 1fr;
  }
  .dgbay-cart__aside {
    order: -1;
  }
  .dgbay-cart-summary {
    position: static;
  }
}

.dgbay-cart-form,
.dgbay-cart-table {
  width: 100%;
}

.dgbay-cart-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.dgbay-cart-table thead th {
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  text-align: left;
}

.dgbay-cart-table td {
  padding: 1rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  vertical-align: middle;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 90%, transparent);
}

.dgbay-cart-table tr:last-child td {
  border-bottom: 0;
}

.dgbay-cart-table__item td.product-name {
  font-weight: 600;
}

.dgbay-cart-table__name a {
  color: inherit;
  text-decoration: none;
}

.dgbay-cart-table__name a:hover {
  color: var(--color-primary, #0787ea);
  text-decoration: underline;
}

.dgbay-cart-table__thumb {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dgbay-cart-table__thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.dgbay-cart-table__thumb img,
.dgbay-cart-table__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dgbay-cart-table__remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 75%, transparent) !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.dgbay-cart-table__remove:hover {
  border-color: color-mix(in srgb, #ef4444 55%, transparent) !important;
  color: #fecaca !important;
  background: color-mix(in srgb, #ef4444 14%, transparent) !important;
}

.dgbay-cart-table .product-price,
.dgbay-cart-table .product-subtotal {
  white-space: nowrap;
  font-weight: 600;
}

.dgbay-cart-table .product-subtotal .woocommerce-Price-amount {
  color: var(--color-primary, #0787ea);
}

.dgbay-cart-table .quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.28);
  padding: 0.15rem;
}

.dgbay-cart-table .quantity .qty,
.dgbay-cart-table .quantity input.qty {
  width: 2.6rem !important;
  min-height: 2.2rem;
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  text-align: center;
  box-shadow: none !important;
}

.dgbay-cart-table .quantity .minus,
.dgbay-cart-table .quantity .plus,
.dgbay-cart-table .quantity button {
  min-width: 2rem;
  min-height: 2rem;
  border: 0;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text, #E2E8F0);
  cursor: pointer;
}

.dgbay-cart-table .quantity .minus:hover,
.dgbay-cart-table .quantity .plus:hover,
.dgbay-cart-table .quantity button:hover {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
  color: #fff;
}

.dgbay-cart-table__actions td.actions {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.18);
}

.dgbay-cart-coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.dgbay-cart-coupon .input-text {
  min-height: 2.7rem;
  min-width: 10rem;
  flex: 1 1 10rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--color-text, #E2E8F0) !important;
  padding: 0.55rem 0.85rem;
}

.dgbay-cart-coupon .input-text:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 65%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
}

.dgbay-cart__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem !important;
  border-radius: 0.85rem !important;
  font-weight: 750 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.dgbay-cart__btn--primary {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 60%, transparent) !important;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent) !important;
  color: #fff !important;
  box-shadow: 0 0 22px color-mix(in srgb, var(--color-primary, #0787ea) 20%, transparent);
}

.dgbay-cart__btn--primary:hover {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 42%, transparent) !important;
  color: #fff !important;
}

.dgbay-cart__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--color-text, #E2E8F0) !important;
}

.dgbay-cart__btn--ghost:hover {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 45%, transparent) !important;
  color: #fff !important;
}

.dgbay-cart-summary {
  position: sticky;
  top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.15rem 1.2rem 1.25rem;
  overflow: hidden;
}

.dgbay-cart-summary__head {
  margin: 0 0 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dgbay-cart-summary__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: #fff;
}

.dgbay-cart-summary__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}

.dgbay-cart-summary__table th,
.dgbay-cart-summary__table td {
  border: 0;
  padding: 0.55rem 0;
  background: transparent;
  vertical-align: top;
}

.dgbay-cart-summary__table th {
  text-align: left;
  font-weight: 500;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 70%, transparent);
  padding-right: 1rem;
}

.dgbay-cart-summary__table td {
  text-align: right;
  font-weight: 600;
  color: var(--color-text, #E2E8F0);
}

.dgbay-cart-summary__table tr.order-total th,
.dgbay-cart-summary__table tr.order-total td {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
}

.dgbay-cart-summary__table tr.order-total .woocommerce-Price-amount {
  color: var(--color-primary, #0787ea);
  font-size: 1.25rem;
}

.dgbay-cart-summary__cta {
  margin: 0.35rem 0 0.65rem;
}

.dgbay-cart-summary__reassure {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 52%, transparent);
}

.dgbay-cart-collaterals .cross-sells {
  margin-top: 1.25rem;
}

.dgbay-cart--empty {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.dgbay-cart-empty__cta {
  margin-top: 1.25rem;
}

.dgbay-cart-empty__cta .dgbay-cart__btn {
  width: auto;
  min-width: 12rem;
}

/* Hide stock page title when our cart header is present */
.woocommerce-cart .entry-header,
.woocommerce-cart .page .entry-title,
.woocommerce-cart h1.entry-title {
  display: none;
}

/* Mobile stacked line items */
@media (max-width: 767px) {
  .dgbay-cart-table thead {
    display: none;
  }

  .dgbay-cart-table,
  .dgbay-cart-table tbody,
  .dgbay-cart-table tr,
  .dgbay-cart-table td {
    display: block;
    width: 100%;
  }

  .dgbay-cart-table__item {
    position: relative;
    padding: 0.35rem 0 0.15rem;
  }

  .dgbay-cart-table__item td {
    border-bottom: 0 !important;
    padding: 0.35rem 1rem;
  }

  .dgbay-cart-table__item td.product-remove {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: auto;
    padding: 0;
    z-index: 2;
  }

  .dgbay-cart-table__item td.product-thumbnail {
    padding-top: 1rem;
  }

  .dgbay-cart-table__thumb {
    width: 5rem;
    height: 5rem;
  }

  .dgbay-cart-table__item td.product-name,
  .dgbay-cart-table__item td.product-price,
  .dgbay-cart-table__item td.product-quantity,
  .dgbay-cart-table__item td.product-subtotal {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
  }

  .dgbay-cart-table__item td.product-name::before,
  .dgbay-cart-table__item td.product-price::before,
  .dgbay-cart-table__item td.product-quantity::before,
  .dgbay-cart-table__item td.product-subtotal::before {
    content: attr(data-title);
    font-size: 0.78rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .dgbay-cart-table__item td.product-name {
    display: block;
  }

  .dgbay-cart-table__item td.product-name::before {
    display: none;
  }

  .dgbay-cart-table__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dgbay-cart-table__actions td.actions {
    display: block;
  }
}

/* Kill parent StickerPicker leftovers on cart */
.woocommerce-cart .sticker-picker,
.woocommerce-cart .StickerPicker,
.woocommerce-cart [class*="sticker-picker"],
.woocommerce-cart .metallic-plate,
.woocommerce-cart .brushed-alum {
  display: none !important;
}

/* Empty Vendor / store meta leftovers on cart line items */
.woocommerce-cart .variation-Vendor:has(a[href*="/store/"]:empty),
.woocommerce-cart a[href*="/store/"]:empty {
  display: none;
}

/* ==========================================================================
   DGBay My Account + Login / Register / Lost password UX
   Match cart/checkout dark polish. Scoped to .woocommerce-account.
   ========================================================================== */

.woocommerce-account .site-main {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-block: 1.25rem 2.75rem;
}

.woocommerce-account .entry-header,
.woocommerce-account .page .entry-title:not(.sr-only),
.woocommerce-account h1.entry-title:not(.sr-only) {
  display: none;
}

.woocommerce-account .woocommerce-notices-wrapper {
  max-width: 1120px;
  margin: 0 auto 1rem;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
  border-radius: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 35%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 10%, transparent);
  color: var(--color-text, #E2E8F0);
}

.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
  border-color: color-mix(in srgb, #f87171 45%, transparent);
  background: color-mix(in srgb, #f87171 12%, transparent);
}

/* ---- Logged-out: page shell ---- */
.dgbay-account {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  color: var(--color-text, #E2E8F0);
}

.dgbay-account__header {
  margin: 0 0 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dgbay-account__title {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.dgbay-account__lede {
  margin: 0.4rem 0 0;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 62%, transparent);
}

.dgbay-account__lede a {
  color: var(--color-primary, #0787ea);
  font-weight: 600;
  text-decoration: none;
}

.dgbay-account__lede a:hover {
  text-decoration: underline;
}

/* Two-column login + register */
.woocommerce-account #customer_login.dgbay-account-auth,
.woocommerce-account #customer_login.u-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  float: none;
  width: 100%;
  margin: 0;
}

@media (min-width: 900px) {
  .woocommerce-account #customer_login.dgbay-account-auth,
  .woocommerce-account #customer_login.u-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2,
.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none;
  margin: 0;
  padding: 0;
}

.dgbay-account-card {
  margin: 0;
  padding: 1.2rem 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  box-sizing: border-box;
}

.woocommerce-account #customer_login h2,
.dgbay-account-card__title {
  margin: 0 0 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

/* ---- Forms (login / register / lost password) ---- */
.woocommerce-account .woocommerce-form .form-row,
.woocommerce-account form.woocommerce-ResetPassword .form-row,
.woocommerce-account form.lost_reset_password .form-row {
  margin: 0 0 0.9rem;
  padding: 0;
  width: 100%;
  float: none;
}

.woocommerce-account .woocommerce-form .form-row label,
.woocommerce-account form.woocommerce-ResetPassword .form-row label,
.woocommerce-account form.lost_reset_password .form-row label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 88%, transparent);
}

.woocommerce-account .woocommerce-form .form-row label .required,
.woocommerce-account form.woocommerce-ResetPassword .required,
.woocommerce-account .required {
  color: color-mix(in srgb, var(--color-primary, #0787ea) 85%, #fff);
  text-decoration: none;
  border: 0;
  font-weight: 700;
}

.woocommerce-account .woocommerce-form input.input-text,
.woocommerce-account .woocommerce-form input[type="text"],
.woocommerce-account .woocommerce-form input[type="email"],
.woocommerce-account .woocommerce-form input[type="password"],
.woocommerce-account .woocommerce-form input[type="tel"],
.woocommerce-account .woocommerce-form textarea,
.woocommerce-account .woocommerce-form select,
.woocommerce-account form.woocommerce-ResetPassword input.input-text,
.woocommerce-account form.lost_reset_password input.input-text,
.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content textarea,
.woocommerce-account .woocommerce-MyAccount-content select {
  width: 100%;
  max-width: 100%;
  min-height: 2.85rem;
  box-sizing: border-box;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--color-text, #E2E8F0) !important;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  line-height: 1.35;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce-account .woocommerce-form select,
.woocommerce-account .woocommerce-MyAccount-content select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #0787ea 50%),
    linear-gradient(135deg, #0787ea 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) calc(50% + 0.15rem), calc(100% - 0.85rem) calc(50% + 0.15rem);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.woocommerce-account .woocommerce-form input.input-text:focus,
.woocommerce-account .woocommerce-form input[type="text"]:focus,
.woocommerce-account .woocommerce-form input[type="email"]:focus,
.woocommerce-account .woocommerce-form input[type="password"]:focus,
.woocommerce-account .woocommerce-form select:focus,
.woocommerce-account form.woocommerce-ResetPassword input.input-text:focus,
.woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 65%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
}

.woocommerce-account .password-input {
  display: block;
  position: relative;
  width: 100%;
}

.woocommerce-account .password-input .show-password-input {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
  cursor: pointer;
}

.woocommerce-account .password-input .show-password-input:hover {
  color: var(--color-primary, #0787ea);
}

/* Checkbox / radio */
.woocommerce-account .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 88%, transparent);
}

.woocommerce-account .woocommerce-form__input-checkbox,
.woocommerce-account input[type="checkbox"],
.woocommerce-account input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--color-primary, #0787ea);
  flex-shrink: 0;
}

/* Dokan role radios — keep functional; polish only */
.woocommerce-account .user-role,
.woocommerce-account .dokan-role,
.woocommerce-account .dokan-vendor-customer-registration,
.woocommerce-account .dokan-seller-registration-fields {
  margin: 0.35rem 0 0.85rem;
}

.woocommerce-account .user-role label,
.woocommerce-account .dokan-role label,
.woocommerce-account .dokan-vendor-customer-registration label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
  font-weight: 500;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 90%, transparent);
}

/* Buttons */
.woocommerce-account .woocommerce-button.button,
.woocommerce-account button.button,
.woocommerce-account .woocommerce-Button.button,
.woocommerce-account a.button,
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register__submit,
.woocommerce-account form.woocommerce-ResetPassword .button,
.woocommerce-account form.lost_reset_password .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.85rem;
  margin: 0.35rem 0 0;
  padding: 0.7rem 1.2rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 55%, transparent) !important;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.woocommerce-account .woocommerce-button.button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account .woocommerce-Button.button:hover,
.woocommerce-account a.button:hover,
.woocommerce-account form.woocommerce-ResetPassword .button:hover {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 32%, transparent) !important;
  border-color: var(--color-primary, #0787ea) !important;
  color: #fff !important;
}

.woocommerce-account .woocommerce-button.button:focus-visible,
.woocommerce-account button.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent) !important;
}

/* Login row: remember + submit stacked cleanly */
.woocommerce-account form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.woocommerce-account .woocommerce-LostPassword,
.woocommerce-account .lost_password {
  margin: 0.85rem 0 0;
  text-align: center;
}

.woocommerce-account .woocommerce-LostPassword a,
.woocommerce-account .lost_password a,
.woocommerce-account .woocommerce-MyAccount-content a {
  color: var(--color-primary, #0787ea);
  font-weight: 600;
  text-decoration: none;
}

.woocommerce-account .woocommerce-LostPassword a:hover,
.woocommerce-account .lost_password a:hover,
.woocommerce-account .woocommerce-MyAccount-content a:hover {
  text-decoration: underline;
}

.woocommerce-account .woocommerce-privacy-policy-text,
.woocommerce-account .woocommerce-privacy-policy-text p {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 58%, transparent);
}

/* Hide empty social share leftovers */
.woocommerce-account .jssocials-shares:empty {
  display: none !important;
}

/* Seller nudge under register (customer form stays; /register/ for sellers) */
.dgbay-account-seller-nudge {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 8%, transparent);
  font-size: 0.9rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 85%, transparent);
}

.dgbay-account-seller-nudge a {
  color: var(--color-primary, #0787ea);
  font-weight: 700;
  text-decoration: none;
}

.dgbay-account-seller-nudge a:hover {
  text-decoration: underline;
}

/* ---- Lost password: centered card ---- */
.woocommerce-lost-password .dgbay-account,
.woocommerce-account.woocommerce-lost-password .woocommerce > form.woocommerce-ResetPassword,
.woocommerce-account form.woocommerce-ResetPassword.lost_reset_password,
.woocommerce-account form.lost_reset_password {
  max-width: 28rem;
  margin: 0 auto;
}

.woocommerce-account form.woocommerce-ResetPassword,
.woocommerce-account form.lost_reset_password {
  padding: 1.25rem 1.35rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce-account form.woocommerce-ResetPassword > p:first-child,
.woocommerce-account form.lost_reset_password > p:first-child {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 72%, transparent);
}

.woocommerce-account form.woocommerce-ResetPassword .form-row-first,
.woocommerce-account form.lost_reset_password .form-row-first {
  float: none;
  width: 100%;
}

.woocommerce-account .woocommerce-ResetPassword .clear {
  display: none;
}

.dgbay-account-back {
  margin: 1rem auto 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.9rem;
}

.dgbay-account-back a {
  color: var(--color-primary, #0787ea);
  font-weight: 600;
  text-decoration: none;
}

.dgbay-account-back a:hover {
  text-decoration: underline;
}

/* ---- Logged-in dashboard layout ---- */
.woocommerce-account .woocommerce {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
}

.dgbay-account-dash {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 900px) {
  .dgbay-account-dash {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 1.5rem 1.75rem;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  margin: 0;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  border: 0 !important;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 88%, transparent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.12s ease, color 0.12s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent);
  color: #fff;
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a[aria-current="page"] {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent);
  color: #fff;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary, #0787ea) 40%, transparent);
}

.woocommerce-account .woocommerce-MyAccount-content {
  margin: 0;
  padding: 1.2rem 1.25rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 92%, transparent);
  line-height: 1.55;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
  margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* Orders table polish */
.woocommerce-account table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.85rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.woocommerce-account table.shop_table th {
  padding: 0.75rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  text-align: left;
}

.woocommerce-account table.shop_table td {
  padding: 0.85rem 0.9rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 90%, transparent);
  vertical-align: middle;
}

.woocommerce-account table.shop_table tr:last-child td {
  border-bottom: 0;
}

.woocommerce-account table.shop_table a.button,
.woocommerce-account table.shop_table .button {
  width: auto;
  min-height: 2.15rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

@media (max-width: 767px) {
  .woocommerce-account table.shop_table thead {
    display: none;
  }

  .woocommerce-account table.shop_table,
  .woocommerce-account table.shop_table tbody,
  .woocommerce-account table.shop_table tr,
  .woocommerce-account table.shop_table td {
    display: block;
    width: 100%;
  }

  .woocommerce-account table.shop_table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.9rem;
  }

  .woocommerce-account table.shop_table td::before {
    content: attr(data-title);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
  }

  .woocommerce-account table.shop_table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0;
  }
}

/* Addresses */
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .u-columns.woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  float: none;
  width: 100%;
}

@media (min-width: 700px) {
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce-account .u-columns.woocommerce-Addresses {
    grid-template-columns: 1fr 1fr;
  }
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-column {
  float: none !important;
  width: 100% !important;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.18);
}

/* Kill parent StickerPicker leftovers on account */
.woocommerce-account .sticker-picker,
.woocommerce-account .StickerPicker,
.woocommerce-account [class*="sticker-picker"],
.woocommerce-account .metallic-plate,
.woocommerce-account .brushed-alum {
  display: none !important;
}

/* Mobile nav: horizontal scroll chips optional */
@media (max-width: 899px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* Reset password: stack confirm fields */
.woocommerce-account form.woocommerce-ResetPassword .form-row-first,
.woocommerce-account form.woocommerce-ResetPassword .form-row-last {
  float: none;
  width: 100%;
}

/* Legal document pages polish (Terms / Privacy / Seller / Refund) */
.dgbay-legal-notice {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--color-primary);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0.75rem 0.75rem 0;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
  font-size: 0.95rem;
}
.dgbay-legal-notice strong {
  color: var(--color-text);
}
.legal-lead {
  margin: 0 0 0.25rem;
  color: color-mix(in srgb, var(--color-text) 88%, transparent);
  font-size: 1.05rem;
  line-height: 1.65;
}
.document-section-text .wp-block-list,
.document-section-text ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.document-section-text p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--color-text) 88%, transparent);
}
.document-section-text p:last-child {
  margin-bottom: 0;
}
.document-section-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.document-section-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Contact page + 404 polish */
.contact-card-list .contact-card a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-kv-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-cta {
  margin: 0;
}

/* 404 empty state */
.dgbay-404 {
  text-align: center;
  padding: 3rem 1.25rem 4rem;
  max-width: 36rem;
  margin: 0 auto;
}
.dgbay-404__code {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary, #0787ea);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent);
}
.dgbay-404__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-text);
}
.dgbay-404__lede {
  margin: 0 0 1.75rem;
  color: color-mix(in srgb, var(--color-text) 75%, transparent);
  line-height: 1.6;
}
.dgbay-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.dgbay-404__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.65rem;
  font-weight: 600;
  text-decoration: none;
}
.dgbay-404__btn--primary {
  background: var(--color-primary, #0787ea);
  color: #fff;
}
.dgbay-404__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
}

/* ==========================================================================
   DGBay Home + Dokan store pages + My Account orders / view-order UX
   Fees-quality dark chrome. No disc.market / Dokan public copy.
   ========================================================================== */

/* ---- Home CTAs + value cards ---- */
.home.page-id-35 .site-main {
  padding-bottom: 2.5rem;
}

.home-cta-bar {
  margin: -0.5rem 0 0.25rem;
  padding: 0 0 1.25rem;
}

.home-cta-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.home-cta-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.8rem 1.25rem !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.home-cta-bar__btn--primary {
  background: var(--color-primary, #0787ea) !important;
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 70%, #fff) !important;
  box-shadow: 0 0 24px color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent);
}

.home-cta-bar__btn--ghost {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--color-text, #E2E8F0) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.home-cta-bar__btn--ghost:hover,
.home-cta-bar__btn--ghost:focus-visible {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 55%, transparent) !important;
  color: #fff !important;
}

.home-value-grid {
  padding: 0.5rem 0 1.75rem;
}

.home-value-grid__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .home-value-grid__list {
    grid-template-columns: 1fr;
  }
}

.home-value-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.home-value-card__title {
  font-size: 1.05rem;
  font-weight: 750;
  color: #fff;
}

.home-value-card__body {
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 72%, transparent);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Category grid: keep 3 cards centered when only 3 exist */
.home.page-id-35 .category-grid .grid.grid-cols-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 920px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .home.page-id-35 .category-grid .grid.grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ---- Dokan store listing ---- */
body.page-id-6 .shortcode-block .container,
body.dokan-store .site-main,
.dokan-seller-listing-wrap,
#dokan-seller-listing-wrap {
  color: var(--color-text, #E2E8F0);
}

#dokan-store-listing-filter-wrap,
#dokan-store-listing-filter-form-wrap {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1rem !important;
  padding: 0.85rem 1rem !important;
  margin-bottom: 1.25rem !important;
  color: var(--color-text, #E2E8F0) !important;
}

#dokan-store-listing-filter-wrap .store-count,
#dokan-store-listing-filter-wrap label,
#dokan-store-listing-filter-wrap .sort-by {
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 75%, transparent) !important;
}

#dokan-store-listing-filter-wrap select,
#dokan-store-listing-filter-form-wrap input[type="search"],
#dokan-store-listing-filter-form-wrap input[type="text"] {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--color-text, #E2E8F0) !important;
  border-radius: 0.55rem !important;
}

.dokan-btn-theme,
button.dokan-btn-theme,
a.dokan-btn-theme,
.dokan-store-list-filter-button {
  background: var(--color-primary, #0787ea) !important;
  border-color: var(--color-primary, #0787ea) !important;
  color: #fff !important;
  border-radius: 0.65rem !important;
}

#dokan-seller-listing-wrap .dokan-single-seller .store-wrapper,
.dokan-seller-wrap .store-wrapper {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1rem !important;
  overflow: hidden;
  box-shadow: none !important;
}

#dokan-seller-listing-wrap .store-footer,
.dokan-seller-wrap .store-footer {
  background: rgba(0, 0, 0, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#dokan-seller-listing-wrap .store-data h2 a,
.dokan-seller-wrap .store-data h2 a {
  color: #fff !important;
}

#dokan-seller-listing-wrap .store-banner img,
.dokan-seller-wrap .store-banner img {
  border-radius: 0;
}

/* ---- Dokan store single ---- */
body.dokan-store .dokan-store-wrap {
  gap: 1.25rem;
}

body.dokan-store #dokan-secondary.dokan-store-sidebar,
body.dokan-store .dokan-store-sidebar {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 1rem !important;
  padding: 1rem !important;
  color: var(--color-text, #E2E8F0) !important;
}

body.dokan-store .dokan-store-sidebar .widget,
body.dokan-store .dokan-store-sidebar .widget-title,
body.dokan-store .dokan-store-sidebar a {
  color: var(--color-text, #E2E8F0) !important;
}

body.dokan-store .dokan-store-sidebar .widget-title {
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary, #0787ea) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.45rem;
  margin-bottom: 0.65rem;
}

/* Hide noisy default WP page dump in Dokan store sidebar (theme fallback, not widgets) */
body.dokan-store .dokan-store-sidebar .widget_pages,
body.dokan-store .dokan-store-sidebar .widget_archive,
body.dokan-store .dokan-store-sidebar .widget_categories,
body.dokan-store .dokan-store-sidebar .pagenav,
body.dokan-store .dokan-store-sidebar .categories,
body.dokan-store .dokan-store-sidebar li:has(> h2),
body.dokan-store .dokan-store-sidebar ul[role="navigation"] {
  display: none !important;
}

/* Soften leftover site search in store sidebar */
body.dokan-store .dokan-store-sidebar .search-form {
  margin: 0 0 0.75rem;
}
body.dokan-store .dokan-store-sidebar .search-field {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text, #E2E8F0);
  border-radius: 0.55rem;
  padding: 0.55rem 0.75rem;
}
body.dokan-store .dokan-store-sidebar .search-submit {
  margin-top: 0.5rem;
  background: var(--color-primary, #0787ea);
  border: 0;
  color: #fff;
  border-radius: 0.55rem;
  padding: 0.45rem 0.85rem;
  font-weight: 650;
}

body.dokan-store #dokan-content.store-page-wrap,
body.dokan-store .store-page-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.35rem;
}

body.dokan-store .dokan-store-products-filter-area,
body.dokan-store .dokan-store-products-ordeby input,
body.dokan-store .dokan-store-products-ordeby select {
  background: rgba(0, 0, 0, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: var(--color-text, #E2E8F0) !important;
}

body.dokan-store .profile-frame,
body.dokan-store .profile-info-box,
body.dokan-store .dokan-store-info {
  background: transparent !important;
  color: var(--color-text, #E2E8F0) !important;
}

body.dokan-store ul.products li.product,
body.dokan-store .products .product {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  overflow: hidden;
}

body.dokan-store ul.products li.product .woocommerce-loop-product__title,
body.dokan-store ul.products li.product .price {
  color: var(--color-text, #E2E8F0) !important;
}

/* ---- My Account orders list ---- */
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-orders {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce-account .woocommerce-orders-table thead th {
  background: rgba(0, 0, 0, 0.28);
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 68%, transparent);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.woocommerce-account .woocommerce-orders-table tbody td,
.woocommerce-account .woocommerce-orders-table tbody th {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-text, #E2E8F0);
  background: transparent;
}

.woocommerce-account .woocommerce-orders-table tbody tr:last-child td,
.woocommerce-account .woocommerce-orders-table tbody tr:last-child th {
  border-bottom: 0;
}

.woocommerce-account .woocommerce-orders-table a {
  color: var(--color-primary, #0787ea);
  font-weight: 700;
  text-decoration: none;
}

.woocommerce-account .woocommerce-orders-table .woocommerce-button.button,
.woocommerce-account .woocommerce-orders-table a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 40%, transparent);
  color: #fff !important;
  font-weight: 650;
}

.woocommerce-account .woocommerce-pagination {
  margin-top: 1.25rem;
}

.woocommerce-account .woocommerce-Message--info,
.woocommerce-account .woocommerce-info {
  border-radius: 0.9rem;
}

/* ---- View order (match Order Received) ---- */
.woocommerce-view-order .dgbay-view-order,
.woocommerce-account.woocommerce-view-order .dgbay-view-order {
  max-width: 760px;
  margin: 0 auto 1.5rem;
}

.dgbay-view-order__hero {
  text-align: center;
  margin: 0 0 1.25rem;
  padding: 1.35rem 1.2rem 1.25rem;
  border-radius: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 32%, transparent);
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.dgbay-view-order__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #0787ea);
}

.dgbay-view-order__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.dgbay-view-order__lede {
  margin: 0.55rem auto 0;
  max-width: 34rem;
  font-size: 0.96rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 70%, transparent);
}

.dgbay-view-order__lede mark {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 0.35rem;
}

.dgbay-view-order .woocommerce-order-details,
.dgbay-view-order .woocommerce-customer-details,
.woocommerce-view-order .woocommerce-order-details,
.woocommerce-view-order .woocommerce-customer-details {
  margin-top: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce-view-order .woocommerce-order-details__title,
.woocommerce-view-order .woocommerce-column__title,
.woocommerce-view-order h2 {
  color: #fff;
  font-size: 1.05rem;
  margin-top: 0;
}

.woocommerce-view-order .woocommerce-table--order-details,
.woocommerce-view-order .shop_table {
  border: 0 !important;
  background: transparent !important;
}

.woocommerce-view-order .woocommerce-table--order-details th,
.woocommerce-view-order .woocommerce-table--order-details td,
.woocommerce-view-order .shop_table th,
.woocommerce-view-order .shop_table td {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--color-text, #E2E8F0) !important;
  background: transparent !important;
}

.woocommerce-view-order .woocommerce-OrderUpdates {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.woocommerce-view-order .woocommerce-OrderUpdate {
  margin: 0 0 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce-account .dgbay-orders-empty {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.woocommerce-account .dgbay-orders-empty__title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: #fff;
}

.woocommerce-account .dgbay-orders-empty__lede {
  margin: 0 0 1rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 70%, transparent);
}


/* ---- Account notices (Woo email-confirm lives outside notices-wrapper) ---- */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 35%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 10%, transparent);
  color: var(--color-text, #E2E8F0);
  line-height: 1.45;
}

.woocommerce-account .woocommerce-error {
  border-color: color-mix(in srgb, #f87171 45%, transparent);
  background: color-mix(in srgb, #f87171 12%, transparent);
}

.woocommerce-account .woocommerce-info a.button,
.woocommerce-account .woocommerce-message a.button,
.woocommerce-account .woocommerce-error a.button,
.woocommerce-account .woocommerce-info .button.wc-forward,
.woocommerce-account .woocommerce-message .button.wc-forward {
  width: auto !important;
  min-width: 0;
  min-height: 2.35rem;
  margin: 0 !important;
  padding: 0.45rem 0.95rem !important;
  flex: 0 0 auto;
  white-space: nowrap;
  order: 2;
  float: none !important;
}


/* ---- Orders list mobile (stack rows; values must stay in viewport) ---- */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-orders-table,
  .woocommerce-account .woocommerce-MyAccount-orders {
    display: block;
    width: 100%;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .woocommerce-account .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-account .woocommerce-orders-table tbody,
  .woocommerce-account .woocommerce-orders-table tbody tr {
    display: block;
    width: 100%;
  }

  .woocommerce-account .woocommerce-orders-table tbody tr {
    margin: 0 0 0.85rem;
    padding: 0.35rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
  }

  .woocommerce-account .woocommerce-orders-table tbody td,
  .woocommerce-account .woocommerce-orders-table tbody th {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.2rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0.7rem 1rem !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  .woocommerce-account .woocommerce-orders-table tbody tr td:last-child,
  .woocommerce-account .woocommerce-orders-table tbody tr th:last-child {
    border-bottom: 0 !important;
  }

  .woocommerce-account .woocommerce-orders-table tbody td::before,
  .woocommerce-account .woocommerce-orders-table tbody th::before {
    content: attr(data-title);
    display: block;
    float: none !important;
    width: auto !important;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--color-text, #E2E8F0) 55%, transparent);
  }

  .woocommerce-account .woocommerce-orders-table tbody td[data-title=""],
  .woocommerce-account .woocommerce-orders-table tbody th:not([data-title])::before {
    display: none;
  }

  .woocommerce-account .woocommerce-orders-table .woocommerce-button.button,
  .woocommerce-account .woocommerce-orders-table a.button {
    width: auto !important;
    margin-top: 0.15rem;
  }
}


/* ---- Account dash: prevent grid track blowout on mobile ---- */
.dgbay-account-dash {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
}

@media (min-width: 900px) {
  .dgbay-account-dash {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  }
}

.woocommerce-account .woocommerce-MyAccount-content {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  min-width: 0;
  max-width: 100%;
}

/* ==========================================================================
   DGBay Dokan seller dashboard — light dark-chrome polish only
   Do not hide Dokan functional UI; kill StickerPicker/Woo dump leftovers.
   ========================================================================== */

body.dokan-dashboard,
body.dokan-dashboard #page,
body.dokan-dashboard .site-main,
body.dokan-dashboard .container,
body.dokan-dashboard .content-area,
body.dokan-dashboard.swal2-shown,
body.dokan-dashboard.swal2-height-auto {
  background: var(--color-bg, #0b0f17) !important;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 92%, transparent);
}

body.dokan-dashboard .dokan-dashboard-wrap {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0.75rem clamp(0.85rem, 2.5vw, 1.35rem) 2rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 92%, transparent);
}

body.dokan-dashboard .dokan-dash-sidebar,
body.dokan-dashboard #dokan-navigation,
body.dokan-dashboard .dokan-dashboard-content,
body.dokan-dashboard .dokan-dashboard-header {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: none !important;
}

body.dokan-dashboard .dokan-dash-sidebar {
  padding: 0.75rem;
  overflow: hidden;
}

body.dokan-dashboard .dokan-dashboard-content {
  padding: 1.1rem 1.2rem 1.35rem;
  min-width: 0;
}

body.dokan-dashboard .dokan-dashboard-header {
  margin: 0 0 1rem;
  padding: 0.85rem 1.1rem;
}

body.dokan-dashboard .dokan-dashboard-header h1,
body.dokan-dashboard .dokan-dashboard-header .entry-title,
body.dokan-dashboard .dokan-dashboard-content h1,
body.dokan-dashboard .dokan-dashboard-content h2,
body.dokan-dashboard .dokan-dashboard-content h3 {
  color: #fff;
}

body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu,
body.dokan-dashboard ul.dokan-dashboard-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent !important;
  border: 0 !important;
}

body.dokan-dashboard ul.dokan-dashboard-menu li {
  margin: 0 0 0.25rem;
  border: 0 !important;
  background: transparent !important;
}

body.dokan-dashboard ul.dokan-dashboard-menu li a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 88%, transparent) !important;
  background: transparent !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

body.dokan-dashboard ul.dokan-dashboard-menu li a:hover,
body.dokan-dashboard ul.dokan-dashboard-menu li:hover a {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent) !important;
  color: #fff !important;
}

body.dokan-dashboard ul.dokan-dashboard-menu li.active a,
body.dokan-dashboard ul.dokan-dashboard-menu li.active:hover a {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary, #0787ea) 40%, transparent);
}

body.dokan-dashboard .dokan-btn,
body.dokan-dashboard .dokan-btn-theme,
body.dokan-dashboard a.dokan-btn,
body.dokan-dashboard button.dokan-btn,
body.dokan-dashboard .dokan-dashboard-content .button,
body.dokan-dashboard .dokan-dashboard-content .button-primary {
  border-radius: 0.65rem;
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 55%, transparent) !important;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent) !important;
  color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.dokan-dashboard .dokan-btn:hover,
body.dokan-dashboard .dokan-btn-theme:hover,
body.dokan-dashboard a.dokan-btn:hover,
body.dokan-dashboard button.dokan-btn:hover,
body.dokan-dashboard .dokan-dashboard-content .button:hover {
  background: var(--color-primary, #0787ea) !important;
  border-color: var(--color-primary, #0787ea) !important;
  color: #fff !important;
}

body.dokan-dashboard .dokan-panel,
body.dokan-dashboard .dokan-panel-default,
body.dokan-dashboard .dokan-table,
body.dokan-dashboard table.dokan-table,
body.dokan-dashboard .dashboard-widget,
body.dokan-dashboard .dokan-big-counter {
  background: rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0.85rem !important;
  color: inherit;
  box-shadow: none !important;
}

body.dokan-dashboard .dokan-table th,
body.dokan-dashboard table.dokan-table th {
  background: rgba(0, 0, 0, 0.22) !important;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 60%, transparent);
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dokan-dashboard .dokan-table td,
body.dokan-dashboard table.dokan-table td {
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 90%, transparent);
}

body.dokan-dashboard input[type="text"],
body.dokan-dashboard input[type="search"],
body.dokan-dashboard input[type="email"],
body.dokan-dashboard input[type="number"],
body.dokan-dashboard input[type="password"],
body.dokan-dashboard input[type="url"],
body.dokan-dashboard select,
body.dokan-dashboard textarea {
  background: rgba(0, 0, 0, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.55rem;
  color: var(--color-text, #E2E8F0) !important;
}

body.dokan-dashboard a {
  color: var(--color-primary, #0787ea);
}

/* Shipping / Woo notices on dashboard — darken light dumps */
body.dokan-dashboard .woocommerce-info,
body.dokan-dashboard .woocommerce-message,
body.dokan-dashboard .woocommerce-error,
body.dokan-dashboard .dokan-alert,
body.dokan-dashboard .dokan-message,
body.dokan-dashboard .dokan-info,
body.dokan-dashboard .dokan-notice,
body.dokan-dashboard .dgbay-vendor-shipping-notice,
body.dokan-dashboard [class*="shipping-rates-needed"],
body.dokan-dashboard .dokan-dashboard-content > .notice,
body.dokan-dashboard .dokan-dashboard-content .notice {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 35%, transparent) !important;
  border-radius: 0.85rem !important;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 92%, transparent) !important;
  box-shadow: none !important;
}

/* Timezone / SweetAlert2 modal — match dark chrome (keep functional) */
body.dokan-dashboard .swal2-popup,
body.dokan-dashboard.swal2-shown .swal2-popup {
  background: #121826 !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 1rem !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45) !important;
}

body.dokan-dashboard .swal2-title,
body.dokan-dashboard .swal2-html-container,
body.dokan-dashboard .swal2-content {
  color: #E2E8F0 !important;
}

body.dokan-dashboard .swal2-input,
body.dokan-dashboard .swal2-select,
body.dokan-dashboard .swal2-popup select,
body.dokan-dashboard .swal2-popup input {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #E2E8F0 !important;
  border-radius: 0.55rem !important;
}

body.dokan-dashboard .swal2-confirm {
  background: var(--color-primary, #0787ea) !important;
  border: 0 !important;
  border-radius: 0.65rem !important;
  box-shadow: none !important;
}

body.dokan-dashboard .swal2-cancel,
body.dokan-dashboard .swal2-deny {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.65rem !important;
  box-shadow: none !important;
}

body.dokan-dashboard .swal2-icon.swal2-info {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 55%, transparent) !important;
  color: var(--color-primary, #0787ea) !important;
}

/* Kill parent StickerPicker / Woo dump leftovers on seller dashboard only */
body.dokan-dashboard .sticker-picker,
body.dokan-dashboard .StickerPicker,
body.dokan-dashboard [class*="sticker-picker"],
body.dokan-dashboard .metallic-plate,
body.dokan-dashboard .brushed-alum,
body.dokan-dashboard .woocommerce-store-notice,
body.dokan-dashboard .demo_store,
body.dokan-dashboard .widget_shopping_cart,
body.dokan-dashboard .widget_products,
body.dokan-dashboard .widget_recently_viewed_products,
body.dokan-dashboard .widget_top_rated_products,
body.dokan-dashboard .widget_product_categories,
body.dokan-dashboard .widget_price_filter,
body.dokan-dashboard .widget_layered_nav,
body.dokan-dashboard .widget_rating_filter {
  display: none !important;
}

@media (max-width: 767px) {
  body.dokan-dashboard .dokan-dashboard-wrap {
    padding-inline: 0.65rem;
  }

  body.dokan-dashboard .dokan-dash-sidebar,
  body.dokan-dashboard .dokan-dashboard-content,
  body.dokan-dashboard .dokan-dashboard-header {
    border-radius: 0.85rem !important;
  }
}

/* ==========================================================================
   DGBay single-product polish (child aed-dgbay)
   Kill remaining StickerPicker/Woo ugliness; align ATC / tabs / related
   with dark #0787ea. Image grey plate already fixed above.
   ========================================================================== */

/* Hide StickerPicker / lab leftovers if any CSS or markup leaks onto PDP */
body.single-product .StickerPicker,
body.single-product .sticker-picker,
body.single-product .metallic-plate,
body.single-product .brushed-alum,
body.single-product .purchase-rail-coa-section,
body.single-product .pbl-coa-trigger,
body.single-product .purchase-rail-cert-section:empty {
  display: none !important;
}

/* Soften leftover neon glow (sticker shop flourish) */
body.single-product .neon-glow-bg {
  opacity: 0.35;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent) !important;
  filter: blur(48px);
}

/* Woo stock dump above ATC → compact pill */
body.single-product .product-purchase-action-container > p.stock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 35%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent);
  color: var(--color-text, #E2E8F0);
}
body.single-product .product-purchase-action-container > p.stock.in-stock {
  border-color: color-mix(in srgb, #34d399 40%, transparent);
  background: color-mix(in srgb, #34d399 12%, transparent);
  color: #6ee7b7;
}
body.single-product .product-purchase-action-container > p.stock.out-of-stock {
  border-color: color-mix(in srgb, #f87171 40%, transparent);
  background: color-mix(in srgb, #f87171 12%, transparent);
  color: #fca5a5;
}

/* Quantity + ATC stack */
body.single-product .product-purchase-action-container form.cart {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}
body.single-product .product-purchase-action-container form.cart .quantity,
body.single-product .product-purchase-action-container form.cart .wc-block-components-quantity-selector {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 8%, rgba(0, 0, 0, 0.25));
}
body.single-product .product-purchase-action-container form.cart .wc-block-components-quantity-selector__button {
  width: 2.75rem;
  height: 2.75rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 80%, transparent);
}
body.single-product .product-purchase-action-container form.cart .wc-block-components-quantity-selector__button:hover {
  color: #fff;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
}
body.single-product .product-purchase-action-container form.cart .wc-block-components-quantity-selector__input,
body.single-product .product-purchase-action-container form.cart .quantity .qty {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none;
  height: 2.75rem;
  color: #fff;
  font-weight: 800;
}

body.single-product .product-purchase-action-container form.cart button.single_add_to_cart_button,
body.single-product .product-purchase-action-container form.cart button.single_add_to_cart_button.alt {
  width: 100%;
  background: var(--color-primary, #0787ea) !important;
  background-color: var(--color-primary, #0787ea) !important;
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 70%, #fff) !important;
  border-radius: 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 24px color-mix(in srgb, var(--color-primary, #0787ea) 28%, transparent);
}
body.single-product .product-purchase-action-container form.cart button.single_add_to_cart_button:hover {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 85%, #fff) !important;
  box-shadow: 0 0 28px color-mix(in srgb, var(--color-primary, #0787ea) 45%, transparent);
}

/* Hide empty Stripe express slot residual spacing */
body.single-product #wc-stripe-express-checkout-element[style*="display:none"],
body.single-product #wc-stripe-express-checkout-element:empty {
  margin: 0 !important;
  display: none !important;
}

/* ---- Mobile sticky ATC: qty input was inheriting wide number-input rules ---- */
body.single-product .sp-sticky-cart__actions {
  display: flex !important;
  align-items: stretch;
  gap: 0.55rem;
}
body.single-product .sp-sticky-cart__qty {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 7.25rem !important;
  min-width: 0 !important;
}
body.single-product .sp-sticky-cart__qty-btn {
  flex: 0 0 2.25rem !important;
  width: 2.25rem !important;
}
body.single-product .sp-sticky-cart__qty-input {
  flex: 0 0 2.25rem !important;
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.5rem !important;
  box-sizing: border-box !important;
}
body.single-product .sp-sticky-cart__add-btn {
  flex: 1 1 auto !important;
  min-width: 8.5rem !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8125rem !important;
  letter-spacing: 0.03em !important;
  background: var(--color-primary, #0787ea) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary, #0787ea) 32%, transparent);
}
body.single-product .sp-sticky-cart {
  border-top-color: color-mix(in srgb, var(--color-primary, #0787ea) 40%, transparent);
}
body.single-product .sp-sticky-cart__price {
  color: var(--color-primary, #0787ea) !important;
}

/* ---- About / "tabs" stand-in ---- */
body.single-product .product-about-card {
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent) !important;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 6%, rgba(0, 0, 0, 0.28)) !important;
  border-radius: 1rem !important;
}
body.single-product .product-about-dot,
body.single-product .dgbay-sold-comps__dot {
  background: var(--color-primary, #0787ea) !important;
}
body.single-product .product-about-badge {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 40%, transparent) !important;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 14%, transparent) !important;
  color: var(--color-primary, #0787ea) !important;
}
body.single-product .product-spec-card {
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 8%, transparent);
  border-radius: 0.75rem;
}

/* Woo default tabs (if a plugin re-enables them) */
body.single-product .woocommerce-tabs {
  margin-top: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
  border-radius: 1rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--color-primary, #0787ea) 5%, rgba(0, 0, 0, 0.25));
}
body.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  border: 0 !important;
  background: rgba(0, 0, 0, 0.25);
}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}
body.single-product .woocommerce-tabs ul.tabs li {
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.85rem 1.1rem;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 65%, transparent) !important;
  font-weight: 700;
  border-bottom: 2px solid transparent;
}
body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
  color: #fff !important;
  border-bottom-color: var(--color-primary, #0787ea);
}
body.single-product .woocommerce-tabs .panel {
  padding: 1.15rem 1.25rem;
  margin: 0 !important;
  background: transparent !important;
  color: var(--color-text, #E2E8F0);
  border: 0 !important;
}

/* ---- Related products ---- */
body.single-product .related.products,
body.single-product .upsells.products,
body.single-product .dgbay-related {
  margin: 2rem 0 1rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 24%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 6%, rgba(0, 0, 0, 0.28));
}
body.single-product .related.products > h2,
body.single-product .upsells.products > h2,
body.single-product .dgbay-related__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}
body.single-product .related.products > h2::before,
body.single-product .dgbay-related__title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary, #0787ea);
  box-shadow: 0 0 10px color-mix(in srgb, var(--color-primary, #0787ea) 55%, transparent);
}
body.single-product .related.products ul.products,
body.single-product .dgbay-related__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  width: 100% !important;
}
@media (min-width: 768px) {
  body.single-product .related.products ul.products,
  body.single-product .dgbay-related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
  display: none !important;
}
body.single-product .related.products ul.products li.product,
body.single-product .dgbay-related__card {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
body.single-product .related.products ul.products li.product:hover,
body.single-product .dgbay-related__card:hover {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 50%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent);
  transform: translateY(-2px);
}
body.single-product .related.products ul.products li.product a,
body.single-product .dgbay-related__card a {
  color: var(--color-text, #E2E8F0);
  text-decoration: none;
}
body.single-product .related.products ul.products li.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
body.single-product .dgbay-related__name {
  display: block;
  padding: 0.65rem 0.75rem 0.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
body.single-product .related.products ul.products li.product .price,
body.single-product .dgbay-related__price {
  display: block;
  padding: 0 0.75rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary, #0787ea) !important;
}
body.single-product .related.products ul.products li.product .button,
body.single-product .related.products ul.products li.product .add_to_cart_button {
  display: none !important; /* browse → cart on money host; keep card clean */
}

/* Sold comps price accent */
body.single-product .dgbay-sold-comps {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
  background: color-mix(in srgb, var(--color-primary, #0787ea) 5%, rgba(0, 0, 0, 0.28));
}
body.single-product .dgbay-sold-comps__price {
  color: var(--color-primary, #0787ea) !important;
}

/* Purchase rail price + assurance icons already primary; tighten guarantee */
body.single-product .purchase-rail-guarantee {
  color: color-mix(in srgb, var(--color-primary, #0787ea) 75%, #94a3b8);
}
body.single-product .purchase-rail-assurance-item {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 18%, transparent);
}

/* ==========================================================================
   DGBay Visual QA sweep — small high-impact polish
   ========================================================================== */

/* ---- Mobile sticky ATC: parent theme pads ALL number inputs 0.75rem 1rem ----
   That padding + 2.25rem width leaves ~0px for the digit (shows as …). */
body.single-product .sp-sticky-cart__qty-input,
body.single-product #sp-sticky-cart-qty,
body.single-product input.sp-sticky-cart__qty-input[type="number"] {
  width: 2.5rem !important;
  min-width: 2.5rem !important;
  max-width: 2.75rem !important;
  flex: 0 0 2.5rem !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 2.625rem !important;
  line-height: 2.625rem !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: rgba(0, 0, 0, 0.25) !important;
  color: #fff !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}
body.single-product .sp-sticky-cart__qty-input::-webkit-outer-spin-button,
body.single-product .sp-sticky-cart__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
body.single-product .sp-sticky-cart__qty {
  max-width: 8rem !important;
}
body.single-product .sp-sticky-cart__qty-btn {
  flex: 0 0 2.25rem !important;
  width: 2.25rem !important;
  height: 2.625rem !important;
}

/* ---- Empty cart: hide redundant Woo notice under custom empty header ---- */
.woocommerce-cart .dgbay-cart--empty .woocommerce-info.cart-empty,
.woocommerce-cart .dgbay-cart--empty .cart-empty.woocommerce-info,
.woocommerce-cart .dgbay-cart--empty .woocommerce-info {
  display: none !important;
}

/* ---- Dokan store single: breadcrumbs + empty notice + filter search ---- */
body.dokan-store .woocommerce-breadcrumb,
body.dokan-store .dokan-store-breadcrumb,
body.dokan-store nav.woocommerce-breadcrumb,
body.dokan-store .site-content > .woocommerce-breadcrumb,
body.dokan-store .dokan-store-wrap .woocommerce-breadcrumb,
body.dokan-store .dokan-store-wrap > p,
body.dokan-store .dokan-store-wrap > .breadcrumb,
body.dokan-store .store-page-wrap .woocommerce-breadcrumb {
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 72%, transparent) !important;
  font-size: 0.8125rem;
}
body.dokan-store .woocommerce-breadcrumb a,
body.dokan-store .dokan-store-breadcrumb a {
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 78%, transparent) !important;
}
body.dokan-store .woocommerce-info,
body.dokan-store .woocommerce-message,
body.dokan-store .woocommerce-error {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 14%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 40%, transparent) !important;
  color: var(--color-text, #E2E8F0) !important;
  border-radius: 0.75rem !important;
  box-shadow: none !important;
  padding: 0.85rem 1rem !important;
}
body.dokan-store .woocommerce-info::before,
body.dokan-store .woocommerce-message::before {
  color: var(--color-primary, #0787ea) !important;
}
body.dokan-store .dokan-store-products-filter-area .orderby-search,
body.dokan-store .dokan-store-products-filter-area input[type="text"],
body.dokan-store .dokan-store-products-filter-area input[type="search"] {
  border-radius: 0.55rem !important;
}
body.dokan-store .dokan-store-products-filter-area button,
body.dokan-store .dokan-store-products-filter-area .button,
body.dokan-store .dokan-store-products-filter-area input[type="submit"] {
  background: var(--color-primary, #0787ea) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0.55rem !important;
  font-weight: 650 !important;
  padding: 0.5rem 0.9rem !important;
}

/* ---- Empty Dokan store: one search only (keep Dokan product search) ----
   Sidebar only had sitewide .search-form + default Pages dump (already hidden).
   Hide the redundant site search and the empty sidebar column; expand primary. */
body.dokan-store .dokan-store-sidebar .search-form,
body.dokan-store .dokan-store-sidebar form.search-form,
body.dokan-store #dokan-secondary .search-form {
  display: none !important;
}
body.dokan-store .dokan-store-wrap.layout-left,
body.dokan-store .dokan-store-wrap {
  display: block !important;
}
body.dokan-store #dokan-secondary.dokan-store-sidebar,
body.dokan-store .dokan-store-sidebar {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.dokan-store #dokan-primary.dokan-single-store,
body.dokan-store #dokan-primary,
body.dokan-store .dokan-single-store {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
body.dokan-store .dokan-w8,
body.dokan-store .dokan-w9 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
/* Soften empty-vendor notice spacing under the single search row */
body.dokan-store .dokan-store-products-filter-area {
  margin-bottom: 0.85rem !important;
}
body.dokan-store .woocommerce-info {
  margin-top: 0.35rem !important;
}

/* Store list toolbar: avoid edge crush on ~390px */
@media (max-width: 480px) {
  #dokan-seller-listing-wrap .store-page-wrap .dokan-store-list-filter,
  #dokan-store-listing-filter-wrap,
  .dokan-store-list-filter {
    gap: 0.55rem !important;
  }
  #dokan-store-listing-filter-wrap .dokan-store-lists-single-filter,
  #dokan-store-listing-filter-wrap .sort-by {
    flex-wrap: wrap !important;
  }
  #dokan-store-listing-filter-form-wrap,
  #dokan-store-listing-filter-wrap .item {
    min-width: 0 !important;
  }
}

/* Soften hollow account auth buttons (outline only looked crushed) */
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-account .woocommerce-form-register .woocommerce-form-register__submit,
.woocommerce-account button.woocommerce-button[name="login"],
.woocommerce-account button.woocommerce-Button[name="register"],
.woocommerce-account .woocommerce-form button[type="submit"] {
  min-height: 2.75rem !important;
  padding: 0.75rem 1.1rem !important;
  font-weight: 750 !important;
  background: var(--color-primary, #0787ea) !important;
  color: #fff !important;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 70%, #fff) !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--color-primary, #0787ea) 22%, transparent);
}

/* ========================================================================== */
/* DGBay Visual QA pass2 — Dokan deep pages + Omni filters + TZ SweetAlert   */
/* Deployed 2026-09-10T01:38:09Z */
/* ========================================================================== */

/* ==========================================================================
   DGBay Visual QA pass2 — Dokan deep pages + Omni filters + TZ modal
   ========================================================================== */

/* ---- Global SweetAlert2 timezone / info modal (was white on dark site) ---- */
.swal2-popup {
  background: #121826 !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 1rem !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45) !important;
}
.swal2-title,
.swal2-html-container,
.swal2-content {
  color: #E2E8F0 !important;
}
.swal2-popup select,
.swal2-popup input,
.swal2-input,
.swal2-select,
#dgbay-tz-modal-select {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #E2E8F0 !important;
  border-radius: 0.55rem !important;
}
.swal2-confirm {
  background: var(--color-primary, #0787ea) !important;
  border: 0 !important;
  border-radius: 0.65rem !important;
  box-shadow: none !important;
}
.swal2-cancel,
.swal2-deny {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #E2E8F0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.65rem !important;
  box-shadow: none !important;
}
.swal2-icon.swal2-info {
  border-color: color-mix(in srgb, var(--color-primary, #0787ea) 55%, transparent) !important;
  color: var(--color-primary, #0787ea) !important;
}

/* ---- Dokan: notices that still forced white chrome ---- */
body.dokan-dashboard .dokan-error,
body.dokan-dashboard .dokan-message,
body.dokan-dashboard .dokan-info,
body.dokan-dashboard .dokan-alert-danger,
body.dokan-dashboard .dokan-alert-success,
body.dokan-dashboard .dokan-alert-warning,
body.dokan-dashboard .dokan-alert-info {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 12%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--color-primary, #0787ea) 35%, transparent) !important;
  border-top-width: 1px !important;
  border-radius: 0.85rem !important;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 92%, transparent) !important;
  box-shadow: none !important;
}
body.dokan-dashboard .dokan-error {
  background: color-mix(in srgb, #f87171 10%, transparent) !important;
  border-color: color-mix(in srgb, #f87171 40%, transparent) !important;
  color: #fecaca !important;
}
body.dokan-dashboard .dokan-error:before,
body.dokan-dashboard .dokan-message:before,
body.dokan-dashboard .dokan-info:before {
  background: color-mix(in srgb, var(--color-primary, #0787ea) 70%, transparent) !important;
  color: #fff !important;
}
body.dokan-dashboard .dokan-error:before {
  background: color-mix(in srgb, #f87171 75%, transparent) !important;
}

/* ---- Dokan withdraw / panel headings (were #f5f5f5) ---- */
body.dokan-dashboard .dokan-panel-heading,
body.dokan-dashboard .dokan-panel-default > .dokan-panel-heading,
body.dokan-dashboard .dokan-panel-footer {
  background: rgba(0, 0, 0, 0.28) !important;
  color: #E2E8F0 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
body.dokan-dashboard .dokan-panel-title,
body.dokan-dashboard .dokan-panel-heading .dokan-panel-title {
  color: #fff !important;
}
body.dokan-dashboard .dokan-panel-body {
  background: transparent !important;
  color: color-mix(in srgb, var(--color-text, #E2E8F0) 92%, transparent);
}

/* ---- Store settings banner upload plate ---- */
body.dokan-dashboard .dokan-banner,
body.dokan-dashboard .dokan-settings-content .dokan-settings-area .dokan-banner,
body.dokan-dashboard .dokan-settings-area .dokan-banner {
  border: 2px dashed rgba(255, 255, 255, 0.22) !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border-radius: 0.85rem !important;
}
body.dokan-dashboard .dokan-banner img,
body.dokan-dashboard .dokan-banner-img {
  opacity: 0.55;
  filter: saturate(0.35) brightness(0.75);
  border-radius: 0.55rem;
}
body.dokan-dashboard .dokan-gravatar-img,
body.dokan-dashboard .gravatar-wrap img {
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

/* TinyMCE chrome on store settings — soften light toolbar */
body.dokan-dashboard .wp-editor-wrap,
body.dokan-dashboard .mce-tinymce,
body.dokan-dashboard .mce-container,
body.dokan-dashboard .mce-toolbar-grp,
body.dokan-dashboard .mce-panel,
body.dokan-dashboard .mce-btn-group,
body.dokan-dashboard .mce-statusbar {
  background: rgba(0, 0, 0, 0.28) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #E2E8F0 !important;
}
body.dokan-dashboard .mce-btn button,
body.dokan-dashboard .mce-ico {
  color: #E2E8F0 !important;
}

/* Safety net: hide leaked popup chrome if script-break reappears */
body.dokan-dashboard .dokan-product-listing > .dokan-form-group,
body.dokan-dashboard .dokan-product-listing > .dgbay-field,
body.dokan-dashboard .dokan-product-listing > .dokan-new-cat-ui-title,
body.dokan-dashboard .dokan-product-listing > .dokan-add-new-cat-box,
body.dokan-dashboard .dokan-product-listing > span.dokan-add-new-cat-box,
body.dokan-dashboard .dokan-product-listing > .product-form-container,
body.dokan-dashboard .dokan-product-listing > .product-full-container,
body.dokan-dashboard .dokan-dashboard-wrap > .product-container-footer,
body.dokan-dashboard .dokan-dashboard-wrap > .product-form-container,
body.dokan-dashboard .dokan-dashboard-wrap > #dokan-add-new-product-form,
body.dokan-dashboard .dokan-dashboard-wrap > .dokan-add-new-product-popup {
  display: none !important;
}

/* Orders filter toolbar: keep Reset on same visual row on desktop */
@media (min-width: 900px) {
  body.dokan-dashboard .dokan-orders-content .dokan-w12 .dokan-left,
  body.dokan-dashboard .dokan-orders-area .dokan-form-group {
    vertical-align: middle;
  }
}

/* ---- Omni mobile filters drawer opaque (pass2) ---- */
/* Visual QA pass2: mobile filters drawer must be opaque */
.dgbay-omni-sidebar {
  background-color: var(--dgbay-card-bg, var(--color-bg, #0A0A12));
}
@media (max-width: 900px) {
  .dgbay-omni-sidebar {
    background-color: var(--color-bg, #0A0A12) !important;
    background-image: none !important;
  }
  .dgbay-omni-sidebar--open {
    background-color: #0A0A12 !important;
  }
}

