/* ============================================================
   DiyJob X — Professional Blue-Green Job Platform
   ============================================================ */

:root {
  --diy-brand: #0f766e;
  --diy-brand-2: #14b8a6;
  --diy-brand-3: #0e7490;
  --diy-brand-dark: #115e59;
  --diy-ink: #0f172a;
  --diy-muted: #475569;
  --diy-bg: #f1f5f9;
  --diy-card: #ffffff;
  --diy-line: #e2e8f0;
  --diy-money: #059669;
  --diy-radius: 14px;
  --diy-shadow: 0 4px 18px rgba(15, 118, 110, 0.08);
  --diy-shadow-hover: 0 12px 30px rgba(15, 118, 110, 0.16);
  --diy-grad: linear-gradient(135deg, #0f766e 0%, #0e7490 100%);
}

/* ---------- Base / Reset ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--diy-ink);
  background: var(--diy-bg);
}
h1, h2, h3, .wp-block-heading {
  font-weight: 700;
  letter-spacing: -0.01em;
}
a { color: var(--diy-brand); }
a:hover { color: var(--diy-brand-dark); }

/* ---------- Buttons ---------- */
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.single_add_to_cart_button,
.button {
  border-radius: 999px !important;
  background: var(--diy-brand) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 0.7em 1.6em !important;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(15,118,110,.25);
}
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.single_add_to_cart_button:hover {
  background: var(--diy-brand-dark) !important;
  transform: translateY(-1px);
}
.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--diy-brand) !important;
  border: 2px solid var(--diy-brand);
  box-shadow: none;
}

/* ---------- Top navigation ---------- */
.site-header, header.wp-block-template-part {
  background: #ffffff;
  border-bottom: 1px solid var(--diy-line);
}
.site-header .wp-block-site-title a,
a.wp-block-site-title a {
  color: var(--diy-brand);
  font-weight: 800;
}
.site-header .wp-block-site-logo img,
.wp-block-site-logo img {
  height: auto !important;
  max-height: 46px !important;
  width: auto !important;
}
nav a { font-weight: 600; }

/* ---------- Custom navbar (logo left + menu right) ---------- */
.diy-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--diy-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem; /* Uniform, tight spacing across the whole navbar (incl. lang/cart/login/register cluster) */
}
.diy-navbar .wp-block-site-logo img {
  max-height: 44px !important;
  width: auto !important;
}
/* Logo left; right margin absorbs remaining space */
.diy-navbar .wp-block-site-logo {
  margin-left: 80px;
  margin-right: auto;
}
.diy-navbar .wp-block-navigation {
  font-size: 15px;
}
.diy-navbar .wp-block-navigation-item__content {
  color: var(--diy-ink) !important;
  font-weight: 600 !important;
  padding: .4rem .7rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.diy-navbar .wp-block-navigation-item__content:hover {
  color: var(--diy-brand) !important;
  background: rgba(15,118,110,.08);
}
/* Language switcher container — right-aligned; cluster spacing is driven by .diy-navbar gap */
.diy-navbar .diy-gt {
  margin-left: auto;   /* Absorb remaining space, push the lang switcher + cluster to the right */
  display: flex;
  align-items: center;
}
.diy-navbar .diy-gt .gtranslate_wrapper {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.diy-navbar .wp-block-woocommerce-mini-cart {
  /* Remove any default margin so the cart sits flush with neighbours */
  margin: 0;
}
.diy-navbar .wp-block-woocommerce-mini-cart .wc-block-mini-cart__button {
  padding: .45rem .5rem;   /* Match the neighbours' horizontal padding for uniform spacing */
}
/* Login / Register button cluster — gap matches .diy-navbar for uniform spacing */
.diy-navbar .diy-nav-auth {
  display: inline-flex;
  align-items: center;
  gap: .5rem;      /* Match .diy-navbar gap so spacing is uniform across all four items */
  margin-right: 2rem; /* Shift the whole cluster left, away from the right edge */
}
.diy-navbar .diy-nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .5rem;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.diy-navbar .diy-nav-auth-login {
  color: var(--diy-ink);
  background: transparent;
  border: 1px solid var(--diy-line);
}
.diy-navbar .diy-nav-auth-login:hover {
  background: rgba(15,118,110,.06);
  color: var(--diy-brand);
}
.diy-navbar .diy-nav-auth-register {
  color: #fff;
  background: var(--diy-brand);
  border: 1px solid var(--diy-brand);
}
.diy-navbar .diy-nav-auth-register:hover {
  background: var(--diy-brand-2);
}
.diy-navbar .diy-nav-auth-account {
  color: var(--diy-ink);
  background: transparent;
  border: 1px solid var(--diy-line);
}
.diy-navbar .diy-nav-auth-account:hover {
  background: rgba(15,118,110,.06);
  color: var(--diy-brand);
}

/* ---- Language switcher: compact dropdown (fumiqo.com floating style), flag + code + arrow, expands down ---- */
.diy-navbar .gt_float_switcher {
  position: relative;
  overflow: visible !important;      /* Allow dropdown items to overflow the box */
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  background: #fff;
  border: 1px solid var(--diy-line);
  border-radius: 8px;
  box-shadow: var(--diy-shadow);
  padding: .4rem .5rem;   /* Uniform horizontal padding so the switcher sits evenly with neighbours */
}
.diy-navbar .gt_float_switcher .gt-selected {
  background-color: transparent !important;
}
.diy-navbar .gt_float_switcher img {
  width: 20px !important;
  height: auto;
  margin: 0 5px 0 0;
  border-radius: 2px;
  vertical-align: middle;
}
.diy-navbar .gt_float_switcher .gt-current-lang {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px !important;
  color: var(--diy-ink);
  border-radius: 8px;
}
.diy-navbar .gt_float_switcher .gt-current-lang:hover {
  background: rgba(15,118,110,.06);
}
.diy-navbar .gt_float_switcher .gt-current-lang span.gt-lang-code {
  position: static !important;       /* Offset the plugin top:2px so the name is vertically centered with flag/arrow */
  font-size: 13px;
  font-weight: 700;
  color: var(--diy-ink);
  text-transform: none;              /* Show full language/country name, no uppercasing */
  letter-spacing: .3px;
  line-height: 1;
}
.diy-navbar .gt_float_switcher .gt-current-lang span.gt_float_switcher-arrow {
  height: 12px !important;
  width: 10px !important;
  background-size: 8px !important;
  margin-left: 5px;
}
/* Dropdown: right below the switcher, right-aligned, expands down */
.diy-navbar .gt_float_switcher .gt_options {
  position: absolute !important;
  top: calc(100% + 4px);
  right: 0;
  left: auto;
  min-width: 104px;
  max-width: 136px !important;
  max-height: 240px;
  overflow-y: auto !important;
  background: #fff;
  border: 1px solid var(--diy-line);
  border-radius: 8px;
  box-shadow: var(--diy-shadow-hover);
  padding: 4px;
  z-index: 999999;
  transition: opacity .25s ease, transform .25s ease;
}
.diy-navbar .gt_float_switcher .gt_options a {
  display: block;
  padding: 4px 7px;
  color: var(--diy-ink);
  border-radius: 5px;
  white-space: nowrap;
}
.diy-navbar .gt_float_switcher .gt_options a img {
  width: 13px !important;
  margin: 0 5px 0 0;
  vertical-align: middle;
  border-radius: 2px;
}
.diy-navbar .gt_float_switcher .gt_options a:hover {
  background: var(--diy-brand);
  color: #fff;
}
@media (max-width: 782px) {
  .diy-navbar { flex-wrap: wrap; }
}

/* ---------- Hero section ---------- */
.diy-hero.wp-block-cover,
.wp-block-cover.diy-hero {
  background: var(--diy-grad);
}
.diy-hero .wp-block-cover__inner-container { padding: 5rem 1rem 4rem; }
.diy-hero h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.15; }
.diy-hero p.diy-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 720px;
  margin: 0.8rem auto 1.6rem;
}
.diy-stats {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center; margin-top: 2rem;
}
.diy-stat {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 0.9rem 1.4rem;
  min-width: 150px;
  color: #fff;
  text-align: center;
}
.diy-stat b { display: block; font-size: 1.5rem; }
.diy-stat span { font-size: .85rem; opacity: .9; }

/* ---------- Section headings ---------- */
.diy-section-title { text-align: center; margin: 2.4rem 0 1.2rem; }
.diy-section-title small {
  display: block; color: var(--diy-money); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem;
}

/* ---------- Category cards ---------- */
.diy-cats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1rem 0; }
.diy-cat {
  background: #fff; border: 1px solid var(--diy-line);
  border-radius: var(--diy-radius); padding: 1.4rem;
  text-decoration: none; color: var(--diy-ink);
  box-shadow: var(--diy-shadow); transition: all .2s;
}
.diy-cat:hover { transform: translateY(-3px); box-shadow: var(--diy-shadow-hover); color: var(--diy-brand); }
.diy-cat .ic { font-size: 1.8rem; }
.diy-cat h3 { margin: .6rem 0 .2rem; }
.diy-cat p { margin: 0; color: var(--diy-muted); }

/* ---------- Job/Project cards (WooCommerce) ---------- */
ul.products li.product,
.wc-block-grid__product,
.wc-block-product-template > li {
  background: #fff;
  border: 1px solid var(--diy-line);
  border-radius: var(--diy-radius);
  box-shadow: var(--diy-shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
ul.products li.product:hover,
.wc-block-grid__product:hover {
  transform: translateY(-4px);
  box-shadow: var(--diy-shadow-hover);
}
ul.products li.product img,
.wc-block-grid__product > img,
.wc-block-product-template img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product .wc-block-components-product-name,
.wc-block-product-template .wc-block-components-product-name {
  font-weight: 700; font-size: 1.05rem; margin: .4rem 0; color: var(--diy-ink); line-height: 1.3;
}
/* Type badge */
.diy-badge {
  display: inline-block; background: var(--diy-brand-2); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .25em .7em; border-radius: 999px; margin: .2rem 0 .6rem;
}
/* Job info block */
.diy-job-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: .5rem 0 .6rem; padding-top:.5rem; border-top:1px dashed var(--diy-line); }
.diy-comm { font-size: 1.35rem; font-weight: 800; color: var(--diy-brand); }
.diy-comm small { font-size: .8rem; font-weight: 600; color: var(--diy-muted); }
.diy-deposit, .diy-pieces, .diy-days {
  background: var(--diy-bg); color: var(--diy-muted); font-size: .75rem; font-weight: 600;
  padding: .3em .6em; border-radius: 8px;
}
.diy-deposit { color: var(--diy-ink); }

/* Product card add-to-cart button */
ul.products li.product .button,
.wc-block-grid__product .wp-block-button__link {
  border-radius: 999px !important; margin-top: .2rem;
}

/* ---------- Steps ---------- */
.diy-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.diy-step { background: #fff; border: 1px solid var(--diy-line); border-radius: var(--diy-radius); padding: 1.4rem; position: relative; }
.diy-step .num {
  width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%;
  background: var(--diy-grad); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: .7rem;
}
.diy-step h3 { margin: 0 0 .3rem; }
.diy-step p { margin: 0; color: var(--diy-muted); }

/* ---------- Trust cards ---------- */
.diy-trust { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.diy-trust-card { background: #fff; border: 1px solid var(--diy-line); border-radius: var(--diy-radius); padding: 1.4rem; text-align: center; }
.diy-trust-card .ic { font-size: 2rem; }
.diy-trust-card h3 { margin: .6rem 0 .3rem; }
.diy-trust-card p { margin: 0; color: var(--diy-muted); }

/* ---------- Review cards ---------- */
.diy-reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.diy-review { background: #fff; border: 1px solid var(--diy-line); border-left: 4px solid var(--diy-brand-2); border-radius: 10px; padding: 1.2rem 1.4rem; color: var(--diy-ink); }
.diy-review p { margin: 0 0 .5rem; }
.diy-review cite { font-style: normal; font-weight: 700; color: var(--diy-brand); }

/* ---------- CTA bar ---------- */
.diy-cta {
  background: var(--diy-grad); border-radius: var(--diy-radius);
  color: #fff; text-align: center; padding: 2.4rem 1.4rem; margin: 2.4rem 0;
}
.diy-cta h2 { color: #fff; margin-top: 0; }
.diy-cta p { color: rgba(255,255,255,.9); }

/* ---------- Override theme content width -> full-width (via alignfull negative margins) ---------- */
:root {
  --wp--style--global--content-size: 1200px;
  --wp--style--global--wide-size: 1280px;
}

/* ---------- Full-width section containers ---------- */
.diy-section { position: relative; padding: 3.5rem 0; }
.diy-section--white { background: #ffffff; }
.diy-section--muted { background: var(--diy-bg); }
.diy-section--grad { background: var(--diy-grad); border-radius: 22px; margin: 1.5rem 1rem; }
.diy-inner { max-width: var(--wp--style--global--content-size); margin: 0 auto; padding: 0 1.25rem; box-sizing: border-box; }
.diy-section-title { margin: 0 0 1.6rem; }
.diy-section-title small { display: block; color: var(--diy-money); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3rem; }

/* Hero outline button contrast on the gradient */
.diy-hero .is-style-outline .wp-block-button__link,
.diy-hero .wp-block-button.is-style-outline .wp-block-button__link {
  color: #fff !important; border-color: #fff !important; background: transparent !important;
}
.diy-hero .wp-block-button__link { color: #fff !important; }
.diy-hero .wp-block-cover__inner-container { padding: 4rem 1.25rem 3rem; }
.diy-cta .wp-block-button__link { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .diy-hero .wp-block-cover__inner-container { padding: 3rem 1rem 2.5rem; }
  .diy-section { padding: 2.4rem 0; }
}

/* ---------- Full-width homepage carousel (added, above the hero) ---------- */
/* ---------- Video Hero (replaces the old slider): Upwork-style cover + part-time copy ---------- */
.diy-video-hero {
  padding: 2rem 0;                          /* alignfull makes it truly full-width; side whitespace handled by card margin-inline */
}
/* Video card: full width (with the only small side padding) + rounded corners + much taller height */
.diy-video-card {
  position: relative;
  margin-inline: clamp(1rem, 2.5vw, 3rem);  /* The only small side padding */
  max-width: none;
  height: clamp(640px, 78vh, 860px);       /* Taller top/bottom height */
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* Copy block left-aligned, occupying the left half */
  color: #fff;
  background: #061a30;
  box-shadow: 0 24px 64px rgba(6,26,48,.2);
}
.diy-video-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.diy-video-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,26,48,.84) 0%, rgba(6,26,48,.52) 48%, rgba(6,26,48,.2) 100%);
}
.diy-video-hero__content {
  position: relative;
  z-index: 2;
  text-align: left;              /* Copy left-aligned */
  padding: 3rem clamp(1.5rem, 5vw, 4.5rem);
  max-width: 640px;              /* Occupies only the left half */
}
.diy-video-hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 700;
  color: #a9ece0;
  margin: 0 0 .9rem;
}
.diy-video-hero__title {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.15;
  font-weight: 500;          /* No bold */
  letter-spacing: -.015em;
  margin: 0 0 1.1rem;
}
.diy-video-hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,.92);
  max-width: 560px;
  margin: 0 0 1.8rem;
}
.diy-video-hero__cta {
  display: inline-block;
  padding: .85rem 1.7rem;
  margin: .25rem .5rem .25rem 0;
  background: var(--diy-brand);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(15,118,110,.35);
}
.diy-video-hero__cta:hover {
  background: var(--diy-brand-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15,118,110,.42);
}
.diy-video-hero__cta.is-outline {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: none;
}
.diy-video-hero__cta.is-outline:hover {
  background: rgba(255,255,255,.2);
}
@media (max-width: 782px) {
  .diy-video-hero { padding: 1rem 0; }
  .diy-video-card { margin-inline: clamp(.75rem, 4vw, 1.25rem); height: clamp(520px, 70vh, 600px); border-radius: 14px; }
  .diy-video-hero__overlay { background: linear-gradient(180deg, rgba(6,26,48,.72) 0%, rgba(6,26,48,.5) 45%, rgba(6,26,48,.82) 100%); }
  .diy-video-hero__content { padding: 2.5rem 1rem; max-width: 100%; }
  .diy-video-hero__cta { padding: .8rem 1.4rem; font-size: .9rem; }
}

/* ---------- Footer (fumiqo-style structure, adapted to the teal brand) ---------- */
.diy-site-footer {
  background: linear-gradient(135deg, #134e4a 0%, #0f2f4d 100%);
  color: #cbd5e1;
}
.diy-footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}
.diy-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.diy-footer-brand .diy-footer-logo {
  max-height: 46px;
  width: auto;
  display: block;
}
.diy-footer-tagline {
  color: #94a3b8;
  font-size: .92rem;
  max-width: 340px;
  margin: .9rem 0 1.2rem;
  line-height: 1.6;
}
.diy-footer-social { display: flex; gap: .8rem; }
.diy-footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #e2e8f0;
  transition: background .2s, color .2s, transform .2s;
}
.diy-footer-social a:hover { background: var(--diy-brand-2); color: #fff; transform: translateY(-2px); }
.diy-footer-col-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.diy-footer-links { list-style: none; margin: 0; padding: 0; }
.diy-footer-links li { margin: 0 0 .6rem; }
.diy-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}
.diy-footer-links a:hover { color: var(--diy-brand-2); }
.diy-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  flex-wrap: wrap;
}
.diy-footer-payment { display: flex; gap: .6rem; align-items: center; }
.diy-payment-icon {
  border: 1px solid rgba(255, 255, 255, .22);
  color: #e2e8f0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .35em .7em;
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
}
.diy-footer-copyright { margin: 0; color: #94a3b8; font-size: .85rem; }
@media (max-width: 900px) {
  .diy-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .diy-footer-top { grid-template-columns: 1fr; }
  .diy-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Standalone Login / Register form pages ---------- */
.diy-auth-box {
  max-width: 420px;
  margin: 2rem auto;
  padding: 2rem 1.8rem;
  background: #fff;
  border: 1px solid var(--diy-line);
  border-radius: 12px;
  box-shadow: var(--diy-shadow);
  color: var(--diy-ink);
}
.diy-auth-box h2 { margin: 0 0 1.2rem; font-size: 1.4rem; }
.diy-auth-box .woocommerce-form-row,
.diy-auth-box .form-row { margin: 0 0 1rem; }
.diy-auth-box label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--diy-ink);
}
.diy-auth-box .woocommerce-Input {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid var(--diy-line);
  border-radius: 8px;
  font-size: .9rem;
}
.diy-auth-box .woocommerce-form__label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; }
.diy-auth-box .woocommerce-button,
.diy-auth-box button.button {
  width: 100%;
  padding: .65rem 1rem;
  background: var(--diy-brand);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.diy-auth-box .woocommerce-button:hover { background: var(--diy-brand-2); }
.diy-auth-lost { margin: .6rem 0 0; font-size: .85rem; }
.diy-auth-swap {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--diy-line);
  text-align: center;
  font-size: .85rem;
}
.diy-auth-swap a { color: var(--diy-brand); font-weight: 600; }
.diy-auth-hint { font-size: .8rem; color: #64748b; margin: 0 0 1rem; }
.diy-auth-pw-hint { font-size: .8rem; color: #64748b; margin: -.3rem 0 1rem; }
.diy-auth-pw-err { display: block; color: #c0392b; font-size: .8rem; font-weight: 600; margin: 0 0 .6rem; min-height: 0; }

/* ---------- Homepage About + Map ---------- */
.diy-section-eyebrow { display: block; color: var(--diy-money); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.diy-about { max-width: 1120px; margin: 0 auto; }
.diy-about .diy-section-eyebrow,
.diy-map .diy-section-eyebrow { text-align: center; }   /* Only the About Us / Find Us eyebrow labels are centered */
.diy-about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.diy-about-copy p { color: var(--diy-ink); line-height: 1.75; margin: 0 0 1rem; text-align: left; }
.diy-about-list { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.diy-about-list li { position: relative; padding-left: 1.4rem; margin-bottom: .6rem; color: var(--diy-ink); }
.diy-about-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--diy-brand); font-weight: 700; }
.diy-about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.diy-stat-card { background: #fff; border: 1px solid var(--diy-line); border-radius: 12px; padding: 1rem; text-align: center; box-shadow: var(--diy-shadow); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.diy-stat-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--diy-brand); line-height: 1.1; }
.diy-stat-card p { margin: .5rem 0 0; font-size: .8rem; color: var(--diy-muted); }
.diy-map { text-align: left; }
.diy-map-contact { margin: 0 0 1.4rem; }
.diy-map-contact p { margin: 0 0 .4rem; color: var(--diy-ink); }
.diy-map-contact strong { font-weight: 700; }
.diy-map-contact a { color: var(--diy-brand); }
.diy-map-contact a:hover { color: var(--diy-brand-2); }
.diy-map-frame { position: relative; overflow: hidden; border-radius: 14px; box-shadow: var(--diy-shadow); }
.diy-map-frame iframe { display: block; width: 100%; height: 420px; }
.diy-map-cta { display: inline-block; margin-top: 1.2rem; padding: .7rem 1.4rem; background: var(--diy-brand); color: #fff; border-radius: 999px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.diy-map-cta:hover { background: var(--diy-brand-2); transform: translateY(-2px); }
@media (max-width: 860px) {
  .diy-about-grid { grid-template-columns: 1fr; }
  .diy-stat-card { padding: .75rem; }
  .diy-map-frame iframe { height: 320px; }
}
.diy-auth-box .woocommerce-error,
.diy-auth-box .woocommerce-info,
.diy-auth-box .woocommerce-message {
  list-style: none;
  padding: .7rem .9rem;
  margin: 0 0 1rem;
  border-radius: 8px;
  font-size: .85rem;
}
.diy-auth-box .woocommerce-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.diy-auth-box .woocommerce-message,
.diy-auth-box .woocommerce-info { background: #f0fdfa; color: #0f766e; border: 1px solid #ccfbf1; }
