/* Inner pages (everything except the homepage), in the homepage's storefront style. */
body.fp-refreshed:not(.home) {
  --p-ink: #111827;
  --p-text: #4b5563;
  --p-muted: #6b7280;
  --p-line: #e7e9ee;
  --p-grey: #f4f5f7;
  --p-cream: #f3f4f8;
  --p-blue: #2148b0;
  --p-blue-dark: #18378a;
}

/* Keep navigation breadcrumbs without repeating their final label as a large title. */
body.fp-refreshed:not(.home) .page-header {
  margin-bottom: 16px;
  padding: 10px 0;
  background: var(--p-grey);
  text-align: left;
}
body.fp-refreshed:not(.home) .page-header .page-breadcrumbs {
  display: block;
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}
body.fp-refreshed:not(.home) :is(.page-header, .shop-page-titlebar) .page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.fp-refreshed:not(.home) .page-header .breadcrumbs { color: var(--p-muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 767px) {
  body.fp-refreshed:not(.home) .page-header { margin-bottom: 12px; padding: 10px 0 8px; }
  body.fp-refreshed:not(.home) .page-header .page-breadcrumbs { width: calc(100% - 32px); }
}

/* ---------- About us (page 1929) ---------- */
body.page-id-1929 .main-content.page { width: min(1140px, calc(100% - 48px)); margin: 0 auto 57.5px; }
body.page-id-1929 .main-content .vc_row { margin: 0 0 24px !important; padding: 0 !important; }
body.page-id-1929 .main-content .zadora-content.container { width: 100%; padding: 0; }
body.page-id-1929 .main-content .vc_empty_space { display: none; }
body.page-id-1929 .main-content .vc_row:not(:last-child) > .zadora-content > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 32px;
  border-radius: 24px;
  background: var(--p-grey);
}
body.page-id-1929 .main-content .vc_row:first-child > .zadora-content > .row { background: var(--p-cream); }
body.page-id-1929 .zadora-heading .heading {
  margin: 0 0 12px;
  color: var(--p-ink);
  font-size: clamp(20.5px, 2.11vw, 27px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
body.page-id-1929 .zadora-heading .heading::after,
body.page-id-1929 .heading-container::after { display: none !important; }
body.page-id-1929 .main-content p.vc_custom_heading { margin: 0 0 12px !important; color: var(--p-text) !important; font-size: 15px !important; line-height: 1.8 !important; }
body.page-id-1929 .main-content p.vc_custom_heading.fw500 { color: var(--p-ink) !important; font-size: 16.5px !important; font-weight: 600; }
body.page-id-1929 .main-content .wpb_single_image { margin: 0; }
body.page-id-1929 .main-content .wpb_single_image img { width: 100%; border-radius: 18px; }
body.page-id-1929 .main-content .vc_row:last-child .wpb_single_image img { border-radius: 16px; }
@media (max-width: 767px) {
  body.page-id-1929 .main-content.page { width: calc(100% - 32px); }
  body.page-id-1929 .main-content .vc_row:not(:last-child) > .zadora-content > .row { gap: 16px; padding: 20px 16px; }
  body.page-id-1929 .main-content .vc_column_container { width: 100%; }
}

/* ---------- Blog index and posts ---------- */
body.fp-refreshed:is(.blog, .single-post, .archive.category) .main-content { margin-bottom: 57.5px !important; }
body.fp-refreshed:is(.blog, .single-post, .archive.category) .main-content > .container { width: min(1164px, calc(100% - 24px)); }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post article {
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--p-line);
  border-radius: 18px;
  background: #fff;
}
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .style-2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .blog-image { position: relative; margin: 0; background: var(--p-grey); }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .blog-image img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .list-category { position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0; }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .list-category ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .list-category li { margin: 0; padding: 0; background: none; font-size: 0; }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .list-category a {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  color: var(--p-ink);
  background: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.8;
}
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .content-blog { display: flex; flex-direction: column; justify-content: center; padding: 28px 32px; }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .content-blog .title h5 { margin: 0 0 10px; font-size: 20.5px; font-weight: 700; line-height: 1.45; }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .content-blog .title a { color: var(--p-ink); }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .content-blog .title a:hover { color: var(--p-blue); }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .description p {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--p-text);
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
body.fp-refreshed:is(.blog, .archive.category) .zadora_post :is(.read-more, .btn-more, a.more-link) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #1f2430;
  font-weight: 600;
}
/* Sidebar widgets as soft cards */
body.fp-refreshed:is(.blog, .single-post, .archive.category) .sidebar .widget,
body.fp-refreshed:is(.blog, .single-post, .archive.category) #secondary .widget {
  margin-bottom: 16px;
  padding: 20px;
  border: 0;
  border-radius: 16px;
  background: var(--p-grey);
}
body.fp-refreshed:is(.blog, .single-post, .archive.category) :is(.sidebar, #secondary) .widget-title,
body.fp-refreshed:is(.blog, .single-post, .archive.category) :is(.sidebar, #secondary) .widgettitle { margin: 0 0 12px; color: var(--p-ink); font-size: 16px; font-weight: 700; }
body.fp-refreshed:is(.blog, .single-post, .archive.category) :is(.sidebar, #secondary) input[type="search"],
body.fp-refreshed:is(.blog, .single-post, .archive.category) :is(.sidebar, #secondary) input[type="text"] { border: 1px solid var(--p-line); border-radius: 10px; background: #fff; }
@media (max-width: 767px) {
  body.fp-refreshed:is(.blog, .archive.category) .zadora_post .style-2 { grid-template-columns: 1fr; }
  body.fp-refreshed:is(.blog, .archive.category) .zadora_post .blog-image img { max-height: 280px; }
  body.fp-refreshed:is(.blog, .archive.category) .zadora_post .content-blog { padding: 18px; }
  body.fp-refreshed:is(.blog, .archive.category) .zadora_post .content-blog .title h5 { font-size: 16.5px; }
}

/* ---------- My account ---------- */
body.woocommerce-account .main-content.page { width: min(1140px, calc(100% - 48px)); margin: 0 auto 57.5px; }
body.woocommerce-account .main-content .vc_empty_space { display: none; }
body.woocommerce-account #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after { display: none; }
body.woocommerce-account #customer_login > .zadora-form {
  width: auto;
  padding: 32px;
  border: 1px solid var(--p-line);
  border-radius: 20px;
  background: #fff;
}
body.woocommerce-account #customer_login > .register-form { background: var(--p-grey); border-color: transparent; }
body.woocommerce-account #customer_login h3.title {
  margin: 0 0 20px;
  color: var(--p-ink);
  font-size: 20.5px;
  font-weight: 700;
  text-align: left !important;
  text-transform: none;
}
body.woocommerce-account #customer_login label { color: var(--p-ink); font-size: 14px; font-weight: 600; }
body.woocommerce-account #customer_login input.input-text {
  height: 48px;
  padding: 10px 14px;
  border: 1px solid #d6dae1;
  border-radius: 10px;
  background: #fff;
  font-style: normal;
}
body.woocommerce-account #customer_login input.input-text:focus { border-color: var(--p-blue); box-shadow: 0 0 0 3px rgba(23, 104, 179, .15); }
body.woocommerce-account #customer_login input::placeholder { color: #9aa1ad; font-style: normal; }
/* Show-password toggle: the theme renders it as a full-width bar under the field */
body.woocommerce-account .password-input { position: relative; display: block; }
body.woocommerce-account .password-input input.input-text { padding-right: 48px; }
body.woocommerce-account .password-input .show-password-input {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 38px;
  height: 38px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--p-muted);
  background: transparent !important;
  box-shadow: none;
  transform: translateY(-50%);
}
body.woocommerce-account .password-input .show-password-input:hover { color: var(--p-ink); background: var(--p-grey) !important; }
body.woocommerce-account #customer_login button.button {
  width: 100%;
  min-height: 48px;
  margin: 8px 0 12px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--p-blue);
  font-size: 15px;
  font-weight: 600;
}
body.woocommerce-account #customer_login button.button:hover { background: var(--p-blue-dark); }
body.woocommerce-account #customer_login .register-form button.button { background: #1f2430; }
body.woocommerce-account #customer_login .register-form button.button:hover { background: #000; }
body.woocommerce-account #customer_login .lost_password a { color: var(--p-blue); font-weight: 500; }
body.woocommerce-account .nsl-container { margin-top: 20px; }
body.woocommerce-account .nsl-container .nsl-button { border-radius: 10px !important; }
/* Logged-in account: navigation as a card list */
body.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; border-radius: 16px; background: var(--p-grey); list-style: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; border: 0; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--p-text); font-weight: 500; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #fff; background: var(--p-blue); }
@media (max-width: 767px) {
  body.woocommerce-account .main-content.page { width: calc(100% - 32px); }
  body.woocommerce-account #customer_login { grid-template-columns: 1fr; gap: 12px; }
  body.woocommerce-account #customer_login > .zadora-form { padding: 20px 16px; }
}

/* Fixes after review */
body.page-id-1929 .zadora-heading .heading::before { display: none !important; }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .list-category { height: auto; padding: 0; background: transparent; }
body.fp-refreshed:is(.blog, .archive.category) .zadora_post .blog-image img { display: block; object-position: center 25%; }
body.woocommerce-account #customer_login > .zadora-form { float: none; width: auto !important; max-width: none; margin: 0 !important; padding: 32px !important; border-radius: 20px !important; overflow: hidden; }
@media (max-width: 767px) { body.woocommerce-account #customer_login > .zadora-form { padding: 20px 16px !important; } }
body.woocommerce-account #customer_login { width: auto !important; margin: 0 !important; }
/* The page builder wraps the form in a fixed 1200px container; fit it to the page column. */
body.woocommerce-account .main-content :is(.vc_row, .zadora-content > .row) { margin-left: 0 !important; margin-right: 0 !important; }
body.woocommerce-account .main-content .zadora-content.container { width: 100%; margin: 0; padding: 0; }
body.woocommerce-account .main-content .vc_column-inner { padding-left: 0; padding-right: 0; }
body.woocommerce-account #customer_login input.input-text { border: 1px solid #d6dae1 !important; border-radius: 10px !important; }
