/* =============================================
   EG WooCommerce Overrides
   Cart, Checkout, My Account styles
   ============================================= */

/* --- Cart & Checkout page header --- */
body.woocommerce-cart .page-header .container,
body.woocommerce-cart .page-header .page-header-inner,
body.woocommerce-checkout .page-header .container,
body.woocommerce-checkout .page-header .page-header-inner {
  padding: 24px 0;
}
body.woocommerce-cart .page-header,
body.woocommerce-checkout .page-header,
body.woocommerce-cart .page-header .container,
body.woocommerce-checkout .page-header .container,
body.woocommerce-cart .page-header .page-header-inner,
body.woocommerce-checkout .page-header .page-header-inner {
  padding-top: 20px;
  padding-bottom: 10px;
  margin-bottom: 0;
}
body.woocommerce-cart .page-header .page-header-title,
body.woocommerce-checkout .page-header .page-header-title,
body.woocommerce-cart .page-header h1.entry-title,
body.woocommerce-checkout .page-header h1.entry-title {
  font-family: Gotham, sans-serif;
  font-weight: 600;
  font-size: 36px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: none;
  margin: 0;
  text-align: left;
}

/* --- My Account: hide vendor prompts --- */
body.woocommerce-account .dokan-become-vendor,
body.woocommerce-account .dokan-customer-migration,
body.woocommerce-account a[href*="become-a-vendor"],
body.woocommerce-account a[href*="become-vendor"],
body.woocommerce-account a[href*="seller-setup"],
body.woocommerce-account a[href*="apply-vendor"],
body.woocommerce-account a[href*="vendor-registration"] {
  display: none !important;
}

/* =============================================
   EG Modern Auth – Orange full-screen + White register card
   ============================================= */

/* Hide page header and WPBakery title completely on auth page */
body.woocommerce-account:has(.eg-auth-wrapper) .page-header,
body:has(.eg-auth-wrapper) .page-header,
body.woocommerce-account .page-header:has(~ #content-wrap .eg-auth-wrapper) {
  display: none !important;
}
body.woocommerce-account:has(.eg-auth-wrapper) h1.vcex-heading,
body.woocommerce-account:has(.eg-auth-wrapper) .vcex-heading,
body.woocommerce-account:has(.eg-auth-wrapper) .vc_row:has(.vcex-heading),
body:has(.eg-auth-wrapper) h1.vcex-heading,
body:has(.eg-auth-wrapper) .vcex-heading,
body:has(.eg-auth-wrapper) .vc_row:has(.vcex-heading) {
  display: none !important;
}

/* Reset all wrappers – use .eg-auth-wrapper presence as anchor */
body.woocommerce-account:has(.eg-auth-wrapper),
body:has(.eg-auth-wrapper) {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.10) 0%, transparent 50%),
    linear-gradient(160deg, #ff5a1a 0%, var(--eg-orange, #FF4500) 40%, #cc3700 100%) !important;
}
body.woocommerce-account:has(.eg-auth-wrapper) #content-wrap,
body:has(.eg-auth-wrapper) #content-wrap {
  padding: 0 !important;
  background: transparent;
}
body.woocommerce-account:has(.eg-auth-wrapper) #content-wrap .container,
body.woocommerce-account:has(.eg-auth-wrapper) #content-wrap .wpex-container,
body:has(.eg-auth-wrapper) #content-wrap .container,
body:has(.eg-auth-wrapper) #content-wrap .wpex-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.woocommerce-account:has(.eg-auth-wrapper) #primary,
body:has(.eg-auth-wrapper) #primary {
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce,
body:has(.eg-auth-wrapper) .woocommerce,
body:has(.eg-auth-wrapper) .entry-content {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}
/* Hide footer for full-screen feel */
body.woocommerce-account:has(.eg-auth-wrapper) #footer-widgets,
body.woocommerce-account:has(.eg-auth-wrapper) #footer-bottom,
body.woocommerce-account:has(.eg-auth-wrapper) .site-footer,
body.woocommerce-account:has(.eg-auth-wrapper) #footer,
body:has(.eg-auth-wrapper) #footer-widgets,
body:has(.eg-auth-wrapper) #footer-bottom,
body:has(.eg-auth-wrapper) .site-footer,
body:has(.eg-auth-wrapper) #footer {
  display: none !important;
}
/* Hide default entry title/header on password-protected auth pages */
body:has(.eg-auth-wrapper) .entry-title,
body:has(.eg-auth-wrapper) article > header,
body:has(.eg-auth-wrapper) .entry-header {
  display: none !important;
}

/* ─── Auth wrapper: full-screen, fixed height, 80px top margin ─── */
.eg-auth-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  height: calc(100vh - 70px - 80px);
  max-height: calc(100vh - 70px - 80px);
  padding: 0;
  margin: 80px 0 0 0;
  background: transparent;
  box-sizing: border-box;
  overflow: hidden;
}

/* ─── Auth card: two halves, fixed to viewport ─── */
.eg-auth-card {
  display: flex !important;
  flex-direction: row !important;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.eg-auth-card--single {
  max-width: 100%;
}

/* ─── Columns ─── */
.eg-auth-col {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.eg-auth-col--full {
  flex: 1 1 100%;
}
.eg-auth-col-inner {
  width: 100%;
  max-width: 420px;
  padding: 48px 44px;
  box-sizing: border-box;
}

/* ─── LOGIN column: transparent on orange, no scroll ─── */
.eg-auth-login {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}
/* Hide logo on login side */
.eg-auth-login .eg-auth-brand {
  display: none;
}
.eg-auth-login::before {
  display: none;
}

/* ─── REGISTER column: white rounded card with max height ─── */
.eg-auth-register {
  background: #ffffff;
  border-radius: 24px;
  margin: 24px 24px 24px 0;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-height: 600px;
  max-height: min(760px, calc(100vh - 120px));
  align-self: center;
}
.eg-auth-register::before {
  display: none;
}
.eg-auth-register .eg-auth-col-inner {
  overflow-y: auto;
  max-height: min(760px, calc(100vh - 120px));
  width: 100%;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: #c9c9c9 transparent;
}
/* Scrollbar styling for register card */
.eg-auth-register .eg-auth-col-inner::-webkit-scrollbar {
  width: 10px;
}
.eg-auth-register .eg-auth-col-inner::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 14px;
  border-radius: 999px;
}
.eg-auth-register .eg-auth-col-inner::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d9d9d9 0%, #c3c3c3 100%);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
  min-height: 44px;
}
.eg-auth-register .eg-auth-col-inner::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c8c8c8 0%, #afafaf 100%);
  background-clip: content-box;
}

/* ─── Brand / logo ─── */
.eg-auth-brand {
  margin-bottom: 32px;
}
.eg-auth-logo {
  max-height: 44px;
  width: auto;
  display: block;
}
.eg-auth-site-name {
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════
   LOGIN side (on orange) – white text & inputs
   ═══════════════════════════════════════════ */
.eg-auth-login h2 {
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.2;
}
.eg-auth-login .eg-auth-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 32px;
  line-height: 1.4;
}
.eg-auth-login label {
  display: block;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.eg-auth-login label .required {
  color: #ffffff;
}
.eg-auth-login input.input-text,
.eg-auth-login input[type="text"],
.eg-auth-login input[type="email"],
.eg-auth-login input[type="password"] {
  width: 100% !important;
  height: 48px;
  padding: 0 50px 0 16px;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 15px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.eg-auth-login input.input-text::placeholder,
.eg-auth-login input[type="text"]::placeholder,
.eg-auth-login input[type="email"]::placeholder,
.eg-auth-login input[type="password"]::placeholder {
  color: rgba(255, 255, 255, 0.50);
}
.eg-auth-login input.input-text:focus,
.eg-auth-login input[type="text"]:focus,
.eg-auth-login input[type="email"]:focus,
.eg-auth-login input[type="password"]:focus {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}
.eg-auth-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  margin: 0;
}
.eg-auth-login .woocommerce-form-login__rememberme input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ffffff;
  margin: 0;
}
.eg-auth-login .woocommerce-form-login__rememberme span {
  color: rgba(255, 255, 255, 0.80);
}
.eg-auth-login .eg-auth-forgot {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.2s;
  white-space: nowrap;
  opacity: 0.85;
}
.eg-auth-login .eg-auth-forgot:hover {
  opacity: 1;
  color: #ffffff !important;
}
/* Login button: white */
.eg-auth-login .eg-auth-btn {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 24px;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none !important;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: #ffffff !important;
  color: var(--eg-orange, #FF4500) !important;
  text-transform: uppercase;
  line-height: 50px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}
.eg-auth-login .eg-auth-btn:hover {
  background: #111111 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.20);
  transform: translateY(-2px);
}
.eg-auth-login .eg-auth-btn:active {
  transform: translateY(0);
}
.eg-auth-login .eg-auth-switch {
  color: rgba(255, 255, 255, 0.70);
}
.eg-auth-login .eg-auth-switch-link {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline !important;
}
/* Password field – toggle inside span.password-input */
.eg-auth-login span.password-input {
  position: relative;
  display: block !important;
}
.eg-auth-login span.password-input .show-password-input {
  position: absolute !important;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--eg-orange, #FF4500) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  z-index: 2;
}
.eg-auth-login .show-password-input:hover {
  background: #cc3700 !important;
  color: #ffffff !important;
}
.eg-auth-login .lost_password {
  display: none;
}

/* ═══════════════════════════════════════════
   REGISTER side (white card) – dark text
   ═══════════════════════════════════════════ */
.eg-auth-register h2 {
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 8px;
  line-height: 1.2;
}
.eg-auth-register .eg-auth-subtitle {
  font-size: 15px;
  color: #888888;
  margin: 0 0 28px;
  line-height: 1.4;
}
.eg-auth-register label {
  display: block;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.eg-auth-register label .required {
  color: var(--eg-orange, #FF4500);
}
.eg-auth-register input.input-text,
.eg-auth-register input[type="text"],
.eg-auth-register input[type="email"],
.eg-auth-register input[type="password"] {
  width: 100% !important;
  height: 48px;
  padding: 0 16px;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 15px;
  color: #111111 !important;
  background: #f7f7f7 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.eg-auth-register input.input-text::placeholder,
.eg-auth-register input[type="text"]::placeholder,
.eg-auth-register input[type="email"]::placeholder,
.eg-auth-register input[type="password"]::placeholder {
  color: #aaaaaa;
}
.eg-auth-register input.input-text:focus,
.eg-auth-register input[type="text"]:focus,
.eg-auth-register input[type="email"]:focus,
.eg-auth-register input[type="password"]:focus {
  border-color: var(--eg-orange, #FF4500) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.10);
}
.eg-auth-register .eg-auth-note {
  font-size: 13px;
  color: #888888;
  line-height: 1.5;
  margin: 0 0 20px;
}
/* Register button: orange */
.eg-auth-register .eg-auth-btn,
.eg-auth-register .eg-auth-btn--outline {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 24px;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none !important;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--eg-orange, #FF4500) !important;
  color: #ffffff !important;
  text-transform: uppercase;
  line-height: 50px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(255, 69, 0, 0.20);
}
.eg-auth-register .eg-auth-btn:hover,
.eg-auth-register .eg-auth-btn--outline:hover {
  background: var(--eg-orange-dark, #E03E00) !important;
  box-shadow: 0 6px 24px rgba(255, 69, 0, 0.30);
  transform: translateY(-2px);
}
.eg-auth-register .eg-auth-btn:active {
  transform: translateY(0);
}
.eg-auth-register .eg-auth-switch {
  color: #888888;
}
.eg-auth-register .eg-auth-switch-link {
  color: var(--eg-orange, #FF4500) !important;
  font-weight: 700;
  text-decoration: none !important;
}
.eg-auth-register .show-password-input {
  color: #aaaaaa !important;
}
.eg-auth-register .show-password-input:hover {
  color: var(--eg-orange, #FF4500) !important;
}
/* Customer/vendor radio */
.eg-auth-register .user-role {
  margin: 4px 0 16px;
}
.eg-auth-register .user-role br {
  display: none;
}
.eg-auth-register .user-role label.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px 0 0;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  font-weight: 500;
}
.eg-auth-register .user-role input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--eg-orange, #FF4500);
  margin: 0;
}
/* Vendor registration fields */
.eg-auth-register .show_if_seller h2,
.eg-auth-register .show_if_seller h3,
.eg-auth-register .show_if_seller h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 16px 0 10px;
}
.eg-auth-register .show_if_seller label {
  font-size: 13px;
  font-weight: 600;
  color: #333333;
}
.eg-auth-register .show_if_seller input[type="text"],
.eg-auth-register .show_if_seller input[type="email"],
.eg-auth-register .show_if_seller input[type="url"],
.eg-auth-register .show_if_seller select {
  font-size: 15px;
  height: 48px;
  color: #111111;
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
}
.eg-auth-register .show_if_seller input:focus,
.eg-auth-register .show_if_seller select:focus {
  border-color: var(--eg-orange, #FF4500);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.10);
}
.eg-auth-register .show_if_seller small,
.eg-auth-register .show_if_seller .form-text,
.eg-auth-register .show_if_seller p.description {
  font-size: 12px;
  color: #888888;
  line-height: 1.4;
  margin-top: 4px;
}
.eg-auth-register .show_if_seller .form-row {
  margin-bottom: 14px;
}

/* ─── Common form spacing ─── */
.eg-auth-card .form-row,
.eg-auth-card .woocommerce-form-row {
  margin-bottom: 20px;
}
.eg-auth-row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.eg-auth-row--between {
  justify-content: space-between;
}

/* Desktop: hide toggle links */
@media (min-width: 769px) {
  .eg-auth-switch {
    display: none;
  }
}

/* ─── WooCommerce notices on auth page ─── */
.eg-auth-wrapper .woocommerce-notices-wrapper {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  z-index: 100;
  padding: 0;
}
.eg-auth-wrapper .woocommerce-error,
.eg-auth-wrapper .woocommerce-message,
.eg-auth-wrapper .woocommerce-info {
  background: #ffffff !important;
  border: 1px solid #eeeeee !important;
  color: #333333 !important;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  list-style: none;
  margin: 0 0 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.eg-auth-wrapper .woocommerce-error {
  border-left: 3px solid #ff4444 !important;
}
.eg-auth-wrapper .woocommerce-error li {
  color: #cc3333;
}
.eg-auth-wrapper .woocommerce-message {
  border-left: 3px solid #22c55e !important;
}
/* Links inside auth notices */
.eg-auth-wrapper .woocommerce-error a,
.eg-auth-wrapper .woocommerce-message a,
.eg-auth-wrapper .woocommerce-info a,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce-error a,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce-message a,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce-info a,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce-notices-wrapper a {
  color: var(--eg-orange, #FF4500) !important;
  font-weight: 700;
  text-decoration: underline !important;
}
/* Notices outside wrapper on orange bg – white text, no background */
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-notices-wrapper:empty {
  display: none !important;
}
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-error,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-message,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-info {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  padding: 10px 24px;
  font-size: 14px;
  margin: 0 0 4px;
  box-shadow: none;
}
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-notices-wrapper a,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-error a,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-message a,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-info a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline !important;
}
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-error li,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-message li,
body.woocommerce-account:has(.eg-auth-wrapper) .woocommerce > .woocommerce-info li {
  color: #ffffff !important;
}

/* ─── Vendor fields inside register card: constrain ─── */
.eg-auth-register .show_if_seller {
  max-height: none;
  overflow: visible;
}
.eg-auth-register .show_if_seller label {
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}
.eg-auth-register .show_if_seller input.input-text,
.eg-auth-register .show_if_seller input[type="text"],
.eg-auth-register .show_if_seller input[type="email"],
.eg-auth-register .show_if_seller input[type="url"],
.eg-auth-register .show_if_seller input[type="tel"],
.eg-auth-register .show_if_seller select,
.eg-auth-register .show_if_seller textarea {
  width: 100% !important;
  height: 44px;
  padding: 0 14px;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 14px;
  color: #111111 !important;
  background: #f8f8f8 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.eg-auth-register .show_if_seller textarea {
  height: auto;
  min-height: 80px;
  padding: 12px 14px;
}
.eg-auth-register .show_if_seller input:focus,
.eg-auth-register .show_if_seller select:focus,
.eg-auth-register .show_if_seller textarea:focus {
  border-color: var(--eg-orange, #FF4500) !important;
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.10);
  outline: none;
}
.eg-auth-register .show_if_seller .form-row {
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════
   RESET PASSWORD – centered white card on orange
   ═══════════════════════════════════════════ */
.eg-auth-wrapper--reset {
  justify-content: center;
  align-items: center;
}
.eg-auth-wrapper--reset .eg-auth-card--single {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.eg-auth-reset {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  max-width: 460px;
  flex: none !important;
  overflow: visible;
}
.eg-auth-reset .eg-auth-col-inner {
  max-width: 100%;
  padding: 48px 44px;
}
.eg-auth-reset h2 {
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 28px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 8px;
  line-height: 1.2;
}
.eg-auth-reset .eg-auth-subtitle {
  font-size: 15px;
  color: #888888;
  margin: 0 0 28px;
  line-height: 1.5;
}
.eg-auth-reset label {
  display: block;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.eg-auth-reset label .required {
  color: var(--eg-orange, #FF4500);
}
.eg-auth-reset input.input-text,
.eg-auth-reset input[type="text"],
.eg-auth-reset input[type="email"],
.eg-auth-reset input[type="password"] {
  width: 100% !important;
  height: 48px;
  padding: 0 16px;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 15px;
  color: #111111 !important;
  background: #f8f8f8 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.eg-auth-reset input.input-text:focus,
.eg-auth-reset input[type="text"]:focus,
.eg-auth-reset input[type="email"]:focus,
.eg-auth-reset input[type="password"]:focus {
  border-color: var(--eg-orange, #FF4500) !important;
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.10);
}
.eg-auth-reset input::placeholder {
  color: #aaaaaa;
}
.eg-auth-reset .eg-auth-btn {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 24px;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 2px solid var(--eg-orange, #FF4500) !important;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--eg-orange, #FF4500) !important;
  color: #ffffff !important;
  text-transform: uppercase;
  line-height: 46px;
  text-align: center;
  margin-top: 8px;
}
.eg-auth-reset .eg-auth-btn:hover {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.eg-auth-reset .eg-auth-btn:active {
  transform: translateY(0);
}
.eg-auth-reset .eg-auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
}
.eg-auth-reset .eg-auth-switch a {
  color: var(--eg-orange, #FF4500) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s;
}
.eg-auth-reset .eg-auth-switch a:hover {
  color: #111111 !important;
}
/* Show-password toggle inside reset card */
.eg-auth-reset span.password-input {
  position: relative;
  display: block !important;
}
.eg-auth-reset span.password-input .show-password-input {
  position: absolute !important;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--eg-orange, #FF4500) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  z-index: 2;
}
.eg-auth-reset span.password-input .show-password-input:hover {
  background: #cc3700 !important;
}
.eg-auth-reset input[type="password"] {
  padding-right: 50px !important;
}

/* Reset page responsive */
@media (max-width: 520px) {
  .eg-auth-reset {
    margin: 16px;
    max-width: calc(100% - 32px);
    border-radius: 20px;
  }
  .eg-auth-reset .eg-auth-col-inner {
    padding: 36px 28px;
  }
  .eg-auth-reset h2 {
    font-size: 24px;
  }
}

/* ═══════════════════════════════════════════
   Auth Responsive
   ═══════════════════════════════════════════ */

/* ─── Tablet (≤ 768px) ─── */
@media (max-width: 768px) {
  .eg-auth-wrapper {
    height: auto;
    max-height: none;
    min-height: calc(100vh - 70px - 40px);
    margin-top: 40px;
    align-items: stretch;
    flex-direction: column;
    padding: 0;
    overflow: visible;
  }
  .eg-auth-card {
    flex-direction: column !important;
    height: auto;
    min-height: 0;
    align-items: stretch;
  }
  .eg-auth-col {
    flex: none !important;
    width: 100% !important;
    overflow: visible;
  }
  .eg-auth-register {
    border-radius: 20px;
    margin: 16px;
    width: calc(100% - 32px) !important;
    box-sizing: border-box;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    max-height: none;
    overflow: visible;
  }
  .eg-auth-register .eg-auth-col-inner {
    overflow-y: visible;
    max-height: none;
  }
  .eg-auth-col-inner {
    padding: 36px 28px;
    max-width: 420px;
    margin: 0 auto;
  }
  .eg-auth-login h2,
  .eg-auth-register h2 {
    font-size: 26px;
  }

  /* Show only one panel at a time */
  .eg-auth-register {
    display: none;
  }
  .eg-auth-card--show-register .eg-auth-register {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    margin: 16px;
    width: calc(100% - 32px) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
    align-self: flex-start;
    box-sizing: border-box;
  }
  .eg-auth-card--show-register .eg-auth-login {
    display: none;
  }
  .eg-auth-switch {
    display: block;
  }
}

/* ─── Small phones (≤ 420px) ─── */
@media (max-width: 420px) {
  .eg-auth-col-inner {
    padding: 28px 20px;
  }
  .eg-auth-register {
    border-radius: 16px;
  }
  .eg-auth-login h2,
  .eg-auth-register h2 {
    font-size: 24px;
  }
  .eg-auth-login .eg-auth-subtitle,
  .eg-auth-register .eg-auth-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .eg-auth-login input.input-text,
  .eg-auth-login input[type="text"],
  .eg-auth-login input[type="email"],
  .eg-auth-login input[type="password"],
  .eg-auth-register input.input-text,
  .eg-auth-register input[type="text"],
  .eg-auth-register input[type="email"],
  .eg-auth-register input[type="password"] {
    height: 44px;
    font-size: 14px;
    padding: 0 14px;
  }
  .eg-auth-login .eg-auth-btn,
  .eg-auth-register .eg-auth-btn {
    height: 46px;
    font-size: 14px;
    line-height: 46px;
  }
  .eg-auth-register .user-role label.radio {
    display: flex;
    margin: 0 0 8px;
  }
}

/* ─── End Auth ─── */

/* --- Registration: customer/vendor radio (logged-in My Account) --- */
body.woocommerce-account #customer_login .u-column2 .user-role {
  margin: 8px 0 12px;
}
body.woocommerce-account #customer_login .u-column2 .user-role br {
  display: none;
}
body.woocommerce-account #customer_login .u-column2 .user-role label.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 0 0;
  font-size: 15px;
}
body.woocommerce-account #customer_login .u-column2 .user-role input[type="radio"] {
  margin: 0;
}

/* --- Vendor registration typography (logged-in My Account) --- */
body.woocommerce-account .show_if_seller,
#dokan-vendor-register,
#dokan-seller-setup,
#dokan-vendor-dashboard {
  font-family: Arial, sans-serif;
}
body.woocommerce-account .show_if_seller h2,
body.woocommerce-account .show_if_seller h3,
body.woocommerce-account .show_if_seller h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0 10px;
  line-height: 1.3;
}
body.woocommerce-account .show_if_seller label {
  font-size: 15px;
  font-weight: 600;
  color: #111;
}
body.woocommerce-account .show_if_seller input[type="text"],
body.woocommerce-account .show_if_seller input[type="email"],
body.woocommerce-account .show_if_seller input[type="url"],
body.woocommerce-account .show_if_seller select {
  font-size: 15px;
  height: 44px;
  border-radius: 6px;
}
body.woocommerce-account .show_if_seller small,
body.woocommerce-account .show_if_seller .form-text,
body.woocommerce-account .show_if_seller p.description {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  margin-top: 4px;
}
body.woocommerce-account .show_if_seller .form-row {
  margin-bottom: 12px;
}

/* --- My Account Addresses --- */
body.woocommerce-account .woocommerce-Addresses~.woocommerce .woocommerce-MyAccount-content>p,
body.woocommerce-account .woocommerce-Addresses .woocommerce-MyAccount-content>p,
body.woocommerce-account .woocommerce-MyAccount-content>p:first-child {
  text-align: left;
  font-size: 15px;
  color: #555;
}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 10px;
}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0;
}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title .edit {
  font-size: 14px;
  font-weight: 600;
}
body.woocommerce-account .woocommerce-Addresses address {
  font-style: normal;
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
body.woocommerce-account .woocommerce-Addresses .u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- View Order: address fix --- */
body.woocommerce-view-order section.woocommerce-customer-details {
  margin-top: 24px;
  text-align: left;
}
body.woocommerce-view-order section.woocommerce-customer-details .woocommerce-column__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 12px;
  text-align: left;
}
body.woocommerce-view-order section.woocommerce-customer-details address {
  font-style: normal;
  text-align: left !important;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  max-width: 36rem;
}
body.woocommerce-view-order section.woocommerce-customer-details .woocommerce-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* =====================================
   EG Woo My Account – match Dokan
   ===================================== */
body.woocommerce-account {
  background: #f5f5f5;
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
}
body.woocommerce-account .woocommerce {
  max-width: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  box-sizing: border-box;
}

/* --- Sidebar card (navigation) --- */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  flex: 0 0 260px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  box-sizing: border-box;
  overflow: hidden;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  position: relative;
  border-bottom: 1px solid #eeeeee;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active:after {
  position: absolute;
  right: 0;
  top: 1.3rem;
  border: transparent solid;
  content: ' ';
  height: 0;
  width: 0;
  pointer-events: none;
  border-color: transparent #fff transparent transparent;
  border-left-color: #fff;
  border-width: 16px 16px 16px 0;
  margin-top: -16px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  background: transparent;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--eg-orange, var(--eg-orange));
  color: #ffffff;
}

/* --- Content card (right side) --- */
body.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1 1 0;
  max-width: 100%;
  width: auto;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px 32px 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-content>div {
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-family: var(--eg-font, Arial, Helvetica, sans-serif);
  font-weight: 600;
  color: #111111;
}
body.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: 18px;
  margin: 0 0 16px;
}
body.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-size: 16px;
  margin: 20px 0 12px;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
  width: 100%;
}

/* --- My Account: global EG buttons across all endpoints/tabs --- */
body.woocommerce-account .woocommerce-MyAccount-content a.button,
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content input.button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button,
body.woocommerce-account .woocommerce-MyAccount-content .button.woocommerce-Button,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"],
body.woocommerce-account .woocommerce-MyAccount-content .button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px !important;
  background: var(--eg-orange, #FF4500) !important;
  border: 1px solid var(--eg-orange, #FF4500) !important;
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
body.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content input.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button.woocommerce-Button:hover,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button.alt:hover {
  background: var(--eg-orange-dark, #E03E00) !important;
  border-color: var(--eg-orange-dark, #E03E00) !important;
  color: #ffffff !important;
}
body.woocommerce-account .woocommerce-MyAccount-content a.button:focus,
body.woocommerce-account .woocommerce-MyAccount-content button.button:focus,
body.woocommerce-account .woocommerce-MyAccount-content input.button:focus,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button:focus,
body.woocommerce-account .woocommerce-MyAccount-content .button.woocommerce-Button:focus,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:focus,
body.woocommerce-account .woocommerce-MyAccount-content .button.alt:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
}

/* --- My Account: Payment methods action buttons --- */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-PaymentMethod .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-PaymentMethod .woocommerce-Button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .woocommerce-Button {
  background: var(--eg-orange, #FF4500) !important;
  border: 1px solid var(--eg-orange, #FF4500) !important;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-PaymentMethod .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-PaymentMethod .woocommerce-Button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-paymentMethods .woocommerce-Button:hover {
  background: var(--eg-orange-dark, #E03E00) !important;
  border-color: var(--eg-orange-dark, #E03E00) !important;
  color: #ffffff !important;
}

/* --- My Account: Purchased events "View" action button --- */
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-action .woocommerce-button.button,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-action a.button {
  background: var(--eg-orange, #FF4500) !important;
  border: 1px solid var(--eg-orange, #FF4500) !important;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-action .woocommerce-button.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table .woocommerce-orders-table__cell-action a.button:hover {
  background: var(--eg-orange-dark, #E03E00) !important;
  border-color: var(--eg-orange-dark, #E03E00) !important;
  color: #ffffff !important;
}

/* Remove container cap */
body.woocommerce-account #content-wrap .container,
body.woocommerce-account #content-wrap .wpex-container {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
body.woocommerce-account .account-page-nav .woocommerce {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
body.woocommerce-account.woocommerce-account-nav-top .woocommerce-MyAccount {
  display: flex !important;
  align-items: flex-start;
  gap: 32px;
  max-width: 100%;
  width: 100%;
}

/* Stripe iframe fix – see payment section below for full styling */

/* =============================================
   EG Cart – Compact, branded
   ============================================= */

/* --- Cart table: compact sizing --- */
body.woocommerce-cart .shop_table.cart {
  font-size: 14px;
  border-collapse: collapse;
}
body.woocommerce-cart .shop_table.cart th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
  padding: 8px 10px;
  border-bottom: 2px solid #eee;
}
body.woocommerce-cart .shop_table.cart td {
  padding: 10px;
  vertical-align: middle;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

/* Remove button */
body.woocommerce-cart .shop_table.cart .product-remove a.remove {
  font-size: 18px;
  color: #999 !important;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  display: inline-block;
  border-radius: 4px;
  transition: all 0.2s;
}
body.woocommerce-cart .shop_table.cart .product-remove a.remove:hover {
  background: var(--eg-orange, #FF4500) !important;
  color: #fff !important;
}

/* Thumbnail */
body.woocommerce-cart .shop_table.cart .product-thumbnail img {
  width: 56px !important;
  height: 56px !important;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}

/* Product name */
body.woocommerce-cart .shop_table.cart .product-name a {
  color: var(--eg-orange, #FF4500);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
body.woocommerce-cart .shop_table.cart .product-name a:hover {
  color: var(--eg-orange-dark, #E03E00);
}

/* Ticket details (Eventin) */
body.woocommerce-cart .shop_table.cart .etn-ticket-details {
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}
body.woocommerce-cart .shop_table.cart .single-ticket-details__title {
  font-weight: 600;
  color: #333;
  margin: 0;
  font-size: 13px;
}

/* Price column */
body.woocommerce-cart .shop_table.cart .product-price {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Quantity input */
body.woocommerce-cart .shop_table.cart .product-quantity .quantity input.qty {
  width: 48px;
  height: 32px;
  padding: 4px 6px;
  font-size: 14px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Subtotal */
body.woocommerce-cart .shop_table.cart .product-subtotal {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* --- Cart actions row (coupon + update) --- */
body.woocommerce-cart .shop_table.cart td.actions {
  padding: 12px 10px;
  border-top: 2px solid #eee;
}
body.woocommerce-cart .shop_table.cart td.actions .coupon {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
body.woocommerce-cart .shop_table.cart td.actions .coupon input.input-text {
  padding: 7px 10px;
  font-size: 13px;
  border: 1px solid #ddd;
  border-radius: 6px;
  height: auto;
  min-width: 140px;
}
body.woocommerce-cart .shop_table.cart td.actions .coupon input.input-text:focus {
  border-color: var(--eg-orange, #FF4500);
  outline: none;
}

/* --- Cart buttons: branded --- */
body.woocommerce-cart .shop_table.cart td.actions button,
body.woocommerce-cart .shop_table.cart td.actions .button {
  padding: 8px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border-radius: 6px !important;
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
  cursor: pointer;
  transition: all 0.2s !important;
  line-height: 1.4 !important;
}
body.woocommerce-cart .shop_table.cart td.actions button:hover,
body.woocommerce-cart .shop_table.cart td.actions .button:hover {
  background: var(--eg-orange, #FF4500) !important;
  border-color: var(--eg-orange, #FF4500) !important;
  color: #fff !important;
}

/* Apply coupon button – branded orange */
body.woocommerce-cart .shop_table.cart td.actions .coupon button,
body.woocommerce-cart .shop_table.cart td.actions .coupon .button {
  background: var(--eg-orange, #FF4500) !important;
  border-color: var(--eg-orange, #FF4500) !important;
  color: #fff !important;
}
body.woocommerce-cart .shop_table.cart td.actions .coupon button:hover,
body.woocommerce-cart .shop_table.cart td.actions .coupon .button:hover {
  background: var(--eg-orange-dark, #E03E00) !important;
  border-color: var(--eg-orange-dark, #E03E00) !important;
}

/* --- Cart totals: hidden, only action buttons remain --- */
body.woocommerce-cart .cart_totals,
body.woocommerce-cart .cart-collaterals .cart_totals {
  display: none !important;
}

/* --- Checkout + GPay wrapper --- */
body.woocommerce-cart .wc-proceed-to-checkout {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  padding: 0 !important;
  margin-top: 12px !important;
}

/* Checkout button: same width as GPay, EG branded */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart a.checkout-button {
  display: block !important;
  width: 200px !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 4px !important;
  background: var(--eg-orange, #FF4500) !important;
  color: #fff !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  box-sizing: border-box !important;
}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart a.checkout-button:hover {
  background: var(--eg-orange-dark, #E03E00) !important;
  color: #fff !important;
}

/* GPay wrapper: same 200px width */
body.woocommerce-cart .wc-proceed-to-checkout #wc-stripe-payment-request-wrapper,
body.woocommerce-cart .cart-collaterals #wc-stripe-payment-request-wrapper {
  width: 200px !important;
  max-width: 200px !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Hide the separator text */
body.woocommerce-cart #wc-stripe-payment-request-button-separator {
  display: none !important;
}
/* GPay button itself: same height */
body.woocommerce-cart #wc-stripe-payment-request-button {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 4px !important;
  width: 100% !important;
}

/* =============================================
   EG Checkout – Compact sizing
   ============================================= */

/* --- Checkout: overall typography --- */
body.woocommerce-checkout {
  font-size: 14px;
}
body.woocommerce-checkout h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
body.woocommerce-checkout h3#order_review_heading {
  font-size: 18px;
}
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

/* --- Checkout: form fields compact --- */
body.woocommerce-checkout .form-row label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
}
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .select2-container .select2-selection--single {
  font-size: 14px;
  padding: 8px 10px;
  height: auto;
  min-height: 38px;
  border-radius: 6px;
  border: 1px solid #ddd;
}
body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus {
  border-color: var(--eg-orange, #FF4500);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 69, 0, 0.1);
}
body.woocommerce-checkout .form-row {
  margin-bottom: 10px;
}

/* --- Contact information heading --- */
body.woocommerce-checkout .woocommerce-checkout h3:not(#order_review_heading) {
  font-size: 16px;
}

/* --- Checkout: order review table compact --- */
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  font-size: 14px;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #555;
  padding: 6px 0;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 8px 0;
  font-size: 14px;
  vertical-align: top;
}

/* Product name in review */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  font-size: 14px;
  color: #111;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name a {
  color: var(--eg-orange, #FF4500);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name a:hover {
  color: var(--eg-orange-dark, #E03E00);
}

/* Ticket variation details (Eventin) */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .etn-ticket-details {
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .single-ticket-details__title {
  font-weight: 600;
  color: #333;
  margin: 0;
  font-size: 13px;
}

/* Price breakdown: $50.00 × 2 */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .eg-price-breakdown {
  display: block;
  font-size: 12px;
  color: #888;
  font-weight: 400;
  margin-top: 2px;
}

/* Product total (subtotal column) */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

/* Tfoot rows: subtotal, fees, total */
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 0;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  font-weight: 600;
  padding: 8px 0;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th {
  font-size: 15px;
  font-weight: 700;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 15px;
  font-weight: 700;
  color: var(--eg-orange, #FF4500);
}

/* --- Checkout: place order button --- */
body.woocommerce-checkout #place_order {
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  border-radius: 6px !important;
  background: var(--eg-orange, #FF4500) !important;
  color: #fff !important;
  border: none !important;
  transition: background 0.2s !important;
  width: 100%;
}
body.woocommerce-checkout #place_order:hover {
  background: var(--eg-orange-dark, #E03E00) !important;
}

/* --- Checkout: payment methods section --- */
body.woocommerce-checkout #payment {
  font-size: 14px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body.woocommerce-checkout #payment .payment_methods {
  padding: 0 !important;
  border: none !important;
  margin: 0 0 12px;
  background: transparent !important;
}
body.woocommerce-checkout #payment .payment_methods li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  background: transparent !important;
}
body.woocommerce-checkout #payment .payment_methods li:last-child {
  border-bottom: none;
}
body.woocommerce-checkout #payment .payment_methods li label {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
}
body.woocommerce-checkout #payment .payment_methods li img {
  max-height: 20px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Payment box description (test mode, etc.) */
body.woocommerce-checkout #payment .payment_box {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #666 !important;
  padding: 10px 14px !important;
  background: #f9f9f9 !important;
  border-radius: 6px !important;
  margin-top: 6px !important;
}
body.woocommerce-checkout #payment .payment_box p {
  font-size: 12px !important;
  line-height: 1.5 !important;
  margin: 0 0 4px !important;
}
body.woocommerce-checkout #payment .payment_box p:last-child {
  margin-bottom: 0 !important;
}

/* Stripe/card fields: force vertical full-width layout */
body.woocommerce-checkout #payment .payment_box .form-row,
body.woocommerce-checkout #payment .payment_box .form-row-first,
body.woocommerce-checkout #payment .payment_box .form-row-last,
body.woocommerce-checkout #payment .payment_box .form-row-wide {
  float: none !important;
  clear: both;
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: block;
}
body.woocommerce-checkout #payment .payment_box .form-row-first,
body.woocommerce-checkout #payment .payment_box .form-row-last {
  margin-bottom: 10px !important;
}
body.woocommerce-checkout #payment .payment_box input.input-text,
body.woocommerce-checkout #payment .payment_box select,
body.woocommerce-checkout #payment .payment_box textarea,
body.woocommerce-checkout #payment .payment_box .StripeElement,
body.woocommerce-checkout #payment .payment_box .wc-stripe-elements-field,
body.woocommerce-checkout #payment .payment_box iframe {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
body.woocommerce-checkout #payment .payment_box .wc-stripe-elements-field {
  min-height: 42px;
}

/* Stripe UPE element container – compact and contained */
body.woocommerce-checkout .wc-stripe-upe-element {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
/* The Stripe iframe renders its own form fields.
   We control the container size; Stripe adapts its layout. */
body.woocommerce-checkout .wc-stripe-upe-element iframe {
  width: 100% !important;
  min-height: 220px !important;
  max-height: 320px !important;
}

/* Prevent checkout from ever overflowing horizontally */
body.woocommerce-checkout {
  overflow-x: hidden;
}
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  max-width: 100%;
  box-sizing: border-box;
}

/* Stripe field labels & text inside the payment box */
body.woocommerce-checkout #payment .wc-stripe-upe-element label,
body.woocommerce-checkout #payment .payment_box label {
  font-size: 13px !important;
  font-weight: 600;
}

/* Stripe test mode notice – shrink it significantly */
body.woocommerce-checkout #payment .payment_box .wc-stripe-upe-element ~ p,
body.woocommerce-checkout #payment .payment_box > p:first-child {
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #888 !important;
  margin-bottom: 8px !important;
}

/* Save payment checkbox and terms */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout .wc-stripe-upe-element + p,
body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew {
  font-size: 13px;
  line-height: 1.5;
}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label {
  font-size: 13px;
}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
  color: var(--eg-orange, #FF4500);
}

/* Payment section inner padding */
body.woocommerce-checkout #payment .place-order {
  padding: 12px 0 0 !important;
}

/* =============================================
   EG Checkout – Timer, Coupon, Layout
   ============================================= */

/* --- Timer: reposition next to "Your order" --- */
.eg-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.eg-order-header #order_review_heading,
.eg-order-header h3 {
  margin: 0 !important;
}

/* Timer box – branded and compact */
#payment-timer-box,
#payment-timer-box.eg-payment-timer {
  padding: 6px 14px !important;
  border: 1px solid var(--eg-orange, #FF4500) !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  background-color: #fff3ed !important;
  color: var(--eg-orange, #FF4500) !important;
  text-align: center !important;
  margin: 0 !important;
  white-space: nowrap;
  line-height: 1.4;
}
#payment-timer-box #payment-timer {
  font-weight: 700;
  font-size: 14px;
  color: var(--eg-orange-dark, #E03E00);
}

/* --- Hide default coupon toggle at top of checkout --- */
.woocommerce-form-coupon-toggle,
.checkout_coupon.woocommerce-form-coupon {
  display: none !important;
}

/* --- Coupon row inside order review table --- */
.eg-coupon-row td {
  padding: 12px 0 4px !important;
  border-top: none !important;
}
.eg-checkout-coupon {
  margin: 0;
}
.eg-coupon-form {
  display: block;
}
.eg-coupon-input-wrap {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.eg-coupon-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.eg-coupon-input:focus {
  border-color: var(--eg-orange, #FF4500);
}
.eg-coupon-input::placeholder {
  color: #aaa;
}
.eg-coupon-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  background: var(--eg-orange, #FF4500);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.eg-coupon-btn:hover {
  background: var(--eg-orange-dark, #E03E00);
}

/* --- Hide vendor/promoter info in cart & checkout (CSS safety net) ---
   Primary removal is in PHP (functions.php removes Dokan filter).
   These selectors catch edge cases if data still renders. */
.woocommerce-checkout-review-order-table .product-name dt.variation-Vendor,
.woocommerce-checkout-review-order-table .product-name dd.variation-Vendor,
.woocommerce-cart-form .product-name dt.variation-Vendor,
.woocommerce-cart-form .product-name dd.variation-Vendor,
.woocommerce-checkout-review-order-table .product-name dt.variation-Promoter,
.woocommerce-checkout-review-order-table .product-name dd.variation-Promoter,
.woocommerce-cart-form .product-name dt.variation-Promoter,
.woocommerce-cart-form .product-name dd.variation-Promoter {
  display: none !important;
}

/* =============================================
   EG Cart & Checkout – Tablet (≤768px)
   ============================================= */
@media (max-width: 768px) {
  /* Cart tablet: checkout buttons full width */
  body.woocommerce-cart .wc-proceed-to-checkout {
    align-items: stretch !important;
  }
  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
  }
  body.woocommerce-cart .wc-proceed-to-checkout #wc-stripe-payment-request-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Checkout: full-width layout – prevent horizontal overflow */
  body.woocommerce-checkout .woocommerce {
    max-width: 100%;
    overflow-x: hidden;
  }
  body.woocommerce-checkout .col2-set,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Checkout: compact form fields */
  body.woocommerce-checkout .form-row {
    margin-bottom: 8px;
    width: 100% !important;
    float: none !important;
    box-sizing: border-box;
  }
  body.woocommerce-checkout .form-row input.input-text,
  body.woocommerce-checkout .form-row select,
  body.woocommerce-checkout .form-row textarea {
    min-height: 36px;
    font-size: 13px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Checkout: order review table – prevent overflow */
  body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100% !important;
    table-layout: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    padding: 6px 4px;
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    max-width: none;
    overflow: visible;
    text-overflow: initial;
    white-space: normal;
    word-break: break-word;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name a {
    font-size: 13px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    width: 90px;
    min-width: 70px;
    text-align: right;
  }

  /* Checkout: tfoot compact */
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
    font-size: 12px;
    padding: 6px 4px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    font-size: 13px;
    padding: 6px 4px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 14px;
  }

  /* Checkout: payment section – contain Stripe */
  body.woocommerce-checkout #payment {
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  body.woocommerce-checkout #payment .payment_box {
    font-size: 11px !important;
    padding: 8px 10px !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  body.woocommerce-checkout #payment .payment_box p {
    font-size: 11px !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Stripe UPE element – fit within container */
  body.woocommerce-checkout .wc-stripe-upe-element {
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  body.woocommerce-checkout .wc-stripe-upe-element iframe {
    max-width: 100% !important;
    min-height: 200px !important;
    max-height: 340px !important;
  }
  /* Stripe payment request (GPay/Apple Pay) */
  body.woocommerce-checkout #wc-stripe-payment-request-wrapper {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Terms & conditions – wrap properly */
  body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: 12px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label {
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
  }
  body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
  }
}

/* =============================================
   EG Cart & Checkout – Mobile (≤600px)
   ============================================= */
@media (max-width: 600px) {
  /* Cart mobile: compact table */
  body.woocommerce-cart .shop_table.cart th,
  body.woocommerce-cart .shop_table.cart td {
    padding: 8px 6px;
    font-size: 13px;
  }
  body.woocommerce-cart .shop_table.cart .product-thumbnail img {
    width: 44px !important;
    height: 44px !important;
  }
  body.woocommerce-cart .shop_table.cart td.actions {
    padding: 10px 6px;
  }
  body.woocommerce-cart .shop_table.cart td.actions .coupon {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }
  body.woocommerce-cart .shop_table.cart td.actions .coupon input.input-text {
    width: 100%;
    min-width: auto;
  }
  body.woocommerce-cart .shop_table.cart td.actions .coupon button {
    width: 100%;
  }
  body.woocommerce-cart .shop_table.cart td.actions button[name="update_cart"] {
    width: 100%;
    margin-top: 6px;
  }

  /* Cart mobile: checkout buttons */
  body.woocommerce-cart .wc-proceed-to-checkout {
    align-items: stretch !important;
  }
  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
  }
  body.woocommerce-cart .wc-proceed-to-checkout #wc-stripe-payment-request-wrapper {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Checkout mobile: timer */
  .eg-order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  #payment-timer-box,
  #payment-timer-box.eg-payment-timer {
    font-size: 11px !important;
    padding: 4px 10px !important;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: left;
  }

  /* Checkout mobile: headings */
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout h3#order_review_heading {
    font-size: 16px !important;
  }
  body.woocommerce-checkout .woocommerce-checkout h3:not(#order_review_heading) {
    font-size: 14px;
  }

  /* Checkout mobile: coupon */
  .eg-coupon-row td {
    padding: 8px 0 4px !important;
  }
  .eg-coupon-input-wrap {
    flex-direction: column;
    gap: 6px;
  }
  .eg-coupon-input {
    font-size: 13px;
    padding: 8px 10px;
  }
  .eg-coupon-btn {
    width: 100%;
    padding: 10px;
    font-size: 13px;
  }

  /* Checkout mobile: review table – even tighter */
  body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    font-size: 12px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th {
    padding: 5px 2px;
    font-size: 12px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name a {
    font-size: 12px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .eg-price-breakdown {
    font-size: 10px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .etn-ticket-details {
    font-size: 11px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .single-ticket-details__title {
    font-size: 11px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    font-size: 12px;
    width: 75px;
    min-width: 60px;
  }

  /* Checkout mobile: tfoot */
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
    font-size: 11px;
    padding: 5px 2px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    font-size: 12px;
    padding: 5px 2px;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 13px;
  }

  /* Checkout mobile: form fields */
  body.woocommerce-checkout .form-row input.input-text,
  body.woocommerce-checkout .form-row select,
  body.woocommerce-checkout .form-row textarea {
    min-height: 34px;
    font-size: 13px;
    padding: 6px 8px;
  }

  /* Checkout mobile: payment section */
  body.woocommerce-checkout #payment {
    padding: 0 !important;
  }
  body.woocommerce-checkout #payment .payment_box {
    font-size: 10px !important;
    padding: 6px 8px !important;
  }
  body.woocommerce-checkout #payment .payment_box p {
    font-size: 10px !important;
  }
  body.woocommerce-checkout #payment .payment_methods li {
    padding: 6px 0;
  }
  body.woocommerce-checkout #payment .payment_methods li label {
    font-size: 12px;
  }
  body.woocommerce-checkout #payment .payment_methods li label img {
    max-height: 16px;
  }

  /* Stripe iframe – mobile fit */
  body.woocommerce-checkout .wc-stripe-upe-element iframe {
    min-height: 180px !important;
    max-height: 350px !important;
  }

  /* Place order button – full width */
  body.woocommerce-checkout #place_order {
    padding: 10px 16px !important;
    font-size: 13px !important;
    width: 100% !important;
  }

  /* Terms – mobile compact */
  body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: 11px;
  }
  body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label {
    font-size: 11px;
  }

  /* Save payment method checkbox */
  body.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew {
    font-size: 11px;
  }
}

/* =====================================
   WooCommerce Mobile
   ===================================== */
@media (max-width: 768px) {
  body.woocommerce-account .woocommerce {
    flex-direction: column;
    gap: 16px;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    border-radius: 12px;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    padding: 12px 16px;
  }
  body.woocommerce-account.woocommerce-account-nav-top .woocommerce-MyAccount {
    flex-direction: column;
    gap: 16px;
  }
  body.woocommerce-account.woocommerce-account-nav-top .woocommerce-MyAccount-navigation,
  body.woocommerce-account.woocommerce-account-nav-top .woocommerce-MyAccount-content {
    width: 100%;
    flex: 0 0 auto;
  }
  body.woocommerce-account.woocommerce-account-nav-top .woocommerce-MyAccount-content {
    padding: 16px 16px 24px;
  }
  body.woocommerce-account.woocommerce-account-nav-top .woocommerce-MyAccount-navigation li a {
    padding: 12px 16px;
  }
  body.woocommerce-view-order section.woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.woocommerce-account .account-page-nav .woocommerce {
    flex-direction: column;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation {
    order: 1;
    width: 100%;
  }
  body.woocommerce-account .woocommerce-MyAccount-content {
    order: 2;
    width: 100%;
  }
  body.woocommerce-account .woocommerce-Addresses .u-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.woocommerce-account .account-page-nav .woocommerce {
    flex-direction: column;
    gap: 16px;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    border-radius: 12px;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation li a {
    padding: 12px 16px;
  }
  .woocommerce-pagination .woocommerce-pagination__page-arrows-label,
  .woocommerce-pagination .woocommerce-pagination__page-picker {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .woocommerce-account .show_if_seller h2,
  .woocommerce-account .show_if_seller h3 {
    font-size: 18px;
  }
  .woocommerce-account .show_if_seller label {
    font-size: 14px;
  }
}
@media (max-width: 420px) {
  .woocommerce-account #customer_login .u-column2 .user-role br {
    display: initial;
  }
  .woocommerce-account #customer_login .u-column2 .user-role label.radio {
    display: block;
    margin: 0 0 8px;
  }
}

/* =============================================
   Order Received / Thank-You page
   ============================================= */

/* -- Confirmation message -------------------- */
.woocommerce-order > p:first-of-type,
.woocommerce-order .woocommerce-notice--success {
  background: #fff;
  border-left: 4px solid var(--eg-orange, #FF4500);
  padding: 16px 20px;
  border-radius: var(--eg-radius-sm, 6px);
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 24px;
}

/* -- Order overview list (order number, date, email, total, payment) -- */
.woocommerce-order .woocommerce-order-overview.order_details {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--eg-radius-sm, 6px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.woocommerce-order .woocommerce-order-overview.order_details li {
  padding: 14px 20px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  color: #666;
  margin: 0;
}
.woocommerce-order .woocommerce-order-overview.order_details li:last-child {
  border-bottom: none;
}
.woocommerce-order .woocommerce-order-overview.order_details li strong {
  display: block;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

/* -- Section headings (Order details, Billing address, Eventin Ticket Details) -- */
.woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-customer-details .woocommerce-column__title,
.woocommerce-order h2.woocommerce-column__title {
  font-family: Gotham, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--eg-orange, #FF4500);
  display: inline-block;
}

/* -- Order details table & Eventin ticket table -- */
.woocommerce-order .woocommerce-table--order-details,
.woocommerce-order .shop_table.order_details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--eg-radius-sm, 6px);
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 24px;
  overflow: hidden;
  font-size: 13px;
}
.woocommerce-order .woocommerce-table--order-details thead th,
.woocommerce-order .shop_table.order_details thead th {
  background: #1B2A3D;
  color: #fff;
  font-family: Gotham, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  border: none;
  text-align: left;
}
.woocommerce-order .woocommerce-table--order-details thead th:last-child,
.woocommerce-order .shop_table.order_details thead th:last-child {
  text-align: right;
}
.woocommerce-order .woocommerce-table--order-details tbody td,
.woocommerce-order .shop_table.order_details tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 13px;
  vertical-align: middle;
}
.woocommerce-order .woocommerce-table--order-details tbody tr:last-child td {
  border-bottom: none;
}
.woocommerce-order .woocommerce-table--order-details tbody .product-name {
  font-weight: 600;
  color: #1a1a1a;
}
.woocommerce-order .woocommerce-table--order-details tbody .product-total {
  text-align: right;
  font-weight: 600;
}
.woocommerce-order .woocommerce-table--order-details tfoot th,
.woocommerce-order .shop_table.order_details tfoot th {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.woocommerce-order .woocommerce-table--order-details tfoot td,
.woocommerce-order .shop_table.order_details tfoot td {
  padding: 10px 16px;
  font-size: 13px;
  text-align: right;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child td {
  font-size: 15px;
  font-weight: 700;
  color: var(--eg-orange, #FF4500);
  border-bottom: none;
}

/* -- Order Again & action buttons -- */
.woocommerce-order .order-actions-button,
.woocommerce-order a.order-again .button,
.woocommerce-order .order-again a.button,
.woocommerce-order a.button.order-again {
  background-color: var(--eg-orange, #FF4500) !important;
  border-color: var(--eg-orange, #FF4500) !important;
  color: #fff !important;
  border-radius: var(--eg-radius-sm, 6px) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}
.woocommerce-order .order-actions-button:hover,
.woocommerce-order a.order-again .button:hover,
.woocommerce-order .order-again a.button:hover,
.woocommerce-order a.button.order-again:hover {
  background-color: var(--eg-orange-dark, #E03E00) !important;
  border-color: var(--eg-orange-dark, #E03E00) !important;
}

/* -- Download Ticket link -- */
.woocommerce-order .shop_table.order_details a[href*="download_ticket"],
.woocommerce-order .shop_table.order_details a[href*="etn-attendee"] {
  background-color: var(--eg-orange, #FF4500);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--eg-radius-sm, 6px);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}
.woocommerce-order .shop_table.order_details a[href*="download_ticket"]:hover,
.woocommerce-order .shop_table.order_details a[href*="etn-attendee"]:hover {
  background-color: var(--eg-orange-dark, #E03E00);
  color: #fff;
}

/* -- Billing address section -- */
.woocommerce-order .woocommerce-customer-details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--eg-radius-sm, 6px);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.woocommerce-order .woocommerce-customer-details address {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  font-style: normal;
}
.woocommerce-order .woocommerce-customer-details address p {
  margin: 2px 0;
}

/* -- Eventin order status bar -- */
.woocommerce-order .etn-order-status,
.woocommerce-order [class*="order-status"] {
  font-size: 13px;
  color: #555;
  margin-bottom: 16px;
}

/* -- Eventin ticket table: 4-column layout -- */
.woocommerce-order .shop_table.order_details thead th.attendee-name,
.woocommerce-order .shop_table.order_details thead th.attendee-ticket-name,
.woocommerce-order .shop_table.order_details thead th.attendee-event,
.woocommerce-order .shop_table.order_details thead th.attendee-action {
  text-align: left;
}
.woocommerce-order .shop_table.order_details thead th.attendee-action {
  text-align: center;
}
.woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) {
  table-layout: fixed;
}
.woocommerce-order .shop_table.order_details tbody td:last-child {
  text-align: center;
}
.woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) thead th.attendee-action,
.woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td:last-child {
  white-space: nowrap;
}
.woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td:last-child a {
  white-space: nowrap;
}

/* --- Woo order details alignment and cleanup --- */
.woocommerce-order .order-again,
.woocommerce-order .order-again a,
.woocommerce-order .order-again .button {
  display: none !important;
}
.woocommerce-order table.woocommerce-table--order-details tbody td:last-child,
.woocommerce-order table.woocommerce-table--order-details tfoot td {
  text-align: right !important;
  vertical-align: top;
}
.woocommerce-order table.woocommerce-table--order-details tbody .product-total {
  white-space: nowrap;
  font-weight: 700;
}

/* -- Responsive -- */
@media (max-width: 600px) {
  .woocommerce-order .woocommerce-order-overview.order_details {
    grid-template-columns: 1fr;
  }
  .woocommerce-order .woocommerce-table--order-details,
  .woocommerce-order .shop_table.order_details {
    font-size: 12px;
  }
  .woocommerce-order .woocommerce-table--order-details thead th,
  .woocommerce-order .shop_table.order_details thead th {
    font-size: 11px;
    padding: 8px 10px;
  }
  .woocommerce-order .woocommerce-table--order-details tbody td,
  .woocommerce-order .woocommerce-table--order-details tfoot td,
  .woocommerce-order .woocommerce-table--order-details tfoot th,
  .woocommerce-order .shop_table.order_details tbody td,
  .woocommerce-order .shop_table.order_details tfoot td,
  .woocommerce-order .shop_table.order_details tfoot th {
    padding: 8px 10px;
  }
  .woocommerce-order .woocommerce-customer-details {
    padding: 16px;
  }
  /* Eventin ticket table on mobile: convert to vertical cards, no horizontal scroll */
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) thead th.attendee-ticket-name,
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td:nth-child(2) {
    display: none !important;
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) {
    display: block;
    border: none;
    background: transparent;
    min-width: 0;
    overflow: visible !important;
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) thead {
    display: none;
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody {
    display: block;
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody tr {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--eg-radius-sm, 6px);
    padding: 10px 12px;
    margin-bottom: 12px;
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody tr:last-child {
    margin-bottom: 0;
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td {
    display: block;
    width: 100% !important;
    padding: 6px 0;
    border: 0;
    text-align: left !important;
    white-space: normal;
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td::before {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td:nth-child(1)::before {
    content: "Attendee Name";
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td:nth-child(3)::before {
    content: "Event";
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td:nth-child(4)::before {
    content: "Action";
  }
  .woocommerce-order .shop_table.order_details:has(th.attendee-ticket-name) tbody td:nth-child(4) a {
    white-space: nowrap;
  }
  /* Keep amounts right-aligned on mobile like desktop */
  .woocommerce-order .woocommerce-table--order-details tbody .product-total,
  .woocommerce-order .shop_table.order_details tbody .product-total,
  .woocommerce-order .woocommerce-table--order-details tfoot td,
  .woocommerce-order .shop_table.order_details tfoot td {
    text-align: right !important;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
}
