/**
 * Ecom Basic — theme skin (BEM-friendly overrides)
 * Shop colors from Superadmin still apply via inline theme styles.
 */
body.theme-ecom-basic {
  --skin-accent: #1e3a5f;
  --skin-accent-hover: #152a45;
  --skin-radius: 6px;
  --skin-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --skin-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* overflow-y: set in responsive.css (body) — do not re-declare visible here */
}

body.theme-ecom-basic .header-section {
  box-shadow: var(--skin-shadow-sm);
  overflow: visible !important;
  max-height: none !important;
}

body.theme-ecom-basic .inner-header {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

body.theme-ecom-basic .primary-btn,
body.theme-ecom-basic .site-btn {
  border-radius: var(--skin-radius);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

body.theme-ecom-basic .primary-btn:hover,
body.theme-ecom-basic .site-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--skin-shadow-sm);
}

body.theme-ecom-basic .product-item,
body.theme-ecom-basic .blog-item {
  border-radius: var(--skin-radius);
  overflow: hidden;
  box-shadow: var(--skin-shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.theme-ecom-basic .product-item:hover,
body.theme-ecom-basic .blog-item:hover {
  box-shadow: var(--skin-shadow);
}

body.theme-ecom-basic .breacrumb-section {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.theme-ecom-basic .footer-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   Header top — compact email / phone icon buttons (narrow mobile) + panels
   Desktop / tablet ≥768px: full ht-left row; icons hidden.
   Narrow portrait ≤767px: icon toggles + slide-down panels.
   Wide-enough landscape phone: show ht-left inline like desktop.
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .header-section .header-contact-toggle__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.theme-ecom-basic .header-section .header-top-contact-icon {
  display: none !important;
  list-style: none !important;
}

body.theme-ecom-basic .header-section .header-contact-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(145deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.theme-ecom-basic .header-section .header-contact-toggle:hover {
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.28);
  transform: translateY(-1px);
}

body.theme-ecom-basic .header-section .header-contact-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

body.theme-ecom-basic .header-section .header-contact-toggle i {
  font-size: 15px;
}

body.theme-ecom-basic .header-section .header-contact-dropdown-wrap {
  display: none;
  width: 100%;
}

body.theme-ecom-basic .header-contact-panel {
  display: none;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-ecom-basic .header-contact-panel__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.4rem;
}

body.theme-ecom-basic .header-contact-panel__link {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--skin-accent) !important;
  text-decoration: none;
  word-break: break-word;
  line-height: 1.35;
}

body.theme-ecom-basic .header-contact-panel__link:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  body.theme-ecom-basic .header-section .header-top-contact-icon {
    display: list-item !important;
  }

  body.theme-ecom-basic .header-section .header-top .ht-rightul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
  }

  body.theme-ecom-basic .header-section .header-contact-dropdown-wrap {
    display: block;
  }

  body.theme-ecom-basic.header-email-open #header-email-panel,
  body.theme-ecom-basic.header-phone-open #header-phone-panel {
    display: block !important;
  }
}

@media (max-width: 767.98px) and (orientation: landscape) and (min-width: 568px) {
  body.theme-ecom-basic .header-section .header-top .ht-left {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.85rem;
  }

  body.theme-ecom-basic .header-section .header-top-contact-icon {
    display: none !important;
  }

  body.theme-ecom-basic .header-section .header-contact-dropdown-wrap {
    display: none !important;
  }
}

/* Login / register / forgot — full-page layout + legacy single-column pages */
body.theme-ecom-basic .user-auth-page {
  background: linear-gradient(180deg, #f4f6fb 0%, #eef2f9 40%, #ffffff 100%);
}

body.theme-ecom-basic .user-auth-page__breadcrumb {
  border-bottom: none;
  background-size: cover;
  background-position: center;
  position: relative;
}

body.theme-ecom-basic .user-auth-page__breadcrumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(30, 58, 95, 0.5) 100%);
}

body.theme-ecom-basic .user-auth-page__breadcrumb .container {
  position: relative;
  z-index: 1;
}

body.theme-ecom-basic .user-auth-page__crumb-title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

body.theme-ecom-basic .user-auth-page__breadcrumb .breadcrumb-text a,
body.theme-ecom-basic .user-auth-page__breadcrumb .breadcrumb-text span {
  color: rgba(255, 255, 255, 0.95);
}

body.theme-ecom-basic .user-auth-page__section {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

body.theme-ecom-basic .user-auth-page__panel {
  background: linear-gradient(160deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%);
  color: #fff;
  border-radius: 12px 0 0 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  box-shadow: var(--skin-shadow-sm);
}

body.theme-ecom-basic .user-auth-page__panel-title {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.2;
  color: #fff;
}

body.theme-ecom-basic .user-auth-page__panel-text {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

body.theme-ecom-basic .user-auth-page__panel-text a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
}

body.theme-ecom-basic .user-auth-page__panel-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.theme-ecom-basic .user-auth__row--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body.theme-ecom-basic .user-auth__row--split .user-auth__forgot {
  margin: 0;
}

body.theme-ecom-basic .user-auth__row--stack .user-auth__inline-alt {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

body.theme-ecom-basic .user-auth__row--links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

body.theme-ecom-basic .user-auth-page .user-auth__row--links a {
  color: var(--skin-accent);
  font-weight: 600;
}

body.theme-ecom-basic .user-auth-page .user-auth__inline-alt a {
  color: var(--skin-accent);
  font-weight: 600;
}

body.theme-ecom-basic .user-auth__intro--mobile {
  margin-bottom: 1rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
}

body.theme-ecom-basic .user-auth__submit--primary {
  display: block;
  width: 100%;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--skin-accent);
  border-color: var(--skin-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.25);
}

body.theme-ecom-basic .user-auth__submit--primary:hover {
  background: var(--skin-accent-hover);
  border-color: var(--skin-accent-hover);
  color: #fff;
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
}

body.theme-ecom-basic .user-auth-page .user-auth__footer-text {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}

body.theme-ecom-basic .user-auth-page .user-auth__footer-text a {
  color: var(--skin-accent);
  font-weight: 600;
}

/* Auth card — modern shell (BEM: user-auth__card-head, user-auth__input-wrap) */
body.theme-ecom-basic .user-auth-page .user-auth__inner.user-auth__card {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

body.theme-ecom-basic .user-auth-page .user-auth__inner .user-auth__alerts {
  padding: 1.25rem 1.75rem 0;
}

body.theme-ecom-basic .user-auth__card-head {
  padding: 1.75rem 1.5rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(165deg, rgba(30, 58, 95, 0.06) 0%, rgba(255, 255, 255, 0) 72%);
}

body.theme-ecom-basic .user-auth__card-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.12), rgba(30, 58, 95, 0.04));
  color: var(--skin-accent);
  font-size: 1.35rem;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

body.theme-ecom-basic .user-auth__card-head-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

body.theme-ecom-basic .user-auth__card-head-text {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #64748b;
}

body.theme-ecom-basic .user-auth__card-head-text--muted {
  color: #64748b;
}

body.theme-ecom-basic .user-auth__form--modern {
  padding: 1.5rem 1.75rem 1.85rem;
}

body.theme-ecom-basic .user-auth__form--modern .user-auth__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.4rem;
}

body.theme-ecom-basic .user-auth__input-wrap {
  position: relative;
}

body.theme-ecom-basic .user-auth__input-wrap .user-auth__input {
  padding-left: 2.85rem;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.theme-ecom-basic .user-auth__input-wrap::before {
  font-family: FontAwesome;
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
  z-index: 1;
}

body.theme-ecom-basic .user-auth__input-wrap--email::before {
  content: "\f0e0";
}
body.theme-ecom-basic .user-auth__input-wrap--password::before {
  content: "\f023";
}
body.theme-ecom-basic .user-auth__input-wrap--phone::before {
  content: "\f095";
}
body.theme-ecom-basic .user-auth__input-wrap--user::before {
  content: "\f007";
}
body.theme-ecom-basic .user-auth__input-wrap--captcha::before {
  content: "\f029";
}

body.theme-ecom-basic .user-auth__input-wrap:focus-within .user-auth__input {
  border-color: var(--skin-accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

body.theme-ecom-basic .user-auth__captcha-box {
  margin-top: 0.35rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(30, 58, 95, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body.theme-ecom-basic .user-auth__captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

body.theme-ecom-basic .user-auth__captcha-input {
  flex: 1 1 140px;
  min-width: 0;
}

body.theme-ecom-basic .user-auth__captcha-image {
  flex: 0 0 auto;
  padding: 0.25rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

body.theme-ecom-basic .user-auth__captcha-image .user-captcha-display img,
body.theme-ecom-basic .user-captcha-display__img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

body.theme-ecom-basic .user-auth__captcha-actions {
  flex: 0 0 auto;
}

body.theme-ecom-basic .user-auth__captcha-refresh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--skin-accent);
  color: #fff !important;
  font-size: 1.25rem;
  transition: filter 0.2s ease, transform 0.15s ease;
  text-decoration: none !important;
}

body.theme-ecom-basic .user-auth__captcha-refresh-btn:hover {
  filter: brightness(1.08);
  transform: scale(1.03);
  color: #fff !important;
}

body.theme-ecom-basic .user-auth__grid {
  margin-left: -8px;
  margin-right: -8px;
}

body.theme-ecom-basic .user-auth__grid > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

body.theme-ecom-basic .site-main .user-auth-wrap,
body.theme-ecom-basic .site-main .user-auth__inner {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: var(--skin-radius);
  box-shadow: var(--skin-shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body.theme-ecom-basic .user-auth-page .user-auth__inner {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0 12px 12px 0;
}

@media (max-width: 991.98px) {
  body.theme-ecom-basic .user-auth-page .user-auth__inner {
    border-radius: 12px;
  }
}

body.theme-ecom-basic .site-main .user-auth-wrap .form-control,
body.theme-ecom-basic .site-main .user-auth__input {
  border-radius: var(--skin-radius);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

body.theme-ecom-basic .site-main .user-auth-wrap .form-control:focus,
body.theme-ecom-basic .site-main .user-auth__input:focus {
  border-color: var(--skin-accent);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
  outline: none;
}

body.theme-ecom-basic .site-main .user-auth__alert {
  border-radius: var(--skin-radius);
}

body.theme-ecom-basic .site-main .user-auth__intro {
  margin-bottom: 1.25rem;
  color: inherit;
  opacity: 0.92;
}

body.theme-ecom-basic .site-main .user-auth--thanks .user-auth__title {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

body.theme-ecom-basic .site-main .user-auth--thanks .user-auth__text {
  margin-bottom: 0.75rem;
}

/* Product detail — stock card (heading + table) */
body.theme-ecom-basic .page-details .product-stock-block {
  border-radius: var(--skin-radius);
  box-shadow: var(--skin-shadow-sm);
}
body.theme-ecom-basic .page-details .product-stock-heading,
body.theme-ecom-basic .page-details .product-stock-block__summary {
  background: rgba(30, 58, 95, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
body.theme-ecom-basic .page-details .product-stock-table thead th {
  background: rgba(30, 58, 95, 0.06);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

/* Product detail — variant pills + swatches */
body.theme-ecom-basic .page-details .product-options {
  --po-accent: var(--skin-accent);
}
body.theme-ecom-basic .page-details .product-options__pill--size.is-selected,
body.theme-ecom-basic .page-details .product-options__pill--size[aria-pressed="true"] {
  background: var(--skin-accent);
  border-color: var(--skin-accent);
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.22);
}
body.theme-ecom-basic .page-details .product-color-checkbox:checked + .product-options__color-swatch {
  box-shadow: 0 0 0 3px var(--skin-accent), 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* Product reviews tab */
body.theme-ecom-basic .page-details .product-reviews__hero {
  border-color: rgba(15, 23, 42, 0.08);
}
body.theme-ecom-basic .page-details .product-reviews__login-card {
  border-color: rgba(30, 58, 95, 0.2);
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.08) 0%, #ffffff 60%);
}
body.theme-ecom-basic .page-details .product-reviews__login-btn.primary-btn {
  background: var(--skin-accent);
  border-color: var(--skin-accent);
}
body.theme-ecom-basic .page-details .product-reviews__login-btn.primary-btn:hover {
  background: var(--skin-accent-hover);
  border-color: var(--skin-accent-hover);
}

/* Product detail: never trap page content in a nested scroll (card / section grow with content) */
body.theme-ecom-basic .product-shop.page-details,
body.theme-ecom-basic .product-shop.page-details .container,
body.theme-ecom-basic .product-shop.page-details .product-details__panel {
  max-height: none;
  overflow-y: visible;
}

/* Header top strip — BEM: header-top-bar, header-top-contact */
body.theme-ecom-basic .header-top {
  background: linear-gradient(90deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

body.theme-ecom-basic .header-top .header-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 48px;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

body.theme-ecom-basic .header-top .ht-left,
body.theme-ecom-basic .header-top .ht-right {
  float: none !important;
  max-height: none !important;
}

body.theme-ecom-basic .header-top .ht-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

body.theme-ecom-basic .header-top .ht-left div {
  padding-top: 0;
}

body.theme-ecom-basic .header-top .ht-left .mail-service,
body.theme-ecom-basic .header-top .ht-left .phone-service {
  float: none;
  border: none;
  padding: 0.35rem 0.85rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff;
}

body.theme-ecom-basic .header-top .header-top-contact__link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

body.theme-ecom-basic .header-top .header-top-contact__link:hover {
  color: #fff;
  text-decoration: underline;
}

body.theme-ecom-basic .header-top .ht-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
}

body.theme-ecom-basic .header-top .ht-rightul {
  float: none;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

body.theme-ecom-basic .header-top .ht-rightul li {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.theme-ecom-basic .header-top .ht-right .login-panel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.15s ease;
}

body.theme-ecom-basic .header-top .ht-right .login-panel:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
  text-decoration: none !important;
}

body.theme-ecom-basic .header-top .ht-right .login-panel i {
  font-size: 0.95rem;
  opacity: 0.95;
}

body.theme-ecom-basic .header-top .top-social {
  float: none;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

body.theme-ecom-basic .header-top .top-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  transition: background 0.2s ease, transform 0.15s ease;
}

body.theme-ecom-basic .header-top .top-social a:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

body.theme-ecom-basic .header-top .langswitcherdiv {
  float: none;
  width: auto;
  display: flex;
  align-items: center;
  margin: 0;
}

body.theme-ecom-basic #changeLanguageForm {
  margin-top: 0;
}

body.theme-ecom-basic .header-top .langswitcherdiv .form-control {
  min-width: 110px;
  min-height: 32px;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
}

/* --------------------------------------------------------------------------
   Header middle (BEM-friendly hooks: .header-miidlearea, .inner-header)
   -------------------------------------------------------------------------- */
/* One `.container.inner-header` block (no nested wrapper) — align with main page gutters */
body.theme-ecom-basic .header-section .header-miidlearea,
body.theme-ecom-basic .header-section .header-middlearea {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
  overflow: visible !important;
  max-height: none !important;
}

body.theme-ecom-basic .header-section .header-miidlearea > .container.inner-header,
body.theme-ecom-basic .header-section .header-middlearea > .container.inner-header {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

body.theme-ecom-basic .header-section .header-miidlearea .inner-header > .row:first-child,
body.theme-ecom-basic .header-section .header-middlearea .inner-header > .row:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

body.theme-ecom-basic .header-section .header-miidlearea .logoholediv,
body.theme-ecom-basic .header-section .header-middlearea .logoholediv {
  display: flex;
  align-items: center;
}

body.theme-ecom-basic .header-section .header-miidlearea .inner-header .logo a,
body.theme-ecom-basic .header-section .header-middlearea .inner-header .logo a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

body.theme-ecom-basic .header-section .header-miidlearea .header-logo-img,
body.theme-ecom-basic .header-section .header-middlearea .header-logo-img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

body.theme-ecom-basic .header-section .header-miidlearea .inner-header .logo a:hover .header-logo-img,
body.theme-ecom-basic .header-section .header-middlearea .inner-header .logo a:hover .header-logo-img {
  transform: scale(1.02);
}

/* Search bar — pill card */
body.theme-ecom-basic .header-section .inner-header .advanced-search.advanced-search--header {
  height: auto !important;
  min-height: 52px;
  margin-top: 0 !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--skin-shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body.theme-ecom-basic .header-section .inner-header .advanced-search.advanced-search--header:focus-within {
  border-color: rgba(30, 58, 95, 0.35);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12), var(--skin-shadow-sm);
}

body.theme-ecom-basic .header-section .inner-header .advanced-search .search-form-full input[type="search"],
body.theme-ecom-basic .header-section .inner-header .advanced-search .search-form-full input[type="text"] {
  padding-left: 1.35rem;
  font-size: 0.95rem;
  color: #0f172a;
}

body.theme-ecom-basic .header-section .inner-header .advanced-search .search-form-full input::placeholder {
  color: #94a3b8;
}

body.theme-ecom-basic .header-section .inner-header .advanced-search .search-form-full button[type="submit"] {
  min-width: 52px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  border-radius: 0 999px 999px 0 !important;
  border: none !important;
  background: linear-gradient(145deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%) !important;
  color: #fff !important;
  font-size: 1.1rem;
  transition: filter 0.2s ease, transform 0.15s ease;
}

body.theme-ecom-basic .header-section .inner-header .advanced-search .search-form-full button[type="submit"]:hover {
  filter: brightness(1.06);
}

body.theme-ecom-basic .header-section .inner-header .advanced-search .search-form-full button[type="submit"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

/* Mobile search toggle */
body.theme-ecom-basic .header-section .mobile-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 0.35rem;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.22);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  vertical-align: middle;
}

body.theme-ecom-basic .header-section .mobile-search-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 58, 95, 0.28);
}

body.theme-ecom-basic .header-section .mobile-search-toggle:focus-visible {
  outline: 3px solid rgba(30, 58, 95, 0.35);
  outline-offset: 2px;
}

body.theme-ecom-basic .header-section .cardmobileview {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 0;
}

/* Cart cluster */
body.theme-ecom-basic .header-section .inner-header .nav-right {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0 !important;
  padding: 0;
}

body.theme-ecom-basic .header-section .inner-header .nav-right li {
  margin-left: 0 !important;
  vertical-align: middle;
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--skin-accent) !important;
  box-shadow: var(--skin-shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon > a:hover {
  transform: translateY(-2px);
  box-shadow: var(--skin-shadow);
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon a span {
  right: -4px;
  top: -4px;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(145deg, #e11d48 0%, #be123c 100%) !important;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(190, 18, 60, 0.45);
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-price {
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--skin-accent) !important;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(30, 58, 95, 0.08);
}

/* Minicart dropdown */
body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover {
  top: calc(100% + 14px);
  margin-top: 0;
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .select-total {
  border-top-color: rgba(15, 23, 42, 0.08);
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .select-total span,
body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .select-total h5 {
  color: var(--skin-accent) !important;
  float: none;
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .select-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .select-button .view-card {
  border-radius: 10px;
  background: #0f172a !important;
  letter-spacing: 0.06em;
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .select-button .checkout-btn {
  border-radius: 10px;
  background: linear-gradient(145deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%) !important;
  letter-spacing: 0.06em;
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .select-items table tr td.si-text .product-selected p {
  color: var(--skin-accent) !important;
}

/* Mobile search panel row */
body.theme-ecom-basic .header-section #mobile-search-panel {
  margin-top: 0.35rem;
  padding-bottom: 0;
}

body.theme-ecom-basic .header-section #mobile-search-panel .advanced-search.advanced-search--header {
  margin-top: 0 !important;
}

/* Slide-down search: clear space from logo row + nav strip; soft surface behind the pill */
body.theme-ecom-basic.mobile-search-open .header-section #mobile-search-panel {
  margin-top: 0.65rem;
  margin-bottom: 1.15rem;
  padding: 0.85rem 0 1.15rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, #ffffff 55%);
  border-radius: 0 0 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.theme-ecom-basic.mobile-search-open .header-section #mobile-search-panel .dispmobilesearch {
  padding-left: 2px;
  padding-right: 2px;
}

body.theme-ecom-basic.mobile-search-open .header-section #mobile-search-panel .advanced-search.advanced-search--header {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08) !important;
}

body.theme-ecom-basic.mobile-search-open .header-section .header-miidlearea,
body.theme-ecom-basic.mobile-search-open .header-section .header-middlearea {
  padding-bottom: 0.5rem !important;
}

/* --------------------------------------------------------------------------
   Primary nav + dropdowns (#mainnav, .submenu)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .header-section .nav-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

body.theme-ecom-basic .header-section .nav-item .container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

body.theme-ecom-basic .header-section .nav-item .nav-menu.mainnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

body.theme-ecom-basic .header-section .nav-item .nav-menu.mainnav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.15rem 0.25rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
}

body.theme-ecom-basic .header-section .nav-item .nav-menu li {
  margin-left: 0 !important;
  list-style: none;
}

body.theme-ecom-basic .header-section .nav-item .nav-menu li a {
  border-right: none !important;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

body.theme-ecom-basic .header-section .nav-item .nav-menu li:hover > a,
body.theme-ecom-basic .header-section .nav-item .nav-menu li.active > a {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

body.theme-ecom-basic .header-section .nav-item .nav-menu li > a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

/* Parent items with submenu — subtle chevron */
body.theme-ecom-basic .header-section #mainnav > ul > li:has(> ul.submenu) > a {
  padding-right: 1.65rem;
}

body.theme-ecom-basic .header-section #mainnav > ul > li:has(> ul.submenu) > a::after {
  content: "";
  position: absolute;
  right: 0.65rem;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

body.theme-ecom-basic .header-section #mainnav > ul > li > a {
  position: relative;
}

/* First-level dropdown — light panel */
body.theme-ecom-basic .header-section #mainnav ul.submenu {
  left: 0 !important;
  top: 150% !important;
  min-width: 260px;
  max-width: min(340px, calc(100vw - 24px));
  max-width: min(340px, calc(100dvw - 24px));
  padding: 0.5rem 0;
  border-radius: 14px;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.04);
  z-index: 12060;
}

body.theme-ecom-basic .header-section #mainnav ul li:hover > ul.submenu {
  top: 100% !important;
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li {
  border-top: none !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li:last-child {
  border-bottom: none;
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li > a {
  padding: 0.75rem 1.25rem !important;
  line-height: 1.4 !important;
  color: #0f172a !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li > a:hover {
  background: rgba(30, 58, 95, 0.08) !important;
  color: var(--skin-accent) !important;
}

/* Nested flyout */
body.theme-ecom-basic .header-section #mainnav ul.submenu ul.submenu_sub {
  left: 100% !important;
  top: 0 !important;
  margin-left: 6px;
  min-width: 240px;
  padding: 0.5rem 0;
  border-radius: 14px;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li ul.submenu_sub > li {
  border-top: none !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li ul.submenu_sub > li:last-child {
  border-bottom: none;
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li > ul.submenu_sub > li > a {
  color: #0f172a !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  text-transform: none;
  padding: 0.65rem 1.15rem !important;
  line-height: 1.4 !important;
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li > ul.submenu_sub > li > a:hover {
  background: rgba(30, 58, 95, 0.08) !important;
  color: var(--skin-accent) !important;
}

/* Keyboard / focus — mirror :hover so Tab opens dropdowns (pairs with :focus-visible on links) */
body.theme-ecom-basic .header-section #mainnav ul li:focus-within > ul.submenu {
  top: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.theme-ecom-basic .header-section #mainnav ul li > ul.submenu li:focus-within > ul.submenu_sub {
  top: 0% !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.theme-ecom-basic .header-section #mainnav ul.submenu > li > a:focus-visible,
body.theme-ecom-basic .header-section #mainnav ul.submenu > li > ul.submenu_sub > li > a:focus-visible {
  outline: 2px solid var(--skin-accent);
  outline-offset: -2px;
  z-index: 1;
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-ecom-basic .header-section .header-miidlearea .header-logo-img,
  body.theme-ecom-basic .header-section .header-middlearea .header-logo-img,
  body.theme-ecom-basic .header-section .inner-header .advanced-search.advanced-search--header,
  body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon > a,
  body.theme-ecom-basic .header-section .mobile-search-toggle,
  body.theme-ecom-basic .header-section .nav-item .nav-menu li a,
  body.theme-ecom-basic .header-section #mainnav ul.submenu,
  body.theme-ecom-basic .header-section #mainnav ul.submenu ul.submenu_sub,
  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav a,
  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav .slicknav_row,
  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav .slicknav_arrow {
    transition: none !important;
  }

  body.theme-ecom-basic .header-section .inner-header .logo a:hover .header-logo-img {
    transform: none;
  }

  body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon > a:hover,
  body.theme-ecom-basic .header-section .mobile-search-toggle:hover {
    transform: none;
  }
}

@media (max-width: 991.98px) {
  body.theme-ecom-basic .header-section .header-miidlearea .header-logo-img,
  body.theme-ecom-basic .header-section .header-middlearea .header-logo-img {
    max-height: 48px;
  }

  body.theme-ecom-basic .header-section .inner-header .advanced-search.advanced-search--header {
    min-height: 48px;
  }

  /* Middle header row: keep single flex line on iPhone (avoid overlap / wrap crash) */
  body.theme-ecom-basic .header-section .header-miidlearea .inner-header > .row:first-child,
  body.theme-ecom-basic .header-section .header-middlearea .inner-header > .row:first-child {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  body.theme-ecom-basic .header-section .logoholediv {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.theme-ecom-basic .header-section .cardmobileview {
    flex: 0 0 42% !important;
    max-width: 42% !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    padding-left: 6px !important;
  }

  body.theme-ecom-basic .header-section .inner-header .nav-right {
    flex-wrap: nowrap !important;
    gap: 4px !important;
    justify-content: flex-end !important;
    max-width: 100%;
  }

  body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-price {
    display: none !important;
  }

  body.theme-ecom-basic .header-section .cardmobileview #mobile-menu-wrap {
    flex: 0 0 auto;
  }

  /* style.css forces gray mobile-search-toggle — restore accent treatment */
  body.theme-ecom-basic .header-section .mobile-search-toggle {
    background: linear-gradient(145deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 auto !important;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.22) !important;
  }

  body.theme-ecom-basic .header-section .mobile-search-toggle i {
    color: #fff !important;
  }

  /* Nav strip: avoid empty shadow when bar is transparent on small screens */
  body.theme-ecom-basic .header-section .nav-item {
    box-shadow: none;
    border-top: none;
  }

  /* Mobile slide-down search row — same pill as desktop */
  body.theme-ecom-basic .header-section #mobile-search-panel .advanced-search.advanced-search--header {
    border-radius: 999px !important;
  }

  /* Hamburger + Slicknav drawer — card panel, clear hierarchy, friendly submenus */
  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_btn {
    background: linear-gradient(145deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.22) !important;
    padding: 8px 10px !important;
    min-height: 40px !important;
    gap: 6px !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_menutxt {
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_icon-bar {
    background-color: #fff !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    border-radius: 16px !important;
    box-shadow:
      0 24px 48px rgba(15, 23, 42, 0.16),
      0 0 0 1px rgba(15, 23, 42, 0.04) !important;
    padding: 6px 0 8px !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav > ul {
    padding: 4px 0 !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav > ul > li > a {
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-transform: none !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav a,
  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav .slicknav_row {
    color: #0f172a !important;
    border-bottom-color: rgba(15, 23, 42, 0.07) !important;
    font-weight: 500 !important;
    transition: background 0.18s ease, color 0.18s ease;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav > ul > li.slicknav_parent > .slicknav_item.slicknav_row {
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav > ul > li.slicknav_parent > .slicknav_item.slicknav_row > a {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    border-bottom: none !important;
    padding-right: 4px !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav > ul > li.slicknav_parent > .slicknav_item.slicknav_row > .slicknav_arrow {
    flex: 0 0 auto !important;
    align-self: center !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav a:hover,
  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav .slicknav_row:hover {
    background: rgba(30, 58, 95, 0.07) !important;
    color: var(--skin-accent) !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav > ul > li > a:focus-visible,
  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav .slicknav_item:focus-within {
    outline: 2px solid rgba(30, 58, 95, 0.35) !important;
    outline-offset: -2px !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav .slicknav_arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    color: var(--skin-accent) !important;
    background: rgba(30, 58, 95, 0.08) !important;
    transition: transform 0.22s ease, background 0.18s ease, color 0.18s ease;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav li.slicknav_parent.slicknav_open > .slicknav_item .slicknav_arrow {
    transform: rotate(90deg) !important;
    background: rgba(30, 58, 95, 0.14) !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav li.slicknav_parent.slicknav_open > .slicknav_item {
    background: rgba(30, 58, 95, 0.05) !important;
  }

  /* Nested submenu — inset “card” under parent */
  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav ul.submenu {
    margin: 0 10px 10px 12px !important;
    padding: 6px 0 !important;
    list-style: none !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 0 12px 12px 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-left: 3px solid var(--skin-accent) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 16px rgba(15, 23, 42, 0.06) !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav ul.submenu li {
    margin: 0 !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav ul.submenu li a {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 10px 14px 10px 16px !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    color: #334155 !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav ul.submenu li:last-child a {
    border-bottom: none !important;
  }

  body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav ul.submenu li a:hover {
    background: rgba(30, 58, 95, 0.06) !important;
    color: var(--skin-accent) !important;
  }

  /* Legacy: non–#mobile-menu-wrap slicknav (cached CSS) */
  body.theme-ecom-basic .slicknav_nav {
    background: #fff !important;
  }

  body.theme-ecom-basic .slicknav_nav a:hover,
  body.theme-ecom-basic .slicknav_nav .slicknav_row:hover {
    background: rgba(30, 58, 95, 0.08) !important;
    color: var(--skin-accent) !important;
  }

  body.theme-ecom-basic .slicknav_nav a,
  body.theme-ecom-basic .slicknav_nav .slicknav_row {
    color: #0f172a !important;
  }

  /* Cart + search: compact row for ~42% column width on phones */
  body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon > a {
    min-width: 40px !important;
    min-height: 40px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: var(--skin-shadow-sm) !important;
  }
}

@media (max-width: 575.98px) {
  body.theme-ecom-basic .header-section .mobile-search-toggle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
  }
}

/* --------------------------------------------------------------------------
   Page shell (<main class="site-main page-shell">) — single scroll column
   Global style.css sets .site-main { padding: 70px 0 } which stacks with
   .shopping-cart / home sections and reads as “nested” blocks + extra scroll.
   -------------------------------------------------------------------------- */
body.theme-ecom-basic main.site-main.page-shell {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0 !important;
  /* Same overflow-axis quirk as .header-section: hidden+visible → computed auto on y,
     which can nest a second scrollbar between header and breadcrumb. Clip X on body/html only. */
  overflow: visible;
  background-color: #fff;
  /* Stay below .header-section (z-index 10020+) so breadcrumb never paints over the header */
  position: relative;
  z-index: 0;
}

body.theme-ecom-basic main.site-main.page-shell > #main_ajax_response:empty {
  display: none;
}

/* Breadcrumb + inner content: one vertical rhythm (no gap “stripe” from old main padding) */
body.theme-ecom-basic .page-shell .breacrumb-section {
  margin-bottom: 0;
}

body.theme-ecom-basic .page-shell .shopping-cart.spad {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

body.theme-ecom-basic .page-shell .breacrumb-section + .shopping-cart.spad {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

/* Cart table: card feel; horizontal scroll stays on .cart-table only (responsive.css) */
body.theme-ecom-basic .page-shell .shopping-cart .cart-table {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.theme-ecom-basic .page-shell .shopping-cart .cart-table table {
  border: none;
  margin-bottom: 0;
}

body.theme-ecom-basic .page-shell .shopping-cart .cart-table table tr th {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.95);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

body.theme-ecom-basic .page-shell .shopping-cart .proceed-checkout {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--skin-shadow-sm);
}

@media (max-width: 991.98px) {
  body.theme-ecom-basic .header-section .container,
  body.theme-ecom-basic .header-section .header-top .container,
  body.theme-ecom-basic .header-section .nav-item .container,
  body.theme-ecom-basic .page-shell > .container,
  body.theme-ecom-basic .page-shell .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* --------------------------------------------------------------------------
   Cart page — modern layout (BEM-style hooks on .cart-page)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-table table {
  min-width: 560px;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-table table tr th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  padding: 14px 10px;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-table table tr td {
  padding: 18px 10px 20px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-table .cart-thumb-img {
  width: 72px;
  height: auto;
  max-width: 88px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  object-fit: cover;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-title h5 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
  margin: 0;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-page__biz-type {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-buttons .primary-btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-buttons .continue-shop {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #334155;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-buttons .continue-shop:hover {
  border-color: var(--skin-accent);
  color: var(--skin-accent);
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-buttons .up-cart {
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.06) 0%, rgba(30, 58, 95, 0.02) 100%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .discount-coupon {
  padding: 1rem 1.15rem 1.2rem;
  border-radius: 12px;
  border: 1px dashed rgba(30, 58, 95, 0.22);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, #fff 100%);
  margin-bottom: 1.5rem;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .discount-coupon h6 {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 12px;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .discount-coupon .coupon-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .discount-coupon .coupon-form .cart-coupon-input,
body.theme-ecom-basic .page-shell .shopping-cart.cart-page .discount-coupon .coupon-form input[type="text"] {
  flex: 1 1 160px;
  min-width: 0;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0 14px;
  font-size: 0.9375rem;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .discount-coupon .coupon-form .coupon-btn {
  position: static;
  border-radius: 10px;
  padding: 12px 20px;
  background: linear-gradient(145deg, var(--skin-accent) 0%, var(--skin-accent-hover) 100%);
  color: #fff !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.2);
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout {
  padding: 1.15rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout ul {
  border: none;
  background: transparent;
  padding: 0 0 12px;
  margin: 0;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout ul li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9375rem;
  text-transform: none;
  color: #334155;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout ul li span {
  float: none;
  font-variant-numeric: tabular-nums;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout ul li.cart-total {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout ul li.cart-total span {
  color: var(--skin-accent) !important;
  font-size: 1.15rem;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout .proceed-btn {
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout .proceed-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
  color: #fff;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .proceed-checkout > p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
  margin-top: 12px;
  margin-bottom: 0;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .qua-col .pro-qty {
  border-radius: 10px;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .close-td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(225, 29, 72, 0.08);
  color: #be123c !important;
  transition: background 0.15s ease;
}

body.theme-ecom-basic .page-shell .shopping-cart.cart-page .close-td a:hover {
  background: rgba(225, 29, 72, 0.15);
}

@media (min-width: 992px) {
  body.theme-ecom-basic .page-shell .shopping-cart.cart-page .cart-page__aside {
    position: sticky;
    top: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Touch / pointer — reliable taps on iOS (no ghost overlays stealing hits)
   -------------------------------------------------------------------------- */
#watermarking {
  pointer-events: none !important;
}

.watermark-tile {
  pointer-events: none !important;
}

body.theme-ecom-basic .header-section .mobile-search-toggle,
body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_btn,
body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon > a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(30, 58, 95, 0.12);
  cursor: pointer;
}

body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav a,
body.theme-ecom-basic .header-section #mobile-menu-wrap .slicknav_nav .slicknav_row {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(30, 58, 95, 0.1);
  cursor: pointer;
}

/* Minicart panel: only intercept taps when visible (hover desktop / open state) */
body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover {
  pointer-events: none;
}

body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon:hover .cart-hover,
body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover:hover {
  pointer-events: auto;
}

/* Minicart on narrow viewports: anchor to the screen edges so the panel cannot sit
   mostly left of the viewport (absolute + wide width + narrow parent column). */
@media (max-width: 767.98px) {
  body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover {
    position: fixed !important;
    left: max(12px, env(safe-area-inset-left, 0px)) !important;
    right: max(12px, env(safe-area-inset-right, 0px)) !important;
    width: auto !important;
    max-width: none !important;
    top: max(76px, calc(env(safe-area-inset-top, 0px) + 52px)) !important;
    bottom: auto !important;
    margin-top: 0 !important;
    transform: none !important;
    max-height: min(72vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 12060 !important;
    padding-top: 52px;
  }

  body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .cart-hover__close {
    background: rgba(30, 58, 95, 0.1);
    color: var(--skin-accent);
  }

  body.theme-ecom-basic .header-section .inner-header .nav-right li.cart-icon .cart-hover .cart-hover__close:active {
    background: rgba(30, 58, 95, 0.16);
  }
}

/* ==========================================================================
   ECOM BASIC — HOMEPAGE & CONTENT SECTIONS
   Added: modern overrides for hero, products, categories, benefits, blog,
   footer, breadcrumb, products listing, product detail, checkout.
   All rules scoped to body.theme-ecom-basic to avoid bleed to other themes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens refresh (site-wide)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic {
  --eb-accent:        #1e3a5f;
  --eb-accent-hover:  #152a45;
  --eb-accent-light:  rgba(30, 58, 95, 0.08);
  --eb-accent-mid:    rgba(30, 58, 95, 0.14);
  --eb-text:          #0f172a;
  --eb-text-muted:    #64748b;
  --eb-text-sub:      #334155;
  --eb-border:        rgba(15, 23, 42, 0.08);
  --eb-bg-off:        #f8fafc;
  --eb-radius:        12px;
  --eb-radius-lg:     16px;
  --eb-shadow-sm:     0 2px 8px rgba(15, 23, 42, 0.06);
  --eb-shadow:        0 8px 24px rgba(15, 23, 42, 0.09);
  --eb-shadow-lg:     0 20px 48px rgba(15, 23, 42, 0.13);
}

/* --------------------------------------------------------------------------
   Preloder fix (pink → accent)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic #preloder {
  background: var(--eb-accent) !important;
}

/* --------------------------------------------------------------------------
   Section title — override pink underline with navy
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .section-title h2::before {
  background: var(--eb-accent) !important;
}
body.theme-ecom-basic .section-title h2 {
  color: var(--eb-text) !important;
  font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  margin-bottom: 2.25rem !important;
}

/* --------------------------------------------------------------------------
   Hero / slider — clean modern hero
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .hero-section {
  position: relative;
  overflow: hidden;
}
body.theme-ecom-basic .hero-items.owl-carousel {
  height: auto !important;
  min-height: 480px;
  padding-top: 0 !important;
}
body.theme-ecom-basic .single-hero-items {
  min-height: 480px !important;
  height: clamp(420px, 54vw, 680px) !important;
  display: flex !important;
  align-items: center !important;
  position: relative;
}
body.theme-ecom-basic .single-hero-items::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.38) 55%, rgba(15, 23, 42, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}
body.theme-ecom-basic .single-hero-items .container {
  position: relative;
  z-index: 2;
}
body.theme-ecom-basic .single-hero-items h1,
body.theme-ecom-basic .single-hero-items .saf_hero_title {
  font-size: clamp(1.75rem, 4.5vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  top: 0 !important;
  opacity: 1 !important;
}
body.theme-ecom-basic .single-hero-items p,
body.theme-ecom-basic .single-hero-items .saf_hero_desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6 !important;
  max-width: 540px;
  top: 0 !important;
  opacity: 1 !important;
}
body.theme-ecom-basic .single-hero-items .primary-btn,
body.theme-ecom-basic .single-hero-items .saf_hero_btn {
  background: #fff !important;
  color: var(--eb-accent) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
  top: 0 !important;
  opacity: 1 !important;
}
body.theme-ecom-basic .single-hero-items .primary-btn:hover,
body.theme-ecom-basic .single-hero-items .saf_hero_btn:hover {
  background: var(--eb-accent) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22) !important;
}

/* Owl nav arrows — icon always visible, background only on hover */
body.theme-ecom-basic .hero-items .owl-nav button[type=button] {
  background: transparent !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  color: #fff !important;
  font-size: 22px !important;
  transition: background 0.18s ease !important;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
body.theme-ecom-basic .hero-items .owl-nav button[type=button]:hover {
  background: rgba(0, 0, 0, 0.40) !important;
}
/* Single-slide: hide nav arrows */
body.theme-ecom-basic .hero--single-slide .owl-nav,
body.theme-ecom-basic .hero--single-slide .owl-dots {
  display: none !important;
}
body.theme-ecom-basic .hero-items .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.5) !important;
  transition: background 0.2s, width 0.2s;
}
body.theme-ecom-basic .hero-items .owl-dots .owl-dot.active span {
  background: #fff !important;
  width: 24px !important;
}

/* --------------------------------------------------------------------------
   Homepage — About / About-main section
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .about-main {
  background: #fff;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
body.theme-ecom-basic .about-main h2 {
  color: var(--eb-text) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.theme-ecom-basic .about-main p {
  color: var(--eb-text-sub) !important;
  font-size: 1.05rem;
  line-height: 1.75;
}
body.theme-ecom-basic .about-main .primary-btn {
  background: var(--eb-accent) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 13px 32px !important;
  transition: background 0.18s ease, transform 0.15s ease !important;
}
body.theme-ecom-basic .about-main .primary-btn:hover {
  background: var(--eb-accent-hover) !important;
  transform: translateY(-1px) !important;
}

/* --------------------------------------------------------------------------
   Homepage — Product cards  (.product-item, .pi-pic, .pi-text)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .product-item {
  background: #fff !important;
  border-radius: var(--eb-radius-lg) !important;
  border: 1px solid var(--eb-border) !important;
  box-shadow: var(--eb-shadow-sm) !important;
  transition: box-shadow 0.22s ease, transform 0.2s ease, border-color 0.2s ease !important;
  overflow: hidden !important;
  margin-bottom: 1.5rem !important;
}
body.theme-ecom-basic .product-item:hover {
  box-shadow: var(--eb-shadow) !important;
  transform: translateY(-3px) !important;
  border-color: rgba(30, 58, 95, 0.16) !important;
}
body.theme-ecom-basic .product-item .pi-pic {
  overflow: hidden !important;
  position: relative;
  background: var(--eb-bg-off);
}
body.theme-ecom-basic .product-item .pi-pic img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: transform 0.4s ease !important;
  display: block;
}
body.theme-ecom-basic .product-item:hover .pi-pic img {
  transform: scale(1.06) !important;
}
/* Sale badge — navy */
body.theme-ecom-basic .product-item .pi-pic .sale,
body.theme-ecom-basic .product-item .pi-pic .pp-sale {
  background: var(--eb-accent) !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  padding: 3px 8px !important;
  top: 12px !important;
  left: 12px !important;
}
/* Action buttons bar */
body.theme-ecom-basic .product-item .pi-pic ul {
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 0 0 var(--eb-radius) var(--eb-radius) !important;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08) !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.theme-ecom-basic .product-item .pi-pic ul li a {
  color: var(--eb-text) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  border-radius: 0 !important;
}
body.theme-ecom-basic .product-item .pi-pic ul li a:hover,
body.theme-ecom-basic .product-item .pi-pic .w-icon.active a:hover {
  background: var(--eb-accent) !important;
  color: #fff !important;
}
/* Product text */
body.theme-ecom-basic .product-item .pi-text {
  padding: 14px 16px 18px !important;
  text-align: left !important;
}
body.theme-ecom-basic .product-item .pi-text h5 {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--eb-text) !important;
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.theme-ecom-basic .product-item .pi-text h5 a {
  color: inherit !important;
}
body.theme-ecom-basic .product-item .pi-text .catagory-name {
  font-size: 0.72rem !important;
  color: var(--eb-text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 4px !important;
}
body.theme-ecom-basic .product-item .pi-text .product-price {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--eb-accent) !important;
}
body.theme-ecom-basic .product-item .pi-text .product-price span {
  font-size: 0.85rem !important;
  color: var(--eb-text-muted) !important;
  text-decoration: line-through !important;
  margin-left: 6px !important;
  font-weight: 400 !important;
}

/* --------------------------------------------------------------------------
   Homepage — Section containers (.women-banner, spad)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .women-banner.spad {
  background: #fff !important;
  padding-top: clamp(2rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2rem, 5vw, 4rem) !important;
}
body.theme-ecom-basic .women-banner.spad:nth-child(even) {
  background: var(--eb-bg-off) !important;
}
body.theme-ecom-basic .spad {
  padding-top: clamp(2rem, 5vw, 4.5rem) !important;
  padding-bottom: clamp(2rem, 5vw, 4.5rem) !important;
}

/* --------------------------------------------------------------------------
   Homepage — Category classification tiles
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .home-classification-tile {
  position: relative;
  border-radius: var(--eb-radius-lg) !important;
  overflow: hidden !important;
  box-shadow: var(--eb-shadow-sm) !important;
  transition: box-shadow 0.22s ease, transform 0.2s ease !important;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
body.theme-ecom-basic .home-classification-tile:hover {
  box-shadow: var(--eb-shadow) !important;
  transform: translateY(-4px) !important;
}
body.theme-ecom-basic .home-classification-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
  border-radius: 0 !important;
}
body.theme-ecom-basic .home-classification-tile:hover .home-classification-img {
  transform: scale(1.08) !important;
}
body.theme-ecom-basic .home-classification-tile .home-classification-overlay,
body.theme-ecom-basic .home-classification-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
  pointer-events: none;
  border-radius: var(--eb-radius-lg);
}
body.theme-ecom-basic .home-classification-title-link {
  position: absolute !important;
  bottom: 14px !important;
  left: 14px !important;
  right: 14px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  z-index: 2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Homepage — Benefits strip
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .benefit-main {
  background: var(--eb-bg-off) !important;
  padding-top: clamp(2rem, 4vw, 3rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
}
body.theme-ecom-basic .benefit-main .single-benefit {
  background: #fff !important;
  border: 1px solid var(--eb-border) !important;
  border-right: none !important;
  box-shadow: none !important;
  padding: 1.5rem 1.25rem !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  min-height: auto !important;
  transition: background 0.18s ease !important;
}
body.theme-ecom-basic .benefit-main [class*="col-"]:last-child .single-benefit {
  border-right: 1px solid var(--eb-border) !important;
}
body.theme-ecom-basic .benefit-main .single-benefit:hover {
  background: rgba(30, 58, 95, 0.03) !important;
}
body.theme-ecom-basic .benefit-main .single-benefit .sb-icon {
  float: none !important;
  flex-shrink: 0 !important;
  width: 44px !important;
  margin-right: 0 !important;
}
body.theme-ecom-basic .benefit-main .single-benefit .sb-icon img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
}
body.theme-ecom-basic .benefit-main .single-benefit .sb-text {
  display: block !important;
}
body.theme-ecom-basic .benefit-main .single-benefit .sb-text h6 {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: var(--eb-text) !important;
  margin-bottom: 4px !important;
}
body.theme-ecom-basic .benefit-main .single-benefit .sb-text p {
  font-size: 0.82rem !important;
  color: var(--eb-text-muted) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* --------------------------------------------------------------------------
   Homepage — Blog section
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .latest-blog.spad {
  background: #fff !important;
}
body.theme-ecom-basic .single-latest-blog {
  background: #fff !important;
  border-radius: var(--eb-radius-lg) !important;
  border: 1px solid var(--eb-border) !important;
  box-shadow: var(--eb-shadow-sm) !important;
  overflow: hidden !important;
  transition: box-shadow 0.22s ease, transform 0.2s ease !important;
  height: 100%;
}
body.theme-ecom-basic .single-latest-blog:hover {
  box-shadow: var(--eb-shadow) !important;
  transform: translateY(-3px) !important;
}
body.theme-ecom-basic .single-latest-blog > a > img,
body.theme-ecom-basic .single-latest-blog img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: transform 0.4s ease !important;
}
body.theme-ecom-basic .single-latest-blog:hover img {
  transform: scale(1.05) !important;
}
body.theme-ecom-basic .single-latest-blog .latest-text {
  padding: 1.1rem 1.25rem 1.35rem !important;
}
body.theme-ecom-basic .single-latest-blog .latest-text .tag-item {
  font-size: 0.78rem !important;
  color: var(--eb-text-muted) !important;
}
body.theme-ecom-basic .single-latest-blog .latest-text h4 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--eb-text) !important;
  line-height: 1.45 !important;
  margin-bottom: 0.5rem !important;
}
body.theme-ecom-basic .single-latest-blog .latest-text h4 a {
  color: inherit !important;
  transition: color 0.15s ease !important;
}
body.theme-ecom-basic .single-latest-blog .latest-text h4 a:hover {
  color: var(--eb-accent) !important;
}
body.theme-ecom-basic .single-latest-blog .latest-text p {
  font-size: 0.875rem !important;
  color: var(--eb-text-sub) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* --------------------------------------------------------------------------
   Primary button — global override (pink → navy)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .primary-btn,
body.theme-ecom-basic .site-btn {
  background: var(--eb-accent) !important;
  color: #fff !important;
  border-radius: var(--eb-radius) !important;
  border: none !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease !important;
}
body.theme-ecom-basic .primary-btn:hover,
body.theme-ecom-basic .site-btn:hover {
  background: var(--eb-accent-hover) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* --------------------------------------------------------------------------
   Footer — modern dark navy
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .footer-section {
  background: #0a1628 !important;
  padding-top: clamp(2.5rem, 6vw, 4.5rem) !important;
  border-top: none !important;
}
body.theme-ecom-basic .footer-section .footer-widget h5,
body.theme-ecom-basic .footer-section .footer-left h5,
body.theme-ecom-basic .footer-section .newslatter-item h5 {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin-bottom: 1.25rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}
body.theme-ecom-basic .footer-section .footer-left ul li,
body.theme-ecom-basic .footer-section .footer-left ul li a {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
}
body.theme-ecom-basic .footer-section .footer-left ul li i {
  color: rgba(30, 58, 95, 0.8);
  margin-right: 8px;
  width: 16px;
}
body.theme-ecom-basic .footer-section .footer-widget ul.footer-nav li a,
body.theme-ecom-basic .footer-section .footer-widget ul li a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.9rem !important;
  line-height: 2 !important;
  transition: color 0.15s ease, padding-left 0.15s ease !important;
  display: inline-block !important;
}
body.theme-ecom-basic .footer-section .footer-widget ul li a:hover {
  color: #fff !important;
  padding-left: 4px !important;
}
/* Footer social icons */
body.theme-ecom-basic .footer-left .footer-social a {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  transition: background 0.18s ease, transform 0.15s ease !important;
}
body.theme-ecom-basic .footer-left .footer-social a:hover {
  background: var(--eb-accent) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}
body.theme-ecom-basic .footer-left .footer-social a::before {
  background: transparent !important;
  opacity: 0 !important;
}
/* Newsletter */
body.theme-ecom-basic .newslatter-item p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.9rem !important;
}
body.theme-ecom-basic .newslatter-item .subscribe-form {
  display: flex;
  gap: 0;
  border-radius: var(--eb-radius) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
body.theme-ecom-basic .newslatter-item .subscribe-form input {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: none !important;
  padding-left: 16px !important;
  font-size: 0.9rem !important;
  height: 48px !important;
  border-radius: 0 !important;
  flex: 1;
}
body.theme-ecom-basic .newslatter-item .subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}
body.theme-ecom-basic .newslatter-item .subscribe-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12) !important;
}
body.theme-ecom-basic .newslatter-item .subscribe-form button {
  position: static !important;
  background: var(--eb-accent) !important;
  border: none !important;
  height: 48px !important;
  padding: 0 20px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
  transition: background 0.18s ease !important;
  cursor: pointer;
  border-radius: 0 !important;
  white-space: nowrap;
}
body.theme-ecom-basic .newslatter-item .subscribe-form button:hover {
  background: var(--eb-accent-hover) !important;
}
/* Copyright strip */
body.theme-ecom-basic .copyright-reserved {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: clamp(1.5rem, 4vw, 3rem) !important;
  padding: 1.25rem 0 !important;
  background: rgba(0, 0, 0, 0.15);
}
body.theme-ecom-basic .copyright-reserved .copyright-text {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.85rem !important;
}
body.theme-ecom-basic .copyright-reserved .copyright-text a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.15s ease !important;
}
body.theme-ecom-basic .copyright-reserved .copyright-text a:hover {
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   Breadcrumb (inner pages)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .breacrumb-section {
  min-height: 200px !important;
  padding: clamp(2rem, 5vw, 3.5rem) 0 !important;
  background-color: var(--eb-accent) !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  display: flex;
  align-items: center;
}
body.theme-ecom-basic .breacrumb-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(30, 58, 95, 0.65) 100%);
  pointer-events: none;
}
body.theme-ecom-basic .breacrumb-section .container {
  position: relative;
  z-index: 1;
}
body.theme-ecom-basic .breacrumb-section h3 {
  color: #fff !important;
  font-size: clamp(1.4rem, 3.5vw, 2.25rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
body.theme-ecom-basic .breadcrumb-text a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.88rem !important;
  margin-right: 24px !important;
  font-weight: 500 !important;
}
body.theme-ecom-basic .breadcrumb-text a::after {
  color: rgba(255, 255, 255, 0.5) !important;
  right: -16px !important;
}
body.theme-ecom-basic .breadcrumb-text span {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.88rem !important;
}

/* --------------------------------------------------------------------------
   Products listing page
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .product-shop.spad {
  padding-top: clamp(1.5rem, 4vw, 2.5rem) !important;
  padding-bottom: clamp(2rem, 5vw, 4rem) !important;
}
/* Sidebar filter */
body.theme-ecom-basic .filter-widget {
  background: #fff !important;
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius) !important;
  padding: 1.25rem 1.25rem 1.35rem !important;
  box-shadow: var(--eb-shadow-sm) !important;
  margin-bottom: 1.5rem !important;
}
body.theme-ecom-basic .filter-widget .fw-title {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: var(--eb-text) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 2px solid var(--eb-border) !important;
}
body.theme-ecom-basic .filter-widget .filter-catagories li a {
  color: var(--eb-text-sub) !important;
  font-size: 0.9rem !important;
  line-height: 2.2 !important;
  transition: color 0.15s ease, padding-left 0.15s ease !important;
  display: inline-block !important;
}
body.theme-ecom-basic .filter-widget .filter-catagories li a:hover {
  color: var(--eb-accent) !important;
  padding-left: 4px !important;
}
/* Filter checkbox */
body.theme-ecom-basic .filter-widget .fw-brand-check .bc-item label input:checked ~ span {
  background: var(--eb-accent) !important;
  border-color: var(--eb-accent) !important;
}
/* Product sort bar */
body.theme-ecom-basic .product-show-option {
  background: #fff !important;
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius) !important;
  padding: 12px 16px !important;
  box-shadow: var(--eb-shadow-sm) !important;
  margin-bottom: 1.25rem !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
body.theme-ecom-basic .product-show-option p {
  color: var(--eb-text-sub) !important;
  font-size: 0.875rem !important;
  margin: 0 !important;
}
body.theme-ecom-basic .product-show-option .select-option select,
body.theme-ecom-basic .product-show-option select {
  border: 1px solid var(--eb-border) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  font-size: 0.875rem !important;
  color: var(--eb-text) !important;
  background: var(--eb-bg-off) !important;
}
/* Product listing search form */
body.theme-ecom-basic .product-listing__search-form input[type="text"],
body.theme-ecom-basic .filter-widget .advanced-search input {
  border: 1px solid var(--eb-border) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  width: 100% !important;
  margin-bottom: 10px !important;
}
body.theme-ecom-basic .filter-widget .primary-btn,
body.theme-ecom-basic .product-listing__search-form .primary-btn {
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-size: 0.875rem !important;
}

/* --------------------------------------------------------------------------
   Product detail page
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .product-shop.page-details {
  background: #fff;
}
body.theme-ecom-basic .pd-title h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem) !important;
  font-weight: 700 !important;
  color: var(--eb-text) !important;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
body.theme-ecom-basic .pd-title .pd-rating {
  margin-bottom: 0.5rem;
}
body.theme-ecom-basic .pd-title .pd-rating span {
  color: var(--eb-accent) !important;
  font-size: 0.85rem !important;
}
body.theme-ecom-basic .pd-desc h4,
body.theme-ecom-basic .product-details__panel .pd-desc h4 {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: var(--eb-accent) !important;
  letter-spacing: -0.01em;
}
body.theme-ecom-basic .pd-desc h4 span {
  font-size: 1rem !important;
  color: var(--eb-text-muted) !important;
  text-decoration: line-through !important;
  font-weight: 400 !important;
  margin-left: 8px;
}
body.theme-ecom-basic .product-details__panel .product-vat-note {
  background: rgba(30, 58, 95, 0.06) !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 0.8rem !important;
  color: var(--eb-text-muted) !important;
  display: inline-block !important;
}
/* Product actions */
body.theme-ecom-basic .product-actions .primary-btn.pd-cart {
  background: var(--eb-accent) !important;
  border-radius: var(--eb-radius) !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.25) !important;
}
body.theme-ecom-basic .product-actions .primary-btn.pd-cart:hover {
  background: var(--eb-accent-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.32) !important;
}
/* Quantity stepper */
body.theme-ecom-basic .pro-qty {
  border: 1px solid var(--eb-border) !important;
  border-radius: var(--eb-radius) !important;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}
/* Tab nav on product detail */
body.theme-ecom-basic .tab-item ul li a {
  color: var(--eb-text-sub) !important;
  border-bottom: 2px solid transparent !important;
  font-weight: 600 !important;
  transition: color 0.15s ease, border-color 0.15s ease !important;
}
body.theme-ecom-basic .tab-item ul li a.active,
body.theme-ecom-basic .tab-item ul li a:hover {
  color: var(--eb-accent) !important;
  border-bottom-color: var(--eb-accent) !important;
}

/* --------------------------------------------------------------------------
   Checkout page
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .checkout-section.spad {
  background: var(--eb-bg-off) !important;
  padding-top: clamp(1.5rem, 4vw, 2.5rem) !important;
  padding-bottom: clamp(2rem, 5vw, 4rem) !important;
}
body.theme-ecom-basic .checkout-section .checkout-content,
body.theme-ecom-basic .checkout-section .place-order {
  background: #fff !important;
  border-radius: var(--eb-radius-lg) !important;
  border: 1px solid var(--eb-border) !important;
  box-shadow: var(--eb-shadow-sm) !important;
  padding: 1.75rem 1.5rem !important;
}
body.theme-ecom-basic .checkout-section .checkout-content input,
body.theme-ecom-basic .checkout-section .checkout-content select,
body.theme-ecom-basic .checkout-section .checkout-content textarea {
  border: 1px solid var(--eb-border) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-size: 0.9375rem !important;
  width: 100% !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}
body.theme-ecom-basic .checkout-section .checkout-content input:focus,
body.theme-ecom-basic .checkout-section .checkout-content select:focus,
body.theme-ecom-basic .checkout-section .checkout-content textarea:focus {
  border-color: var(--eb-accent) !important;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1) !important;
  outline: none !important;
}
body.theme-ecom-basic .checkout-section .site-btn.place-btn {
  background: var(--eb-accent) !important;
  border-radius: var(--eb-radius) !important;
  padding: 15px 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.22) !important;
  border: none !important;
  transition: background 0.18s ease, transform 0.15s ease !important;
}
body.theme-ecom-basic .checkout-section .site-btn.place-btn:hover {
  background: var(--eb-accent-hover) !important;
  transform: translateY(-1px) !important;
}

/* --------------------------------------------------------------------------
   Contact / static pages (.about-box)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .site-main.about-box {
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

/* --------------------------------------------------------------------------
   Scroll-to-top button
   -------------------------------------------------------------------------- */
body.theme-ecom-basic #scroll {
  background: var(--eb-accent) !important;
  border-radius: 50% !important;
  color: #fff !important;
  box-shadow: var(--eb-shadow) !important;
  transition: background 0.18s ease, transform 0.15s ease !important;
}
body.theme-ecom-basic #scroll:hover {
  background: var(--eb-accent-hover) !important;
  transform: translateY(-2px) !important;
}

/* --------------------------------------------------------------------------
   Pagination (product listing)
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .pagination li a,
body.theme-ecom-basic .pagination li span {
  border-radius: 8px !important;
  border-color: var(--eb-border) !important;
  color: var(--eb-text-sub) !important;
  font-weight: 600 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
body.theme-ecom-basic .pagination li.active a,
body.theme-ecom-basic .pagination li a:hover {
  background: var(--eb-accent) !important;
  border-color: var(--eb-accent) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   Alert / flash messages — themed
   -------------------------------------------------------------------------- */
body.theme-ecom-basic #main_ajax_response .alert-success,
body.theme-ecom-basic .news_latter_msg .alert-success {
  border-left: 4px solid #16a34a;
  border-radius: var(--eb-radius);
}
body.theme-ecom-basic #main_ajax_response .alert-danger,
body.theme-ecom-basic .news_latter_msg .alert-danger {
  border-left: 4px solid #dc2626;
  border-radius: var(--eb-radius);
}

/* --------------------------------------------------------------------------
   Home classification row spacing
   -------------------------------------------------------------------------- */
body.theme-ecom-basic .home-classification-row {
  row-gap: 1.25rem;
}
body.theme-ecom-basic .home-classification-row > [class*="col-"] {
  margin-bottom: 0;
}

/* ==========================================================================
   ECOM BASIC — RESPONSIVE ENHANCEMENTS
   Scoped to body.theme-ecom-basic. Covers breakpoints not handled by the
   base responsive.css above.
   ========================================================================== */

/* Hero — mobile */
@media (max-width: 767.98px) {
  body.theme-ecom-basic .hero-items.owl-carousel {
    min-height: 280px;
  }
  body.theme-ecom-basic .single-hero-items {
    min-height: 280px !important;
    height: clamp(260px, 68vw, 380px) !important;
    padding: 0 !important;
  }
  body.theme-ecom-basic .single-hero-items .primary-btn,
  body.theme-ecom-basic .single-hero-items .saf_hero_btn {
    padding: 11px 22px !important;
    font-size: 0.875rem !important;
  }
}
@media (max-width: 479.98px) {
  body.theme-ecom-basic .single-hero-items {
    min-height: 220px !important;
    height: clamp(200px, 72vw, 300px) !important;
  }
}

/* Product cards — 2 columns on tablet, 1 on phone */
@media (max-width: 767.98px) {
  body.theme-ecom-basic .product-item .pi-pic img {
    height: 180px !important;
  }
}
@media (max-width: 479.98px) {
  body.theme-ecom-basic .product-item .pi-pic img {
    height: 160px !important;
  }
}

/* Benefits strip — stack on mobile */
@media (max-width: 767.98px) {
  body.theme-ecom-basic .benefit-main .single-benefit {
    border-right: 1px solid var(--eb-border) !important;
    border-bottom: 1px solid var(--eb-border) !important;
  }
  body.theme-ecom-basic .benefit-main [class*="col-"]:last-child .single-benefit {
    border-bottom: none !important;
  }
}

/* Category tiles — 2 columns on phone */
@media (max-width: 575.98px) {
  body.theme-ecom-basic .home-classification-tile {
    aspect-ratio: 4 / 3;
  }
}

/* Breadcrumb */
@media (max-width: 767.98px) {
  body.theme-ecom-basic .breacrumb-section {
    min-height: 130px !important;
    padding: 1.5rem 0 !important;
  }
}

/* Products listing — sidebar stacks above on mobile */
@media (max-width: 991.98px) {
  body.theme-ecom-basic .product-shop .produts-sidebar-filter {
    margin-bottom: 1.5rem;
  }
}

/* Product detail — gallery + info stack on mobile */
@media (max-width: 767.98px) {
  body.theme-ecom-basic .product-shop.page-details .product-details {
    padding-top: 1.5rem;
  }
}

/* Checkout — columns stack on mobile */
@media (max-width: 767.98px) {
  body.theme-ecom-basic .checkout-section .col-lg-6 {
    margin-bottom: 1.25rem;
  }
  body.theme-ecom-basic .checkout-section .checkout-content,
  body.theme-ecom-basic .checkout-section .place-order {
    padding: 1.25rem 1rem !important;
  }
}

/* Footer — columns stack on mobile */
@media (max-width: 767.98px) {
  body.theme-ecom-basic .footer-section .col-lg-4,
  body.theme-ecom-basic .footer-section .col-lg-6 {
    margin-bottom: 2rem;
  }
  body.theme-ecom-basic .newslatter-item .subscribe-form {
    flex-direction: column;
    border-radius: var(--eb-radius) !important;
    overflow: visible;
    border: none !important;
    gap: 8px;
  }
  body.theme-ecom-basic .newslatter-item .subscribe-form input {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
  }
  body.theme-ecom-basic .newslatter-item .subscribe-form button {
    border-radius: 10px !important;
    width: 100%;
    height: 44px !important;
  }
}

/* Blog cards — stack on phone */
@media (max-width: 575.98px) {
  body.theme-ecom-basic .single-latest-blog > a > img,
  body.theme-ecom-basic .single-latest-blog img {
    height: 160px !important;
  }
}

/* Scroll-to-top: visible on mobile */
@media (max-width: 767.98px) {
  body.theme-ecom-basic #scroll {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 16px !important;
    right: 14px !important;
    bottom: 14px !important;
  }
}

/* Very small (360px) */
@media (max-width: 360px) {
  body.theme-ecom-basic .single-hero-items {
    min-height: 190px !important;
  }
  body.theme-ecom-basic .breacrumb-section h3 {
    font-size: 1.15rem !important;
  }
}

/* ===== User orders: status badges ===== */
.user-orders__status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: #e0f0ff;
  color: #1a5fa8;
}
.user-orders__status-badge--placed    { background: #e0f0ff; color: #1a5fa8; }
.user-orders__status-badge--accepted  { background: #d1fae5; color: #065f46; }
.user-orders__status-badge--rejected  { background: #fee2e2; color: #991b1b; }
.user-orders__status-badge--cancelled { background: #fef3c7; color: #92400e; }
.user-orders__status-badge--transit   { background: #ede9fe; color: #5b21b6; }
.user-orders__status-badge--delivered { background: #dcfce7; color: #166534; }

/* ===== User Dashboard BEM classes (layout/user/*.php views) ===== */
body.theme-ecom-basic .user-dashboard {
  padding: 4px 0 8px;
}
body.theme-ecom-basic .user-dashboard__section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--skin-accent, #1e3a5f);
  margin-bottom: 0.4rem;
}
body.theme-ecom-basic .user-dashboard__divider {
  border-color: #e5e7eb;
  margin: 0.5rem 0 1.25rem;
}
body.theme-ecom-basic .user-dashboard__fields {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
body.theme-ecom-basic .user-profile__field {
  margin-bottom: 1rem;
}
body.theme-ecom-basic .user-profile__label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
  margin-bottom: 4px;
  display: block;
}
body.theme-ecom-basic .user-profile__required {
  color: #dc3545;
  margin-left: 2px;
}
body.theme-ecom-basic .user-profile__value {
  display: block;
  padding: 8px 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: var(--skin-radius, 6px);
  color: #111827;
  font-size: 0.95rem;
}
body.theme-ecom-basic .user-profile__input {
  border-radius: var(--skin-radius, 6px);
}
body.theme-ecom-basic .user-profile__input:focus {
  border-color: var(--skin-accent, #1e3a5f);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
  outline: none;
}
body.theme-ecom-basic .user-profile__submit-wrap {
  margin-top: 0.5rem;
}
body.theme-ecom-basic .user-profile__submit {
  background: var(--skin-accent, #1e3a5f);
  border-color: var(--skin-accent, #1e3a5f);
  border-radius: var(--skin-radius, 6px);
  padding: 10px 28px;
  font-weight: 600;
}
body.theme-ecom-basic .user-profile__submit:hover {
  background: var(--skin-accent-hover, #152a45);
  border-color: var(--skin-accent-hover, #152a45);
}

/* ===== Orderview cancel button ===== */
.orderview-cancel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border: 1px solid #dc3545;
  border-radius: 6px;
  color: #dc3545;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  background: transparent;
  margin-bottom: 1rem;
}
.orderview-cancel-btn:hover {
  background: #dc3545;
  color: #fff;
}
@media (max-width: 575.98px) {
  .orderview-cancel-btn { width: 100%; justify-content: center; }
}
