/* ======================================================
   OBUY HEADER HOTFIX — 2026-03-06
   Fix: broken search bar + menu wrapping to next line
   Loaded LAST via functions.php (handle: obuy-overrides)
   ====================================================== */

/* Hide tagline under logo in header (it breaks vertical rhythm) */
#wf_header .site--logo .site-description,
#wf_header .wf_mobilenav-logo .site-description {
  display: none !important;
  margin: 0 !important;
}

/* Keep logo compact and aligned */
#wf_header .site--logo,
#wf_header .wf_mobilenav-logo .site--logo {
  display: flex !important;
  align-items: center !important;
}

#wf_header .site--logo .custom-logo,
#wf_header .wf_mobilenav-logo .site--logo .custom-logo {
  width: auto !important;
  height: auto !important;
  max-height: 58px !important;
  max-width: 220px !important;
  object-fit: contain !important;
}

/* ---------- TOP HEADER ROW (logo / search / contact) ---------- */
@media (min-width: 992px) {
  .header--six .wf_navbar > .wf-container > .wf-row.align-items-center {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .header--six .wf_navbar .wf-col-lg-2,
  .header--six .wf_navbar .wf-col-lg-6,
  .header--six .wf_navbar .wf-col-lg-4 {
    display: flex !important;
    align-items: center !important;
    min-height: 1px;
  }

  .header--six .wf_navbar .wf-col-lg-6,
  .header--six .wf_navbar .wf-col-lg-4 {
    min-width: 0 !important;
  }
}

/* Search container */
.header--six .wf_navbar-search-form,
.header--six .wf_navbar-search-form .header-search-form {
  width: 100% !important;
}

.header--six .wf_navbar-search-form .header-search-form {
  background: transparent !important;
}

/* Build the form in one clean row */
.header--six .wf_navbar-search-form .header-search-form form {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 48px !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  overflow: hidden !important;
}

/* Category select = first element */
.header--six .wf_navbar-search-form .header-search-form .header-search-select-wrapper {
  order: 1 !important;
  float: none !important;
  flex: 0 0 130px !important;
  border: 0 !important;
  border-right: 1px solid #E2E8F0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.header--six .wf_navbar-search-form .header-search-form .header-search-select {
  border: 0 !important;
  background: #fff !important;
  height: 48px !important;
  min-height: 48px !important;
  font-size: 14px !important;
  padding: 0 26px 0 12px !important;
}

/* Search input = middle element */
.header--six .wf_navbar-search-form .header-search-form .search-wrapper {
  order: 2 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  position: relative !important;
}

.header--six .wf_navbar-search-form .header-search-form input.header-search-input {
  float: none !important;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  padding: 0 14px !important;
}

/* Remove decorative SVG that shifts layout */
.header--six .wf_navbar-search-form .header-search-form .search-wrapper svg {
  display: none !important;
}

/* Search button = third element */
.header--six .wf_navbar-search-form .header-search-form .header-search-button {
  order: 3 !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: #FF7A00 !important;
}

/* ---------- SECOND HEADER ROW (categories + menu + icons) ---------- */
@media (min-width: 992px) {
  .header--six .wf_navbar-wrapper .wf-row.align-items-center {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .header--six .wf_navbar-wrapper .wf-col-lg-9 {
    min-width: 0 !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 62px !important;
    padding-left: 0 !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-menu .wf_navbar-nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-menu .wf_navbar-nav > ul.wf_navbar-mainmenu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-menu .wf_navbar-nav > ul.wf_navbar-mainmenu > li {
    margin: 0 8px !important;
    white-space: nowrap !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-nav .wf_navbar-mainmenu > li > a {
    font-size: 15px !important;
    line-height: 1.1 !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  /* Remove separator bars to save horizontal space */
  .header--six .wf_navbar-wrapper .wf_navbar-nav .wf_navbar-mainmenu > li:not(:last-child):after {
    display: none !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-menu .wf_navbar-right,
  .header--six .wf_navbar-wrapper .wf_navbar-menu .wf_navbar-right .wf_navbar-list-right {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    flex: 0 0 auto !important;
  }
}

/* Mobile logo sizing */
@media (max-width: 991px) {
  #wf_header .site--logo .custom-logo,
  #wf_header .wf_mobilenav-logo .site--logo .custom-logo {
    max-height: 44px !important;
    max-width: 170px !important;
  }
}

/* ======================================================
   OBUY FOOTER + CURRENCY HOTFIX — 2026-03-06 (v2)
   ====================================================== */

/* Footer: keep "Contact" in Liens utiles aligned like other links */
#wf_footer #text-2 .textwidget ul li a[href*=/contact] {
  display: inline-block !important;
  position: relative !important;
  padding-left: 14px !important;
  margin-top: 0 !important;
  border: 0 !important;
  background: none !important;
  color: rgba(255,255,255,.60) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

#wf_footer #text-2 .textwidget ul li a[href*=/contact]::before {
  content:  !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 6px !important;
  height: 1.5px !important;
  background: #FF7A00 !important;
  border-radius: 1px !important;
}

#wf_footer #text-2 .textwidget ul li a[href*=/contact]:hover {
  color: #FF7A00 !important;
  padding-left: 18px !important;
}

#wf_footer #text-2 .textwidget ul li a[href*=/contact]:hover::before {
  width: 10px !important;
}

/* Currency switcher: never clip on right edge */
.woo-multi-currency.wmc-sidebar.wmc-right {
  right: 10px !important;
}

.woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover {
  right: 10px !important;
}

@media (max-width: 767px) {
  .woo-multi-currency.wmc-sidebar.wmc-right,
  .woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover {
    right: 8px !important;
  }
}

/* ======================================================
   OBUY FOOTER + CURRENCY HOTFIX — 2026-03-06 (v3 valid)
   ====================================================== */

/* Force proper styling for "Contact" link in Liens utiles */
#wf_footer #text-2 .textwidget ul li a[href*="/contact"] {
  display: inline-block !important;
  position: relative !important;
  padding-left: 14px !important;
  margin-top: 0 !important;
  border: 0 !important;
  background: none !important;
  color: rgba(255,255,255,.60) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  letter-spacing: 0 !important;
}

#wf_footer #text-2 .textwidget ul li a[href*="/contact"]::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 6px !important;
  height: 1.5px !important;
  background: #FF7A00 !important;
  border-radius: 1px !important;
}

#wf_footer #text-2 .textwidget ul li a[href*="/contact"]:hover {
  color: #FF7A00 !important;
  padding-left: 18px !important;
}

#wf_footer #text-2 .textwidget ul li a[href*="/contact"]:hover::before {
  width: 10px !important;
}

/* Currency switcher always fully visible on right edge */
.woo-multi-currency.wmc-sidebar.wmc-right,
.woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover {
  right: 10px !important;
}

@media (max-width: 767px) {
  .woo-multi-currency.wmc-sidebar.wmc-right,
  .woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover {
    right: 8px !important;
  }
}

/* ======================================================
   OBUY UI HOTFIX — 2026-03-07 (v4)
   Currency visibility + Careers contrast + Contact form
   ====================================================== */

/* 1) Currency switcher fully visible on all pages */
.woo-multi-currency.wmc-right.style-1.wmc-bottom.wmc-sidebar,
.woo-multi-currency.wmc-sidebar.style-1.wmc-right,
.woo-multi-currency.wmc-sidebar.wmc-right,
.woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover {
  position: fixed !important;
  right: 10px !important;
  left: auto !important;
  transform: none !important;
  z-index: 99999 !important;
}

.woo-multi-currency.wmc-right.style-1.wmc-bottom.wmc-sidebar .wmc-list-currencies,
.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies {
  overflow: visible !important;
}

@media (max-width: 767px) {
  .woo-multi-currency.wmc-right.style-1.wmc-bottom.wmc-sidebar,
  .woo-multi-currency.wmc-sidebar.style-1.wmc-right,
  .woo-multi-currency.wmc-sidebar.wmc-right,
  .woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover {
    right: 8px !important;
  }
}

/* 2) Careers page contrast */
body.page-id-819 #wf_pagetitle,
body.page-id-819 #wf_pagetitle .wf_pagetitle_content {
  background-color: #1E293B !important;
}

body.page-id-819 #wf_pagetitle .title h2,
body.page-id-819 #wf_pagetitle .wf_pagetitle_breadcrumb li,
body.page-id-819 #wf_pagetitle .wf_pagetitle_breadcrumb li a {
  color: #E2E8F0 !important;
}

body.page-id-819 .oc-hero h1,
body.page-id-819 .oc-section-title h2,
body.page-id-819 .oc-value-card h3,
body.page-id-819 .oc-job-info h3,
body.page-id-819 .oc-cta h2 {
  color: #F8FAFC !important;
}

body.page-id-819 .oc-hero p,
body.page-id-819 .oc-section-title p,
body.page-id-819 .oc-value-card p,
body.page-id-819 .oc-job-info p,
body.page-id-819 .oc-tag--grey,
body.page-id-819 .oc-cta p {
  color: rgba(226, 232, 240, 0.86) !important;
}

body.page-id-819 .oc-job-card {
  border-color: rgba(148, 163, 184, 0.26) !important;
}

body.page-id-819 .oc-job-card:hover {
  background: rgba(15, 23, 42, 0.62) !important;
}

/* 3) Contact page form visual polish */
body.page-id-637 .occ-form-card {
  background: linear-gradient(160deg, rgba(30,41,59,.92), rgba(15,23,42,.96)) !important;
  border: 1px solid rgba(148, 163, 184, 0.34) !important;
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.35) !important;
}

body.page-id-637 .occ-form-card > p {
  color: rgba(226, 232, 240, 0.84) !important;
}

body.page-id-637 .occ-input,
body.page-id-637 .occ-textarea {
  background: rgba(15, 23, 42, 0.82) !important;
  border: 1px solid rgba(148, 163, 184, 0.38) !important;
  color: #F8FAFC !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
}

body.page-id-637 .occ-input::placeholder,
body.page-id-637 .occ-textarea::placeholder {
  color: rgba(148, 163, 184, 0.92) !important;
}

body.page-id-637 .occ-input:focus,
body.page-id-637 .occ-textarea:focus {
  border-color: #FF7A00 !important;
  box-shadow: 0 0 0 3px rgba(255,122,0,.2) !important;
}

body.page-id-637 .occ-submit {
  border-radius: 12px !important;
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.33) !important;
}

/* ======================================================
   OBUY AUTH HOTFIX — 2026-03-07
   Center + polish login/register page
   ====================================================== */

body.page-id-8.woocommerce-account:not(.logged-in) #wf-main {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

body.page-id-8.woocommerce-account:not(.logged-in) #wf-main ~ [class*="wf-col"] {
  display: none !important;
}

body.page-id-8.woocommerce-account:not(.logged-in) .wf_posts {
  padding: 36px 0 56px !important;
  background: #F1F5F9 !important;
}

body.page-id-8.woocommerce-account:not(.logged-in) .post.single-post.clear.wf-mb-4 {
  margin-bottom: 0 !important;
}

body.page-id-8.woocommerce-account:not(.logged-in) .post.single-post.clear.wf-mb-4 .woocommerce > div[class] {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  width: 100% !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%) !important;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
}

/* Hide decorative left panel and keep a centered auth column */
body.page-id-8.woocommerce-account:not(.logged-in) .post.single-post.clear.wf-mb-4 .woocommerce > div[class] > div:first-child {
  display: none !important;
}

body.page-id-8.woocommerce-account:not(.logged-in) .post.single-post.clear.wf-mb-4 .woocommerce > div[class] > div:last-child {
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  padding: 44px 28px !important;
  background: transparent !important;
}

body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-login,
body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-register {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06) !important;
}

body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-login input,
body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-register input,
body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-register textarea,
body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-register select {
  border-radius: 12px !important;
}

body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-register .form-row,
body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-login .form-row {
  margin-bottom: 14px !important;
}

@media (max-width: 767px) {
  body.page-id-8.woocommerce-account:not(.logged-in) .wf_posts {
    padding: 20px 0 32px !important;
  }

  body.page-id-8.woocommerce-account:not(.logged-in) .post.single-post.clear.wf-mb-4 .woocommerce > div[class] {
    border-radius: 14px !important;
  }

  body.page-id-8.woocommerce-account:not(.logged-in) .post.single-post.clear.wf-mb-4 .woocommerce > div[class] > div:last-child {
    padding: 26px 14px !important;
  }

  body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-login,
  body.page-id-8.woocommerce-account:not(.logged-in) .woocommerce-form-register {
    padding: 18px !important;
    border-radius: 12px !important;
  }
}

/* ======================================================
   OBUY CURRENCY HOTFIX — 2026-03-07 (v5)
   Hide clipped title + force clean XAF/EUR/USD display
   ====================================================== */

/* Keep widget fully inside viewport */
.woo-multi-currency.wmc-right.style-1.wmc-bottom.wmc-sidebar,
.woo-multi-currency.wmc-sidebar.style-1.wmc-right,
.woo-multi-currency.wmc-sidebar.wmc-right,
.woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover {
  position: fixed !important;
  right: 12px !important;
  left: auto !important;
  transform: none !important;
  overflow: visible !important;
  z-index: 99999 !important;
}

/* Remove truncated "Select your currency" bar */
.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-title {
  display: none !important;
}

/* Compact and readable currency rows */
.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies,
.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-currency {
  width: 72px !important;
}

.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-currency {
  height: 42px !important;
}

.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-currency span:not(.wmc-active-title) {
  width: 72px !important;
  height: 42px !important;
  line-height: 42px !important;
  display: block !important;
  text-align: center !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  color: #fff !important;
}

/* Hide long labels; keep only codes */
.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-currency a,
.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-currency span.wmc-active-title,
.woo-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-sidebar-open {
  display: none !important;
}

@media (max-width: 767px) {
  .woo-multi-currency.wmc-right.style-1.wmc-bottom.wmc-sidebar,
  .woo-multi-currency.wmc-sidebar.style-1.wmc-right,
  .woo-multi-currency.wmc-sidebar.wmc-right,
  .woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover {
    right: 8px !important;
  }
}

/* ======================================================
   OBUY HEADER HOTFIX — 2026-03-10
   1) Keep categories closed on load
   2) Topbar text = Livraison gratuite
   ====================================================== */

/* 1) Categories: do not auto-open on page load */
@media (min-width: 992px) {
  #wf_header .product-categories > .wf_navbar-nav,
  #wf_header .product-categories.active > .wf_navbar-nav {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(6px) !important;
    transition: all 180ms ease !important;
  }

  #wf_header .product-categories:hover > .wf_navbar-nav,
  #wf_header .product-categories:focus-within > .wf_navbar-nav {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

/* 2) Force topbar message to a single text */
#wf_header .wf_header-topbar .header-widget-right .title,
#wf_header .wf_mobilenav-topbar-content .header-widget-right .title {
  font-size: 0 !important;
  line-height: 1 !important;
}

#wf_header .wf_header-topbar .header-widget-right .title::before,
#wf_header .wf_mobilenav-topbar-content .header-widget-right .title::before {
  content: "Livraison gratuite" !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #fff !important;
}

/* Topbar text final (no emoji, no threshold) */
#wf_header .wf_header-topbar .title::before,
#wf_header .wf_mobilenav-topbar-content .title::before {
  content: none !important;
}

#wf_header .wf_header-topbar .title,
#wf_header .wf_mobilenav-topbar-content .title {
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #fff !important;
}

/* Hide header menu item "Mon compte / My account" (icon login remains) */
#menu-item-791,
#menu-obuy-main #menu-item-791,
.wf_mobilenav-menu #menu-item-791 {
  display: none !important;
}

/* Seller shortcut icon in header (next to profile icon) */
#wf_header .wf_navbar-store-item .wf_store_settings_btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  background: #fff !important;
  color: #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 180ms ease !important;
}

#wf_header .wf_navbar-store-item .wf_store_settings_btn:hover {
  color: #ff7a00 !important;
  border-color: rgba(255, 122, 0, 0.45) !important;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2) !important;
}

/* ======================================================
   OBUY MY ACCOUNT HOTFIX — 2026-03-10
   Address/payment layout + remove overlapping icons
   ====================================================== */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
  font-size: 20px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
  position: static !important;
  float: none !important;
  margin: 2px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
  float: none !important;
  width: calc(50% - 7px) !important;
  min-width: 280px !important;
}

/* Remove pseudo-icons that cover beginning of notice/sections */
.woocommerce-account .woocommerce-MyAccount-content a::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before {
  content: none !important;
  display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error {
  padding-left: 16px !important;
}

/* Compact modern styling for My Account dashboard and orders */
.woocommerce-account .woocommerce {
  --obuy-account-text: #12213f;
  --obuy-account-muted: #6b7a94;
  --obuy-account-border: #e6edf5;
  --obuy-account-surface: #ffffff;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 240px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  border: 1px solid var(--obuy-account-border) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: var(--obuy-account-surface) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  padding: 15px 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--obuy-account-text) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  border-radius: 12px !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  font-size: 14px !important;
  color: var(--obuy-account-text) !important;
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content li,
.woocommerce-account .woocommerce-MyAccount-content address {
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: var(--obuy-account-text) !important;
}

.woocommerce-account .woocommerce-MyAccount-content table,
.woocommerce-account .woocommerce-MyAccount-content .shop_table {
  border: 1px solid var(--obuy-account-border) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: var(--obuy-account-surface) !important;
}

.woocommerce-account .woocommerce-MyAccount-content table th,
.woocommerce-account .woocommerce-MyAccount-content table td,
.woocommerce-account .woocommerce-MyAccount-content .shop_table th,
.woocommerce-account .woocommerce-MyAccount-content .shop_table td {
  padding: 14px 16px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  vertical-align: middle !important;
}

.woocommerce-account .woocommerce-MyAccount-content table th,
.woocommerce-account .woocommerce-MyAccount-content .shop_table th {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--obuy-account-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-account .woocommerce-MyAccount-content a.button {
  min-height: 36px !important;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content .button + .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button + .woocommerce-button {
  margin-top: 8px !important;
}

/* Auth floating labels: force top state when input has value/autofill */
.oа-input.obuy-filled + .oа-label,
.oа-input:-webkit-autofill + .oа-label {
  top: 10px !important;
  transform: translateY(0) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ff7a00 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
}

@media (max-width: 991px) {
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ======================================================
   OBUY HOTFIX PACK — 2026-03-10 (profile + auth + search width)
   ====================================================== */

/* A) Desktop header: wider search bar + keep first row on one line */
@media (min-width: 1200px) {
  .header--six .wf_navbar .wf-col-lg-2 {
    flex: 0 0 12% !important;
    max-width: 12% !important;
  }

  .header--six .wf_navbar .wf-col-lg-6 {
    flex: 0 0 60% !important;
    max-width: 60% !important;
  }

  .header--six .wf_navbar .wf-col-lg-4 {
    flex: 0 0 28% !important;
    max-width: 28% !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header--six .wf_navbar .wf-col-lg-2 {
    flex: 0 0 14% !important;
    max-width: 14% !important;
  }

  .header--six .wf_navbar .wf-col-lg-6 {
    flex: 0 0 56% !important;
    max-width: 56% !important;
  }

  .header--six .wf_navbar .wf-col-lg-4 {
    flex: 0 0 30% !important;
    max-width: 30% !important;
  }
}

@media (min-width: 992px) {
  .header--six .wf_navbar .header-widget-right {
    white-space: nowrap !important;
  }

  .header--six .wf_navbar-search-form .header-search-form form {
    min-height: 52px !important;
  }

  .header--six .wf_navbar-search-form .header-search-form .header-search-select,
  .header--six .wf_navbar-search-form .header-search-form input.header-search-input,
  .header--six .wf_navbar-search-form .header-search-form .header-search-button {
    height: 52px !important;
    min-height: 52px !important;
  }
}

/* B) My account: address blocks clean layout (no title overlap) */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  gap: 14px !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .col-1,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .col-2,
.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses .col-1,
.woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses .col-2,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address header,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 10px !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address header h2,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address header h3,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
  font-size: 24px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address header a,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit {
  position: static !important;
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 2px 0 0 !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address header a::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit::before {
  content: none !important;
  display: none !important;
}

/* C) Remove intrusive icons at beginning of profile notices */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message::before,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error::before,
.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-error::before {
  content: none !important;
  display: none !important;
}

.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 {
  padding-left: 16px !important;
}

/* D) Auth fields: force label up and avoid text overlap with placeholder */
.woocommerce-account .woocommerce form [class*="field-inner"] > input {
  padding-top: 22px !important;
  padding-bottom: 8px !important;
  line-height: 1.15 !important;
}

.woocommerce-account .woocommerce form [class*="field-inner"] > input::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.woocommerce-account .woocommerce form [class*="field-inner"] > label {
  top: 10px !important;
  transform: none !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ff7a00 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
}

/* Custom OBUY auth UI: keep typed text clearly below the floating label */
.woocommerce-account .oа-field-inner,
.woocommerce-account .oa-field-inner {
  position: relative !important;
}

.woocommerce-account .oа-input,
.woocommerce-account .oa-input {
  height: 64px !important;
  padding: 28px 18px 12px !important;
  line-height: 1.25 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  background: #ffffff !important;
}

.woocommerce-account .oа-input::placeholder,
.woocommerce-account .oa-input::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.woocommerce-account .oа-label,
.woocommerce-account .oa-label {
  position: absolute !important;
  left: 18px !important;
  top: 13px !important;
  margin: 0 !important;
  transform: none !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: #ff7a00 !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.woocommerce-account .oа-pw-eye,
.woocommerce-account .oa-pw-eye {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 991px) {
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses,
  .woocommerce-account .woocommerce-MyAccount-content .col2-set.addresses {
    grid-template-columns: 1fr !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address header h2,
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address header h3,
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: 20px !important;
  }
}

/* ======================================================
   OBUY HEADER GAP FIX — 2026-03-10
   Reduce gap between search and contact block
   ====================================================== */
@media (min-width: 1200px) {
  .header--six .wf_navbar .wf-col-lg-2 {
    flex: 0 0 12% !important;
    max-width: 12% !important;
  }

  .header--six .wf_navbar .wf-col-lg-6 {
    flex: 0 0 62% !important;
    max-width: 62% !important;
  }

  .header--six .wf_navbar .wf-col-lg-4 {
    flex: 0 0 26% !important;
    max-width: 26% !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header--six .wf_navbar .wf-col-lg-2 {
    flex: 0 0 14% !important;
    max-width: 14% !important;
  }

  .header--six .wf_navbar .wf-col-lg-6 {
    flex: 0 0 58% !important;
    max-width: 58% !important;
  }

  .header--six .wf_navbar .wf-col-lg-4 {
    flex: 0 0 28% !important;
    max-width: 28% !important;
  }
}

@media (min-width: 992px) {
  .header--six .wf_navbar .wf-col-lg-6 .wf_navbar-right,
  .header--six .wf_navbar .wf-col-lg-6 .wf_navbar-list-right {
    width: 100% !important;
  }

  .header--six .wf_navbar .wf-col-lg-6 .wf_navbar-list-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .header--six .wf_navbar .wf-col-lg-6 .wf_navbar-search-form {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .header--six .wf_navbar .wf-col-lg-4 .wf_navbar-right,
  .header--six .wf_navbar .wf-col-lg-4 .wf_navbar-list-right {
    justify-content: flex-start !important;
  }

  .header--six .wf_navbar .wf-col-lg-4 .wf_navbar-list-right {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    white-space: nowrap !important;
  }

  .header--six .wf_navbar .wf-col-lg-4 .wf_navbar-info-contact {
    margin-right: 0 !important;
  }
}

/* ======================================================
   OBUY HEADER CLEANUP — 2026-03-10
   Remove Flash Sale button
   ====================================================== */
#wf_header .wf_navbar-button-item,
#wf_header .wf_mobilenav-right .wf_navbar-button-item,
#wf_header .wf_navbar-button-item .wf-btn {
  display: none !important;
}

/* ======================================================
   OBUY SHOP GRID FIX — 2026-03-10
   Remove ghost first grid cell caused by ::before/::after
   ====================================================== */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

/* ======================================================
   OBUY ICON VISIBILITY FIX — 2026-03-10
   Shop action icons + Dokan store listing icons
   ====================================================== */

/* 1) Product card quick-action icons (eye/heart) always visible */
.woocommerce ul.products .obc-media__overlay .obc-action-btn,
.woocommerce-page ul.products .obc-media__overlay .obc-action-btn,
.woocommerce ul.products .obc-media__overlay .obc-action-btn.obc-wishlist,
.woocommerce-page ul.products .obc-media__overlay .obc-action-btn.obc-wishlist {
  color: #1f2937 !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(15,23,42,.16) !important;
  box-shadow: 0 2px 10px rgba(2,6,23,.14) !important;
}

.woocommerce ul.products .obc-media__overlay .obc-action-btn:hover,
.woocommerce-page ul.products .obc-media__overlay .obc-action-btn:hover {
  color: #ffffff !important;
  background: #ff7a00 !important;
  border-color: #ff7a00 !important;
}

.woocommerce ul.products .obc-media__overlay .obc-action-btn svg,
.woocommerce-page ul.products .obc-media__overlay .obc-action-btn svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2.1 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 2) Dokan seller listing: ensure dashicons and small icons are readable */
.dokan-store-listing-wrap .dashicons,
.dokan-store-listing-wrap .dashicons::before,
#dokan-store-listing-filter-wrap .dashicons,
#dokan-store-listing-filter-wrap .dashicons::before {
  font-family: dashicons !important;
  font-size: 18px !important;
  line-height: 1 !important;
  color: #1f2937 !important;
  opacity: 1 !important;
}

.dokan-store-listing-wrap .dokan-btn-theme .dashicons,
.dokan-store-listing-wrap .dokan-btn-theme .dashicons::before,
.dokan-store-listing-wrap .dokan-btn-round .dashicons,
.dokan-store-listing-wrap .dokan-btn-round .dashicons::before {
  color: #ffffff !important;
}

/* Store phone / small meta icons */
.dokan-store-listing-wrap .store-phone i,
.dokan-store-listing-wrap .store-data i,
.dokan-store-listing-wrap .store-content i {
  color: #ff7a00 !important;
  opacity: 1 !important;
}

/* ======================================================
   OBUY STORE SEARCH + PRODUCT CARD ICONS — 2026-03-11
   ====================================================== */

/* Dokan store product filter: one clean responsive toolbar */
.dokan-store-products-filter-area .dokan-store-products-ordeby {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto 240px !important;
  gap: 14px !important;
  align-items: end !important;
}

.dokan-store-products-filter-area .product-name-search {
  width: 100% !important;
  min-width: 0 !important;
  height: 52px !important;
  border-radius: 14px !important;
  border: 1.5px solid #d8e1ec !important;
  padding: 0 18px !important;
  background: #fff !important;
}

.dokan-store-products-filter-area .search-store-products {
  height: 52px !important;
  min-width: 140px !important;
  border-radius: 14px !important;
  padding: 0 22px !important;
  margin: 0 !important;
  align-self: stretch !important;
}

.dokan-store-products-filter-area .orderby-search,
.dokan-store-products-filter-area .dokan-store-products-ordeby select.orderby-search {
  width: 100% !important;
  height: 52px !important;
  border-radius: 14px !important;
  border: 1.5px solid #d8e1ec !important;
  padding: 0 16px !important;
  background-color: #fff !important;
}

.dokan-store-products-filter-area #dokan-store-products-search-result {
  width: 100% !important;
  left: 0 !important;
  right: auto !important;
  top: calc(100% + 8px) !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
}

/* Product card actions: same placement and readable icons everywhere */
.woocommerce ul.products .obc-media,
.woocommerce-page ul.products .obc-media {
  position: relative !important;
}

.woocommerce ul.products .obc-media__overlay,
.woocommerce-page ul.products .obc-media__overlay {
  top: 14px !important;
  right: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  z-index: 5 !important;
}

.woocommerce ul.products .obc-media__overlay .obc-action-btn,
.woocommerce-page ul.products .obc-media__overlay .obc-action-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.woocommerce ul.products .obc-media__overlay .obc-action-btn svg,
.woocommerce-page ul.products .obc-media__overlay .obc-action-btn svg {
  width: 19px !important;
  height: 19px !important;
  display: block !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  fill: none !important;
}

@media (hover: none), (max-width: 991px) {
  .woocommerce ul.products .obc-media__overlay,
  .woocommerce-page ul.products .obc-media__overlay {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 991px) {
  .dokan-store-products-filter-area .dokan-store-products-ordeby {
    grid-template-columns: 1fr !important;
  }

  .dokan-store-products-filter-area .search-store-products,
  .dokan-store-products-filter-area .orderby-search,
  .dokan-store-products-filter-area .dokan-store-products-ordeby select.orderby-search {
    width: 100% !important;
  }
}

/* ======================================================
   OBUY VENDOR LIST ICON FIX — 2026-03-11
   Force visible Dokan round arrow buttons
   ====================================================== */
#dokan-seller-listing-wrap .store-footer > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

#dokan-seller-listing-wrap .store-footer .dokan-btn-theme.dokan-btn-round,
#dokan-seller-listing-wrap .store-footer span.dokan-btn-theme.dokan-btn-round {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ff7a00 !important;
  border: 1px solid #ff7a00 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.22) !important;
}

#dokan-seller-listing-wrap .store-footer .dokan-btn-theme.dokan-btn-round::before,
#dokan-seller-listing-wrap .store-footer span.dokan-btn-theme.dokan-btn-round::before,
#dokan-seller-listing-wrap .store-footer .dashicons.dashicons-arrow-right-alt2::before {
  font-family: dashicons !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: block !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* ======================================================
   OBUY DOKAN DASHBOARD FIXES — 2026-03-11
   ====================================================== */

/* Hide floating widgets on vendor dashboard pages */
.dokan-dashboard .woo-multi-currency,
.dokan-dashboard .trp-language-switcher-container,
.dokan-dashboard .trp-language-switcher,
.dokan-dashboard .xoo-wsc-floating-cart,
.dokan-dashboard .xoo-wsc-sc-cont,
body[class*="dashboard"] .woo-multi-currency,
body[class*="dashboard"] .trp-language-switcher-container {
  display: none !important;
}

.obuy-account-preferences {
  margin: 0 0 28px !important;
  padding: 22px 24px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #fffaf4 0%, #ffffff 100%) !important;
  border: 1px solid rgba(255, 122, 0, .12) !important;
  box-shadow: 0 18px 48px rgba(12, 24, 52, .08) !important;
}

.obuy-account-preferences__head {
  margin-bottom: 16px !important;
}

.obuy-account-preferences__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 122, 0, .10) !important;
  color: #ff7a00 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

.obuy-account-preferences__head h3 {
  margin: 12px 0 8px !important;
  color: #12213f !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

.obuy-account-preferences__head p {
  margin: 0 !important;
  color: #5f6f90 !important;
}

.obuy-account-preferences__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.obuy-account-preferences__card {
  padding: 18px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1px solid #edf1f7 !important;
}

.obuy-account-preferences__card h4 {
  margin: 0 0 12px !important;
  color: #12213f !important;
  font-size: 14px !important;
}

.obuy-account-preferences__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.obuy-pref-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 70px !important;
  min-height: 36px !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  border: 1px solid #dbe4f0 !important;
  background: #f8fafc !important;
  color: #12213f !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}

.obuy-pref-chip:hover,
.obuy-pref-chip:focus {
  border-color: #ff7a00 !important;
  color: #ff7a00 !important;
  text-decoration: none !important;
}

.obuy-pref-chip.is-active {
  border-color: #ff7a00 !important;
  background: #ff7a00 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(255, 122, 0, .22) !important;
}

/* Disable side-cart floating markup globally: it leaks into layout on OBUY. */
.xoo-wsc-markup,
.xoo-wsc-markup-notices,
.xoo-wsc-modal,
.xoo-wsc-container,
.xoo-wsc-basket,
.xoo-wsc-floating-cart,
.xoo-wsc-sc-basket,
.xoo-wsc-opac {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Dokan product list: stabilize top toolbar */
.dokan-product-listing .dokan-product-listing-area .product-listing-top {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  line-height: 1.4 !important;
  padding-bottom: 14px !important;
}

/* Slightly larger vendor dashboard sidebar typography */
.dokan-dashboard .dokan-dash-sidebar ul.dokan-sidebar-menu li a,
.dokan-dashboard .dokan-dashboard-menu li a,
.dokan-dashboard .dokan-dashboard-menu li a span {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.dokan-dashboard .dokan-dash-sidebar ul.dokan-sidebar-menu li a i,
.dokan-dashboard .dokan-dashboard-menu li a i {
  font-size: 16px !important;
}

.dokan-product-listing .dokan-product-listing-area .product-listing-top ul.dokan-listing-filter {
  width: auto !important;
  flex: 1 1 420px !important;
  margin: 0 !important;
}

.dokan-product-listing .dokan-product-listing-area .product-listing-top span.dokan-add-product-link {
  width: auto !important;
  float: none !important;
  text-align: right !important;
  flex: 0 0 auto !important;
}

.dokan-product-listing .dokan-product-listing-area form.dokan-product-search-form {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: end !important;
  gap: 12px !important;
}

.dokan-product-listing .dokan-product-listing-area form.dokan-product-search-form .dokan-form-group,
.dokan-product-listing .dokan-product-listing-area form.dokan-product-search-form button[name='product_listing_search'] {
  float: none !important;
  margin: 0 !important;
}

.dokan-product-listing .dokan-product-listing-area form.dokan-product-search-form input[type="search"],
.dokan-product-listing .dokan-product-listing-area form.dokan-product-search-form input[type="text"],
.dokan-product-listing .dokan-product-listing-area form.dokan-product-search-form select {
  min-height: 44px !important;
}

/* Keep wide table readable instead of crushed */
.dokan-product-listing .dokan-product-listing-area {
  overflow-x: auto !important;
}

.dokan-product-listing .dokan-product-listing-area table.product-listing-table {
  width: 100% !important;
  min-width: 980px !important;
  table-layout: auto !important;
}

.dokan-product-listing .dokan-product-listing-area table.product-listing-table th,
.dokan-product-listing .dokan-product-listing-area table.product-listing-table td {
  white-space: nowrap !important;
  vertical-align: top !important;
}

.dokan-product-listing .dokan-product-listing-area table.product-listing-table td.column-name,
.dokan-product-listing .dokan-product-listing-area table.product-listing-table td.column-primary {
  white-space: normal !important;
  min-width: 180px !important;
}

/* Vendor list round arrow buttons */
#dokan-seller-listing-wrap .store-footer > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

#dokan-seller-listing-wrap .store-footer .dokan-btn-theme.dokan-btn-round,
#dokan-seller-listing-wrap .store-footer span.dokan-btn-theme.dokan-btn-round {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ff7a00 !important;
  border: 1px solid #ff7a00 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.22) !important;
}

#dokan-seller-listing-wrap .store-footer .dokan-btn-theme.dokan-btn-round::before,
#dokan-seller-listing-wrap .store-footer span.dokan-btn-theme.dokan-btn-round::before,
#dokan-seller-listing-wrap .store-footer .dashicons.dashicons-arrow-right-alt2::before {
  font-family: dashicons !important;
  font-size: 18px !important;
  line-height: 1 !important;
  display: block !important;
  color: #fff !important;
  opacity: 1 !important;
}

@media (max-width: 991px) {
  .dokan-product-listing .dokan-product-listing-area .product-listing-top {
    align-items: stretch !important;
  }

  .dokan-product-listing .dokan-product-listing-area .product-listing-top span.dokan-add-product-link {
    text-align: left !important;
  }
}

/* OBUY HEADER MENU STABILITY */
@media (min-width: 992px) {
  .header--six .wf_navbar-wrapper .wf_navbar-nav .wf_navbar-mainmenu {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-nav .wf_navbar-mainmenu::-webkit-scrollbar {
    display: none !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-nav .wf_navbar-mainmenu > li {
    flex: 0 0 auto !important;
  }

  .header--six .wf_navbar-wrapper .wf_navbar-nav .wf_navbar-mainmenu > li > a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }

  /* Keep the category dropdown vertical; only the main header menu should be horizontal. */
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu {
    display: block !important;
    overflow: visible !important;
  }

  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu > li {
    display: list-item !important;
    width: 100% !important;
  }

  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu > li > a,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu .dropdown-menu > li > a {
    display: flex !important;
    width: 100% !important;
    white-space: normal !important;
    writing-mode: horizontal-tb !important;
    color: #1f2937 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
    padding: 14px 18px !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  .header--six .product-categories .wf_navbar-nav,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu > li,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu > li > a,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu .dropdown-menu,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu .dropdown-menu > li,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu .dropdown-menu > li > a,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu span {
    color: #1f2937 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu > li:hover > a,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu .dropdown-menu > li:hover > a,
  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu > li.current-menu-item > a {
    color: #ff7a00 !important;
    background: #fff7ed !important;
  }

  .header--six .product-categories .wf_navbar-nav .wf_navbar-mainmenu .dropdown-menu {
    background: #ffffff !important;
    min-width: 260px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
  }
}

/* OBUY MULTI-HOMEPAGE CONSISTENCY */
body.home .wf_slider-item,
body.page-template-template-homepage .wf_slider-item,
body[class*="page-id-"] .wf_slider-item {
  border-radius: 28px !important;
  overflow: hidden !important;
}

body.home .section-title .sub-title,
body.home .wf_section-title .sub-title,
body.home .section-title .title,
body.home .wf_section-title .title,
body.page-template-template-homepage .section-title .sub-title,
body.page-template-template-homepage .wf_section-title .sub-title,
body.page-template-template-homepage .section-title .title,
body.page-template-template-homepage .wf_section-title .title {
  color: #14213d !important;
}

body.home .section-title .sub-title,
body.home .wf_section-title .sub-title,
body.page-template-template-homepage .section-title .sub-title,
body.page-template-template-homepage .wf_section-title .sub-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: #fff3e8 !important;
  color: #ff7a00 !important;
  font-weight: 700 !important;
}

body.home .wf-btn,
body.home .button,
body.page-template-template-homepage .wf-btn,
body.page-template-template-homepage .button {
  border-radius: 14px !important;
}

body.home .shopire-popular-product .product,
body.home .woocommerce ul.products li.product,
body.home .dokan-store-listing-wrap article.vendor-store,
body.page-template-template-homepage .shopire-popular-product .product,
body.page-template-template-homepage .woocommerce ul.products li.product,
body.page-template-template-homepage .dokan-store-listing-wrap article.vendor-store {
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.08) !important;
  border: 1px solid rgba(20, 33, 61, 0.08) !important;
}

body.home .wf_service-item,
body.home .wf-features-item,
body.page-template-template-homepage .wf_service-item,
body.page-template-template-homepage .wf-features-item {
  border-radius: 22px !important;
  border: 1px solid rgba(255, 122, 0, 0.18) !important;
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06) !important;
}

body.home .wf_service-item .icon,
body.home .wf-features-item .icon,
body.page-template-template-homepage .wf_service-item .icon,
body.page-template-template-homepage .wf-features-item .icon {
  border-radius: 18px !important;
}

body.home .product-categories,
body.home .shopire-popular-product,
body.home .dokan-store-listing-wrap,
body.page-template-template-homepage .product-categories,
body.page-template-template-homepage .shopire-popular-product,
body.page-template-template-homepage .dokan-store-listing-wrap {
  position: relative !important;
}

body.home .product-categories::before,
body.home .shopire-popular-product::before,
body.home .dokan-store-listing-wrap::before,
body.page-template-template-homepage .product-categories::before,
body.page-template-template-homepage .shopire-popular-product::before,
body.page-template-template-homepage .dokan-store-listing-wrap::before {
  content: '' !important;
  position: absolute !important;
  inset: -18px -18px auto auto !important;
  width: 120px !important;
  height: 120px !important;
  background: radial-gradient(circle, rgba(255,122,0,0.14) 0%, rgba(255,122,0,0) 70%) !important;
  pointer-events: none !important;
}

/* Remove blog/news section from any homepage variant */
body.home .front-posts,
body.home #wf_posts.front-posts,
body.home section#wf_posts,
body.page-template-template-homepage .front-posts,
body.page-template-template-homepage #wf_posts.front-posts,
body.page-template-template-homepage section#wf_posts {
  display: none !important;
}

/* OBUY HOMEPAGE 2-5 + SPACR CENTER FIX */
body.page-id-453 .site-content,
body.page-id-581 .site-content,
body.page-id-593 .site-content,
body.page-id-605 .site-content,
body.page-id-568 .site-content {
  overflow-x: clip !important;
}

body.page-id-453 .elementor,
body.page-id-581 .elementor,
body.page-id-593 .elementor,
body.page-id-605 .elementor,
body.page-id-568 .elementor,
body.page-id-453 .entry-content,
body.page-id-581 .entry-content,
body.page-id-593 .entry-content,
body.page-id-605 .entry-content,
body.page-id-568 .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-453 .elementor-section-boxed > .elementor-container,
body.page-id-581 .elementor-section-boxed > .elementor-container,
body.page-id-593 .elementor-section-boxed > .elementor-container,
body.page-id-605 .elementor-section-boxed > .elementor-container,
body.page-id-568 .elementor-section-boxed > .elementor-container,
body.page-id-453 .elementor-container,
body.page-id-581 .elementor-container,
body.page-id-593 .elementor-container,
body.page-id-605 .elementor-container,
body.page-id-568 .elementor-container,
body.page-id-453 .wf-container,
body.page-id-581 .wf-container,
body.page-id-593 .wf-container,
body.page-id-605 .wf-container,
body.page-id-568 .wf-container {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-453 .elementor-section-boxed > .elementor-container,
body.page-id-581 .elementor-section-boxed > .elementor-container,
body.page-id-593 .elementor-section-boxed > .elementor-container,
body.page-id-605 .elementor-section-boxed > .elementor-container,
body.page-id-568 .elementor-section-boxed > .elementor-container {
  max-width: 1320px !important;
  width: min(1320px, calc(100% - 32px)) !important;
}

/* Homepage product sliders must keep carousel layout, not shop grid overrides */
body.home section[class*="front-"] .woocommerce ul.products,
body.home section[class*="front-"] .woocommerce-page ul.products,
body.page-template-template-homepage section[class*="front-"] .woocommerce ul.products,
body.page-template-template-homepage section[class*="front-"] .woocommerce-page ul.products,
.woocommerce ul.products.owl-carousel,
.woocommerce-page ul.products.owl-carousel {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  width: 100% !important;
  float: none !important;
}

body.home section[class*="front-"] .woocommerce ul.products li.product,
body.home section[class*="front-"] .woocommerce-page ul.products li.product,
body.page-template-template-homepage section[class*="front-"] .woocommerce ul.products li.product,
body.page-template-template-homepage section[class*="front-"] .woocommerce-page ul.products li.product,
.woocommerce ul.products.owl-carousel li.product,
.woocommerce-page ul.products.owl-carousel li.product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  display: block !important;
}

body.home section[class*="front-"] .owl-stage,
body.page-template-template-homepage section[class*="front-"] .owl-stage,
.woocommerce ul.products.owl-carousel .owl-stage,
.woocommerce-page ul.products.owl-carousel .owl-stage {
  display: flex !important;
}

body.home section[class*="front-"] .owl-item,
body.page-template-template-homepage section[class*="front-"] .owl-item,
.woocommerce ul.products.owl-carousel .owl-item,
.woocommerce-page ul.products.owl-carousel .owl-item {
  float: none !important;
}

/* Store listing page: remove empty right column and use the real Dokan grid markup */
body.page-id-11 #wf-main {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.page-id-11 #wf-main + .wf-col-lg-4,
body.page-id-11 .wf-row > .wf-col-lg-4:last-child {
  display: none !important;
}

body.page-id-11 #dokan-seller-listing-wrap .seller-listing-content,
body.page-id-11 #dokan-seller-listing-wrap .seller-listing-content > ul.dokan-seller-wrap {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
}

body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap > li.dokan-single-seller {
  flex: 0 0 calc((100% - 56px) / 3) !important;
  width: calc((100% - 56px) / 3) !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  clear: none !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
}

body.page-id-11 #dokan-seller-listing-wrap .store-wrapper {
  height: 100% !important;
}

body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap::before,
body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 991px) {
  body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap {
    gap: 20px !important;
  }

  body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap > li.dokan-single-seller {
    flex-basis: calc((100% - 20px) / 2) !important;
    width: calc((100% - 20px) / 2) !important;
  }
}

@media (max-width: 575px) {
  body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap > li.dokan-single-seller {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}

body.page-id-11 #dokan-seller-listing-wrap .store-footer > a {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background: #ff7a00 !important;
  border: 1px solid #ff7a00 !important;
}

body.page-id-11 #dokan-seller-listing-wrap .store-footer > a .dokan-btn-round,
body.page-id-11 #dokan-seller-listing-wrap .store-footer > a .dashicons {
  width: 100% !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
}

body.page-id-11 #dokan-seller-listing-wrap .store-footer > a .dashicons::before {
  font-family: dashicons !important;
  content: "\f345" !important;
  font-size: 18px !important;
  line-height: 1 !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* Store filter panel: keep it visible below the toolbar instead of a broken side drawer */
body.page-id-11 #dokan-store-listing-filter-form-wrap {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 18px 0 28px !important;
  padding: 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10) !important;
  z-index: 30 !important;
  overflow: visible !important;
}

body.page-id-11 #dokan-store-listing-filter-form-wrap::before {
  left: 28px !important;
  top: 0 !important;
  transform: translateY(-50%) !important;
  color: #ffffff !important;
}

body.page-id-11 #dokan-store-listing-filter-form-wrap,
body.page-id-11 #dokan-store-listing-filter-form-wrap * {
  color: #0f172a !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.page-id-11 #dokan-store-listing-filter-form-wrap input,
body.page-id-11 #dokan-store-listing-filter-form-wrap select,
body.page-id-11 #dokan-store-listing-filter-form-wrap textarea {
  background: #ffffff !important;
  border: 1px solid #d7dfeb !important;
  border-radius: 14px !important;
  min-height: 48px !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
}

body.page-id-11 #dokan-store-listing-filter-form-wrap .apply-filter {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin-top: 20px !important;
}

body.page-id-11 #dokan-store-listing-filter-form-wrap #cancel-filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.page-id-453 .elementor-widget-wrap,
body.page-id-581 .elementor-widget-wrap,
body.page-id-593 .elementor-widget-wrap,
body.page-id-605 .elementor-widget-wrap,
body.page-id-568 .elementor-widget-wrap,
body.page-id-453 .elementor-column,
body.page-id-581 .elementor-column,
body.page-id-593 .elementor-column,
body.page-id-605 .elementor-column,
body.page-id-568 .elementor-column {
  min-width: 0 !important;
}

body.page-id-453 .etww-woo-slider,
body.page-id-581 .etww-woo-slider,
body.page-id-593 .etww-woo-slider,
body.page-id-605 .etww-woo-slider,
body.page-id-568 .etww-woo-slider {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 991px) {
  body.page-id-453 .elementor-section-boxed > .elementor-container,
  body.page-id-581 .elementor-section-boxed > .elementor-container,
  body.page-id-593 .elementor-section-boxed > .elementor-container,
  body.page-id-605 .elementor-section-boxed > .elementor-container,
  body.page-id-568 .elementor-section-boxed > .elementor-container {
    width: calc(100% - 20px) !important;
  }
}

/* OBUY DELIVERY DASHBOARD */
.woocommerce-account .obuy-delivery-dashboard {
  display: grid;
  gap: 22px;
}

.woocommerce-account .obuy-delivery-hero {
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a 0%, #172554 100%);
  color: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
}

.woocommerce-account .obuy-delivery-hero h2 {
  margin: 0 0 8px;
  color: #fff;
}

.woocommerce-account .obuy-delivery-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.woocommerce-account .obuy-delivery-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.woocommerce-account .obuy-delivery-stat {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.woocommerce-account .obuy-delivery-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: #ff7a00;
}

.woocommerce-account .obuy-delivery-stat span {
  display: block;
  margin-top: 8px;
  color: #334155;
  font-weight: 600;
}

.woocommerce-account .obuy-delivery-card {
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.woocommerce-account .obuy-delivery-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.woocommerce-account .obuy-delivery-card__head h3 {
  margin: 0 0 4px;
}

.woocommerce-account .obuy-delivery-card__head p {
  margin: 0;
  color: #64748b;
}

.woocommerce-account .obuy-delivery-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.woocommerce-account .obuy-delivery-card__grid strong,
.woocommerce-account .obuy-delivery-items strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.woocommerce-account .obuy-delivery-card__grid p,
.woocommerce-account .obuy-delivery-items ul {
  margin: 0;
  color: #475569;
}

.woocommerce-account .obuy-delivery-items ul {
  padding-left: 18px;
}

.woocommerce-account .obuy-delivery-badge,
.woocommerce-account .obuy-delivery-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.woocommerce-account .obuy-delivery-badge.status-assigned {
  background: #fff3e8;
  color: #c75d00;
}

.woocommerce-account .obuy-delivery-badge.status-accepted,
.woocommerce-account .obuy-delivery-badge.status-in_progress {
  background: #e8f1ff;
  color: #1d4ed8;
}

.woocommerce-account .obuy-delivery-badge.status-delivered,
.woocommerce-account .obuy-delivery-badge.status-proof_sent,
.woocommerce-account .obuy-delivery-pill.is-pending {
  background: #fef3c7;
  color: #92400e;
}

.woocommerce-account .obuy-delivery-badge.status-admin_validated,
.woocommerce-account .obuy-delivery-pill.is-success {
  background: #dcfce7;
  color: #166534;
}

.woocommerce-account .obuy-delivery-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.woocommerce-account .obuy-delivery-inline-form,
.woocommerce-account .obuy-delivery-proof-form {
  margin: 0;
}

.woocommerce-account .obuy-delivery-proof-form input[type="file"] {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.woocommerce-account .obuy-delivery-upload-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #0f172a;
}

.woocommerce-account .button.obuy-delivery-btn {
  border-radius: 14px;
  background: #ff7a00;
  border-color: #ff7a00;
  color: #fff;
  padding: 10px 18px;
  font-weight: 700;
}

.woocommerce-account .button.obuy-delivery-btn:hover {
  background: #e86e00;
  border-color: #e86e00;
}

.woocommerce-account .obuy-delivery-empty {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  color: #64748b;
  text-align: center;
}

.woocommerce-account .obuy-delivery-proof-link a {
  color: #ff7a00;
  font-weight: 700;
}

@media (max-width: 767px) {
  .woocommerce-account .obuy-delivery-stats,
  .woocommerce-account .obuy-delivery-card__grid {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .obuy-delivery-card__head {
    flex-direction: column;
  }
}

/* WooCommerce block checkout: center the layout and rebalance the two columns */
body.page-id-6 .wp-block-woocommerce-checkout,
body.page-id-6 .wc-block-checkout,
body.page-id-6 .wc-block-components-sidebar-layout {
  max-width: 1240px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-6 .wc-block-components-sidebar-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr) !important;
  gap: 40px !important;
  align-items: start !important;
}

body.page-id-6 .wc-block-components-main,
body.page-id-6 .wc-block-checkout__main,
body.page-id-6 .wp-block-woocommerce-checkout-fields-block {
  max-width: none !important;
  width: 100% !important;
}

body.page-id-6 .wc-block-components-sidebar,
body.page-id-6 .wc-block-checkout__sidebar,
body.page-id-6 .wp-block-woocommerce-checkout-totals-block {
  width: 100% !important;
  max-width: 420px !important;
  justify-self: end !important;
}

body.page-id-6 .wc-block-components-sidebar .wc-block-components-totals-wrapper,
body.page-id-6 .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
  position: sticky !important;
  top: 120px !important;
}

body.page-id-6 .wc-block-components-main input,
body.page-id-6 .wc-block-components-main select,
body.page-id-6 .wc-block-components-main textarea {
  width: 100% !important;
}

@media (max-width: 991px) {
  body.page-id-6 .wc-block-components-sidebar-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body.page-id-6 .wc-block-components-sidebar,
  body.page-id-6 .wc-block-checkout__sidebar,
  body.page-id-6 .wp-block-woocommerce-checkout-totals-block {
    max-width: none !important;
    justify-self: stretch !important;
  }

  body.page-id-6 .wc-block-components-sidebar .wc-block-components-totals-wrapper,
  body.page-id-6 .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
    position: static !important;
  }
}

/* WooCommerce block checkout: keep floating labels above typed values */
body.page-id-6 .wc-block-components-text-input,
body.page-id-6 .wc-block-components-combobox,
body.page-id-6 .wc-block-components-textarea {
  position: relative !important;
}

body.page-id-6 .wc-block-components-text-input input,
body.page-id-6 .wc-block-components-text-input select,
body.page-id-6 .wc-block-components-combobox .components-form-token-field__input,
body.page-id-6 .wc-block-components-textarea textarea {
  min-height: 56px !important;
  padding: 24px 16px 10px !important;
}

body.page-id-6 .wc-block-components-text-input label,
body.page-id-6 .wc-block-components-combobox label,
body.page-id-6 .wc-block-components-textarea label {
  top: 10px !important;
  left: 16px !important;
  right: auto !important;
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  transform: none !important;
  pointer-events: none !important;
}

body.page-id-6 .wc-block-components-text-input.is-active label,
body.page-id-6 .wc-block-components-text-input.has-value label,
body.page-id-6 .wc-block-components-text-input:focus-within label,
body.page-id-6 .wc-block-components-combobox.is-active label,
body.page-id-6 .wc-block-components-combobox:focus-within label,
body.page-id-6 .wc-block-components-textarea.is-active label,
body.page-id-6 .wc-block-components-textarea:focus-within label {
  transform: none !important;
  color: #ff7a00 !important;
}

/* ======================================================
   OBUY MOBILE HARDENING — 2026-03-17
   Fix: product cards/grid collapse on small screens
   ====================================================== */
@media (max-width: 767px) {
  .woocommerce ul.products:not(.owl-carousel),
  .woocommerce-page ul.products:not(.owl-carousel),
  .woocommerce ul.products.columns-4:not(.owl-carousel),
  .woocommerce-page ul.products.columns-4:not(.owl-carousel),
  .woocommerce ul.products.columns-3:not(.owl-carousel),
  .woocommerce-page ul.products.columns-3:not(.owl-carousel),
  .woocommerce ul.products.columns-2:not(.owl-carousel),
  .woocommerce-page ul.products.columns-2:not(.owl-carousel) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce .products.columns-2,
  .woocommerce .products.columns-3,
  .woocommerce .products.columns-4,
  .products.columns-2,
  .products.columns-3,
  .products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce ul.products.columns-4:not(.owl-carousel) li.product,
  .woocommerce-page ul.products.columns-4:not(.owl-carousel) li.product,
  .woocommerce ul.products.columns-3:not(.owl-carousel) li.product,
  .woocommerce-page ul.products.columns-3:not(.owl-carousel) li.product,
  .woocommerce ul.products.columns-2:not(.owl-carousel) li.product,
  .woocommerce-page ul.products.columns-2:not(.owl-carousel) li.product,
  .woocommerce ul.products li.product.obc-item,
  .woocommerce-page ul.products li.product.obc-item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    flex: 0 0 auto !important;
  }

  .woocommerce ul.products li.product .product-single,
  .woocommerce-page ul.products li.product .product-single,
  .woocommerce ul.products li.product .obc-card,
  .woocommerce-page ul.products li.product .obc-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .woocommerce ul.products .obc-media,
  .woocommerce-page ul.products .obc-media {
    aspect-ratio: 1 / 1 !important;
  }

  .woocommerce ul.products .obc-media__overlay,
  .woocommerce-page ul.products .obc-media__overlay {
    top: 8px !important;
    right: 8px !important;
    gap: 6px !important;
  }

  .woocommerce ul.products .obc-media__overlay .obc-action-btn,
  .woocommerce-page ul.products .obc-media__overlay .obc-action-btn {
    width: 34px !important;
    height: 34px !important;
  }

  .woocommerce ul.products .obc-info,
  .woocommerce-page ul.products .obc-info {
    padding: 10px 10px 6px !important;
    gap: 4px !important;
  }

  .woocommerce ul.products .obc-title,
  .woocommerce-page ul.products .obc-title {
    font-size: 12px !important;
    line-height: 1.35 !important;
    min-height: 32px !important;
    -webkit-line-clamp: 2 !important;
  }

  .woocommerce ul.products .obc-price,
  .woocommerce ul.products .obc-price .woocommerce-Price-amount,
  .woocommerce ul.products .obc-price .amount,
  .woocommerce-page ul.products .obc-price,
  .woocommerce-page ul.products .obc-price .woocommerce-Price-amount,
  .woocommerce-page ul.products .obc-price .amount {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .woocommerce ul.products .obc-price del,
  .woocommerce-page ul.products .obc-price del {
    display: block !important;
    margin-right: 0 !important;
  }

  .woocommerce ul.products .obc-cart-wrap,
  .woocommerce-page ul.products .obc-cart-wrap {
    padding: 0 10px 10px !important;
  }

  .woocommerce ul.products .obc-cart-btn,
  .woocommerce-page ul.products .obc-cart-btn {
    min-height: 40px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    gap: 5px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .woocommerce ul.products .obc-cart-btn span,
  .woocommerce-page ul.products .obc-cart-btn span {
    display: block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap {
    gap: 16px !important;
  }

  body.page-id-11 #dokan-seller-listing-wrap ul.dokan-seller-wrap > li.dokan-single-seller {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .woo-multi-currency.wmc-right.style-1.wmc-bottom.wmc-sidebar,
  .woo-multi-currency.wmc-sidebar.style-1.wmc-right,
  .woo-multi-currency.wmc-sidebar.wmc-right,
  .woo-multi-currency.wmc-sidebar.wmc-right.wmc-hover,
  .trp-language-switcher,
  .trp-floated-switcher,
  .trp-language-switcher-container,
  .xoo-wsc-markup .xoo-wsc-basket,
  .xoo-wsc-markup-notices .xoo-wsc-basket,
  .xoo-wsc-basket,
  .xoo-wsc-floating-cart,
  .xoo-wsc-sc-basket {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .obuy-account-preferences {
    margin-bottom: 20px !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .obuy-account-preferences__head h3 {
    font-size: 22px !important;
  }

  .obuy-account-preferences__grid {
    grid-template-columns: 1fr !important;
  }

  .obuy-account-preferences__card {
    padding: 16px !important;
  }

  .obuy-pref-chip {
    flex: 1 1 calc(50% - 10px) !important;
    min-width: calc(50% - 10px) !important;
  }
}
