/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* OJ account shell */
body.woocommerce-account .oj-account {
  background: #f6f7f9;
  border-radius: 18px;
  padding: 20px;
}

/* Hero / topbar */
body.woocommerce-account .oj-hero {
  background: linear-gradient(150deg, #f7f8fa 0%, #ffffff 100%);
  border: 1px solid #dde1e7;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

body.woocommerce-account .oj-hero h1 {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.05;
}

body.woocommerce-account .oj-hero p {
  margin: 0;
  color: #4f4f4f;
}

body.woocommerce-account .oj-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

body.woocommerce-account .oj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

body.woocommerce-account .oj-btn-primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

body.woocommerce-account .oj-btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid #d9dce1;
}

body.woocommerce-account .oj-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.12);
}

/* Top menu */
body.woocommerce-account .oj-topnav-wrap {
  margin: 0 0 16px;
}

body.woocommerce-account .oj-topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

body.woocommerce-account .oj-topnav .oj-topnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #d9dce1;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

body.woocommerce-account .oj-topnav .oj-topnav-link:hover {
  background: #f7f8fa;
  border-color: #bfc4cc;
}

body.woocommerce-account .oj-topnav .oj-topnav-link.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

body.woocommerce-account .oj-topnav .oj-topnav-more {
  position: relative;
}

body.woocommerce-account .oj-topnav .oj-topnav-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #d9dce1;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 600;
  line-height: 1;
}

body.woocommerce-account .oj-topnav .oj-topnav-more summary::-webkit-details-marker {
  display: none;
}

body.woocommerce-account .oj-topnav .oj-topnav-more[open] summary,
body.woocommerce-account .oj-topnav .oj-topnav-more.is-active summary {
  background: #111;
  color: #fff;
  border-color: #111;
}

body.woocommerce-account .oj-topnav .oj-topnav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 8px;
  border: 1px solid #d9dce1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.12);
  display: grid;
  gap: 6px;
  z-index: 20;
}

body.woocommerce-account .oj-topnav .oj-topnav-dropdown a {
  text-decoration: none;
  color: #111;
  padding: 8px 10px;
  border-radius: 8px;
}

body.woocommerce-account .oj-topnav .oj-topnav-dropdown a:hover {
  background: #f4f5f7;
}

/* KPI */
body.woocommerce-account .oj-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

body.woocommerce-account .oj-kpi {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #dde1e7;
  border-radius: 16px;
  padding: 16px;
}

body.woocommerce-account .oj-kpi .num {
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 6px;
}

body.woocommerce-account .oj-kpi .lbl {
  color: #646464;
}

body.woocommerce-account .oj-kpi:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* Panels */
body.woocommerce-account .oj-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

body.woocommerce-account .oj-panel {
  background: #fff;
  border: 1px solid #dde1e7;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.05);
}

body.woocommerce-account .oj-panel h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
}

body.woocommerce-account .oj-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.woocommerce-account .oj-action {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fafbfc;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  padding: 14px;
}

body.woocommerce-account .oj-action strong {
  display: block;
  margin-bottom: 4px;
}

body.woocommerce-account .oj-action span {
  color: #666;
}

body.woocommerce-account .oj-action-featured {
  background: linear-gradient(135deg, #ffffff 0%, #f0f3f8 100%);
  border-color: #cfd6e1;
}

body.woocommerce-account .oj-orders {
  margin-top: 14px;
}

body.woocommerce-account .oj-orders table {
  width: 100%;
  border-collapse: collapse;
}

body.woocommerce-account .oj-orders th,
body.woocommerce-account .oj-orders td {
  text-align: left;
  border-bottom: 1px solid #e3e6ea;
  padding: 11px 6px;
}

/* Woo layout */
body.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  display: none !important;
}

.page-id-6929 .page-title,
.page-id-6929 .shop-page-title,
.page-id-6929 .page-title-inner {
  display: none !important;
}


/* Responsive */
@media (max-width: 1024px) {
  body.woocommerce-account .oj-grid {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .oj-kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.woocommerce-account .oj-topnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  body.woocommerce-account .oj-actions {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .oj-hero h1 {
    font-size: 36px;
  }

  body.woocommerce-account .oj-topnav .oj-topnav-more {
    position: static;
  }

  body.woocommerce-account .oj-topnav .oj-topnav-dropdown {
    position: static;
    box-shadow: none;
    margin-top: 6px;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
}