
    :root {
      --bg: #1a2538;
      --bg-2: #24324a;
      --panel: #223149;
      --panel-2: #2b3d59;
      --text: #f5f8fc;
      --muted: #d4deee;
      --line: rgba(255,255,255,0.14);
      --blue: #1e73ff;
      --blue-2: #53a7ff;
      --green: #57d45d;
      --shadow: 0 18px 44px rgba(0,0,0,.22);
      --radius: 20px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(30,115,255,.20), transparent 26%),
        radial-gradient(circle at bottom right, rgba(30,115,255,.14), transparent 24%),
        linear-gradient(180deg, #0a1220 0%, #111b2d 100%);
      line-height: 1.55;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }

    .container {
      width: min(100% - 24px, var(--max));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(10,18,32,.86);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(83,167,255,.18);
      box-shadow: 0 8px 24px rgba(0,0,0,.16);
    }

    .topbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 12px 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }

    .brand-logo {
      width: 150px;
      height: auto;
      object-fit: contain;
    }

    .brand-text {
      min-width: 0;
    }

    .brand-text strong {
      display: block;
      font-size: 15px;
      letter-spacing: .7px;
    }

    .brand-text span {
      display: block;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1.6px;
      color: var(--muted);
      margin-top: 3px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 18px;
      border-radius: 999px;
      font-weight: 800;
      border: 1px solid transparent;
      transition: .2s ease;
      cursor: pointer;
      letter-spacing: .2px;
    }

    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, #5fb3ff, var(--blue));
      box-shadow: 0 12px 28px rgba(30,115,255,.30);
      border-color: rgba(255,255,255,.08);
    }

    .btn-primary:hover { transform: translateY(-1px); }

    .btn-outline {
      color: var(--text);
      border-color: rgba(83,167,255,.22);
      background: rgba(255,255,255,.04);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
    }

    .btn-outline:hover { transform: translateY(-1px); background: rgba(255,255,255,.06); }

    .hero {
      padding: 52px 0 24px;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.12fr .88fr;
      gap: 18px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(83,167,255,.20), rgba(30,115,255,.10));
      color: #eef5ff;
      border: 1px solid rgba(83,167,255,.24);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 1.4px;
      font-weight: 800;
      margin-bottom: 16px;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 8px 24px rgba(30,115,255,.10);
    }

    h1, h2, h3, p { margin-top: 0; }
    h1 {
      font-size: clamp(42px, 6.3vw, 74px);
      line-height: .98;
      margin-bottom: 14px;
      max-width: 12ch;
      text-transform: uppercase;
      letter-spacing: -.8px;
      text-shadow: 0 6px 24px rgba(0,0,0,.22);
    }

    h2 {
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.02;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: -.4px;
    }

    h3 {
      font-size: 23px;
      line-height: 1.18;
      margin-bottom: 10px;
    }

    .lead {
      font-size: clamp(18px, 1.9vw, 21px);
      color: var(--muted);
      max-width: 56ch;
      margin-bottom: 18px;
    }

    .hero-list,
    .mini-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      gap: 12px;
    }

    .hero-list li,
    .mini-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .check {
      width: 26px;
      height: 26px;
      flex: 0 0 26px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: rgba(87,212,93,.12);
      color: #b7f3b9;
      border: 1px solid rgba(87,212,93,.18);
      font-weight: 900;
      margin-top: 1px;
    }

    .hero-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 18px;
    }

    .panel {
      background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
      border: 1px solid rgba(83,167,255,.18);
      border-radius: 20px;
      box-shadow: 0 18px 44px rgba(0,0,0,.18);
    }

    .hero-card {
      padding: 20px;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
        linear-gradient(135deg, rgba(83,167,255,.12), transparent 58%);
      border: 1px solid rgba(83,167,255,.18);
    }

    .hero-card::after {
      content: "";
      position: absolute;
      right: -60px;
      bottom: -60px;
      width: 220px;
      height: 220px;
      background: radial-gradient(circle, rgba(30,115,255,.30), transparent 70%);
      pointer-events: none;
    }

    .hero-logo-wrap {
      margin-bottom: 14px;
      display: flex;
      justify-content: center;
      padding: 14px;
      border-radius: 16px;
      background: rgba(255,255,255,.02);
      border: 1px solid rgba(255,255,255,.05);
    }

    .hero-logo-wrap img {
      max-width: 340px;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-top: 14px;
    }

    .stat {
      padding: 16px;
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.05);
      border-radius: 16px;
    }

    .stat strong {
      display: block;
      font-size: 17px;
      margin-bottom: 4px;
    }

    section { padding: 22px 0; }

    .section-head {
      max-width: 760px;
      margin-bottom: 16px;
    }

    .muted { color: var(--muted); }

    .service-grid,
    .pricing-grid,
    .portfolio-grid,
    .why-grid,
    .process-grid {
      display: grid;
      gap: 12px;
    }

    .service-grid { grid-template-columns: repeat(4, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(4, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }

    .card {
      padding: 18px;
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
        linear-gradient(135deg, rgba(83,167,255,.08), transparent 65%);
      border: 1px solid rgba(83,167,255,.16);
      box-shadow: 0 10px 24px rgba(0,0,0,.12);
    }

    .icon-box {
      width: 46px;
      height: 46px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      background: linear-gradient(180deg, #0f2340, #0b1830);
      border: 1px solid rgba(83,167,255,.22);
      color: #ffffff;
      font-size: 20px;
      margin-bottom: 12px;
      box-shadow: 0 6px 18px rgba(10,35,64,.28);
    }

    .price-card {
      position: relative;
      overflow: hidden;
    }

    .price-card.popular {
      border-color: rgba(30,115,255,.40);
      box-shadow: 0 18px 52px rgba(30,115,255,.16);
      background:
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
        linear-gradient(135deg, rgba(30,115,255,.16), transparent 62%);
    }

    .tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 12px;
      border-radius: 999px;
      font-size: 11px;
      letter-spacing: 1.3px;
      text-transform: uppercase;
      font-weight: 900;
      background: linear-gradient(135deg, rgba(83,167,255,.24), rgba(30,115,255,.14));
      color: #eaf3ff;
      border: 1px solid rgba(83,167,255,.22);
      margin-bottom: 12px;
      box-shadow: 0 8px 24px rgba(30,115,255,.10);
    }

    .price {
      font-size: clamp(34px, 4vw, 50px);
      font-weight: 900;
      line-height: 1;
      margin: 10px 0 10px;
    }

    .portfolio-item {
      min-height: 300px;
      position: relative;
      overflow: hidden;
      border-radius: 22px;
      border: 1px solid rgba(83,167,255,.18);
      background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
      box-shadow: 0 16px 32px rgba(0,0,0,.16);
    }

    .portfolio-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .portfolio-overlay {
      position: absolute;
      inset: auto 0 0 0;
      padding: 18px;
      background: linear-gradient(180deg, transparent, rgba(12,20,34,.96));
      border-top: 1px solid rgba(255,255,255,.06);
    }

    .split-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      align-items: stretch;
    }

    .audit-card,
    .contact-card {
      padding: 20px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    input,
    textarea,
    select {
      width: 100%;
      min-height: 52px;
      border-radius: 14px;
      border: 1px solid rgba(255,255,255,.10);
      background: rgba(255,255,255,.04);
      color: var(--text);
      padding: 14px 16px;
      font: inherit;
      outline: none;
    }

    select {
      background-color: #1a2940;
      color: #f5f8fc;
    }

    select option {
      background: #1a2940;
      color: #f5f8fc;
    }

    textarea { min-height: 110px; resize: vertical; }
    input:focus, textarea:focus, select:focus {
      border-color: rgba(30,115,255,.6);
      box-shadow: 0 0 0 4px rgba(30,115,255,.12);
    }

    .full { grid-column: 1 / -1; }

    .service-area {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(87,212,93,.08);
      border: 1px solid rgba(87,212,93,.18);
      color: #d5f8d7;
      font-size: 13px;
      font-weight: 700;
    }

    .final-cta {
      padding: 26px;
      text-align: center;
      background:
        linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
        linear-gradient(135deg, rgba(83,167,255,.14), transparent 70%);
      border: 1px solid rgba(83,167,255,.22);
      border-radius: 22px;
      box-shadow: 0 18px 40px rgba(0,0,0,.16);
    }

    footer {
      padding: 28px 0 46px;
      color: var(--muted);
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }

    @media (max-width: 1024px) {
      .hero-grid,
      .split-section,
      .service-grid,
      .pricing-grid,
      .portfolio-grid,
      .why-grid,
      .process-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 760px) {
      .why-grid {
        grid-template-columns: 1fr !important;
      }

      .final-cta-headline {
        white-space: normal !important;
        line-height: 1.1 !important;
      }

      .brand-text { display: none; }
      .brand-logo { width: 132px; }
      .hero-logo-wrap img { max-width: 260px; }
      .topbar-inner,
      .brand,
      .nav-actions,
      .hero-actions { align-items: flex-start; }

      .topbar-inner,
      .hero-grid,
      .split-section,
      .service-grid,
      .pricing-grid,
      .portfolio-grid,
      .why-grid,
      .process-grid,
      .form-grid,
      .hero-stats {
        grid-template-columns: 1fr;
      }

      .topbar-inner {
        flex-direction: column;
      }

      .nav-actions { width: 100%; }
      .nav-actions .btn { flex: 1 1 auto; }
      .brand-logo { width: 124px; }
      .hero { padding-top: 46px; }
      h1 { max-width: 100%; }
    }
  

/* WordPress duplicate theme additions */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.site-navigation{display:flex;align-items:center;gap:10px}.menu-toggle{display:none}.primary-menu{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0}.primary-menu li{position:relative}.primary-menu a{display:flex;align-items:center;min-height:42px;padding:0 12px;border-radius:999px;color:var(--text);font-weight:800;font-size:14px;border:1px solid transparent}.primary-menu a:hover,.primary-menu .current-menu-item>a{background:rgba(255,255,255,.05);border-color:rgba(83,167,255,.18)}.primary-menu .sub-menu{position:absolute;top:100%;left:0;min-width:230px;background:rgba(10,18,32,.96);border:1px solid rgba(83,167,255,.18);border-radius:16px;padding:8px;list-style:none;margin:8px 0 0;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}.primary-menu .sub-menu a{border-radius:12px;min-height:40px;white-space:nowrap;justify-content:flex-start}.topbar-inner{display:grid;grid-template-columns:auto 1fr auto;gap:16px}.nav-actions{justify-content:flex-end}.content-panel{padding:36px;margin:38px auto}.entry-content p,.entry-content li{color:var(--muted);font-size:17px}.entry-content a{color:var(--blue-2);font-weight:800}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.post-card h2,.post-card h3{font-size:24px}.post-meta{color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:1px;font-weight:800;margin-bottom:10px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{background:rgba(255,255,255,.045);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}.woocommerce .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{border-radius:999px!important;background:linear-gradient(135deg,#5fb3ff,var(--blue))!important;color:#fff!important;font-weight:900!important;padding:14px 18px!important}.woocommerce div.product .product_title{color:#fff}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--blue-2);font-weight:900}.woocommerce .quantity .qty{min-height:42px;border-radius:10px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:#fff}.wp-block-search__input,input[type=search]{min-height:46px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:#fff;padding:0 14px}.wp-block-search__button{border-radius:999px;border:0;background:var(--blue);color:#fff;font-weight:900;padding:0 18px}.wp-caption,.gallery-caption{color:var(--muted)}.aligncenter{margin-left:auto;margin-right:auto}.final-cta-headline{white-space:normal!important}.audit-form-shortcode{margin-top:14px}
@media(max-width:980px){.topbar-inner{grid-template-columns:1fr auto}.site-navigation{order:3;grid-column:1/-1;width:100%}.menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(83,167,255,.18);color:#fff;font-weight:900}.primary-menu{display:none;width:100%;flex-direction:column;align-items:stretch;background:rgba(10,18,32,.95);border:1px solid rgba(83,167,255,.18);border-radius:18px;padding:10px;margin-top:8px}.primary-menu.is-open{display:flex}.primary-menu a{justify-content:space-between;border-radius:12px}.primary-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;display:block;margin:4px 0 4px 12px;background:rgba(255,255,255,.03);box-shadow:none;min-width:0}.blog-grid{grid-template-columns:1fr}.nav-actions{grid-column:1/-1}.why-grid[style]{grid-template-columns:1fr 1fr!important}}@media(max-width:680px){.why-grid[style]{grid-template-columns:1fr!important}.topbar-inner{display:flex;flex-direction:column;align-items:stretch}.brand{justify-content:center}.site-navigation{order:2}.nav-actions{order:3}.primary-menu{margin-top:0}.content-panel{padding:24px;margin:24px auto}}

.custom-logo{width:150px;height:auto;display:block}.brand .custom-logo-link{display:block}

/* Alignment polish pass - v1.1 */
.section-head{
  margin:0 auto 18px;
  text-align:center;
}
.section-head .eyebrow,
.content-panel > .eyebrow,
.service-page-hero .eyebrow{
  margin-left:auto;
  margin-right:auto;
}
.content-panel{
  max-width:980px;
  text-align:center;
}
.content-panel h1,
.content-panel h2,
.content-panel h3,
.service-page-hero h1,
.service-page-hero h2,
.service-page-hero h3{
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
.content-panel p,
.service-page-hero .lead{
  margin-left:auto;
  margin-right:auto;
}
.entry-content ul,
.entry-content ol{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
  color:var(--muted);
}
.card,
.stat,
.price-card,
.post-card{
  text-align:center;
}
.card .tag,
.price-card .tag,
.post-card .tag{
  margin-left:auto;
  margin-right:auto;
}
.card .mini-list,
.price-card .mini-list{
  max-width:340px;
  margin-left:auto;
  margin-right:auto;
  text-align:left;
}
.hero:not(.service-page-hero) .hero-grid > div:first-child h1,
.hero:not(.service-page-hero) .hero-grid > div:first-child .lead{
  margin-left:0;
  margin-right:0;
  text-align:left;
}
.hero:not(.service-page-hero) .hero-grid > div:first-child .eyebrow{
  margin-left:0;
  margin-right:0;
}
.service-page-hero{
  text-align:center;
  padding-bottom:18px;
}
.service-page-hero .hero-actions{
  justify-content:center;
}
.service-page-intro{
  max-width:840px;
  margin:0 auto 18px;
  text-align:center;
}
.service-feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.service-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:stretch;
}
.service-detail-card{
  padding:24px;
}
.service-image-card{
  overflow:hidden;
  padding:0;
}
.service-image-card img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
}
.service-cta-card{
  padding:28px;
  text-align:center;
}
.service-cta-card .hero-actions{
  justify-content:center;
}
@media(max-width:980px){
  .service-feature-grid,
  .service-detail-grid{grid-template-columns:1fr;}
  .service-image-card img{min-height:260px;}
}

/* v1.2 WooCommerce product page polish */
.esm-wc-product-single .hero { padding-top: 38px; }
.esm-product-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}
.esm-product-media,
.esm-product-summary,
.esm-product-content {
  padding: 24px;
}
.esm-product-media {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
}
.esm-product-media .woocommerce-product-gallery,
.esm-product-media .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.esm-product-media img {
  border-radius: 16px;
  border: 1px solid rgba(83,167,255,.18);
  background: rgba(255,255,255,.04);
}
.esm-product-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.esm-product-summary h1.product_title {
  max-width: 100%;
  text-align: left;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1;
  margin-bottom: 12px;
}
.esm-product-price .price,
.esm-product-summary p.price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 14px;
}
.esm-product-excerpt,
.esm-product-excerpt p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 16px;
}
.esm-product-actions form.cart {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}
.esm-product-actions .quantity input.qty {
  min-height: 48px;
  width: 76px;
  border-radius: 999px;
  border: 1px solid rgba(83,167,255,.26);
  background: rgba(255,255,255,.08);
  color: #fff;
  text-align: center;
  font-weight: 900;
}
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.esm-product-actions button.single_add_to_cart_button {
  border-radius: 999px !important;
  min-height: 48px;
  padding: 0 20px !important;
  background: linear-gradient(135deg, #5fb3ff, var(--blue)) !important;
  color: #fff !important;
  font-weight: 900 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 12px 28px rgba(30,115,255,.30);
}
.esm-product-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.esm-product-trust span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(87,212,93,.10);
  border: 1px solid rgba(87,212,93,.18);
  color: #c9f8cb;
  font-size: 13px;
  font-weight: 800;
}
.esm-product-summary .product_meta {
  color: var(--muted);
  font-size: 14px;
}
.esm-product-summary .product_meta a { color: #dcecff; text-decoration: underline; }
.esm-product-content {
  margin-top: 18px;
  text-align: center;
}
.esm-product-content h2,
.esm-product-content h3 {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.esm-product-content p {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}
.esm-product-content ul,
.esm-product-content ol {
  width: min(100%, 760px);
  margin: 12px auto 22px;
  text-align: left;
  color: var(--muted);
}
.esm-product-content li { margin-bottom: 8px; }
.esm-product-content .esm-product-section {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(83,167,255,.16);
  background: rgba(255,255,255,.04);
  margin: 16px auto;
  max-width: 920px;
}
.woocommerce .products ul,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 18px !important;
  border-radius: 20px;
  border: 1px solid rgba(83,167,255,.18);
  background: rgba(255,255,255,.05);
  text-align: center;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
}
.woocommerce ul.products li.product .price { color: #fff; font-weight: 900; }
.woocommerce-result-count,
.woocommerce-ordering { color: var(--muted); }
@media (max-width: 900px) {
  .esm-product-layout,
  .woocommerce .products ul,
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .esm-product-summary h1.product_title { text-align: center; }
  .esm-product-summary .eyebrow { margin-left: auto; margin-right: auto; }
  .esm-product-price, .esm-product-actions form.cart, .esm-product-trust { justify-content: center; }
}


/* v1.3 Wider Page + Full-Width Content Patch */
:root {
  --max: 1440px;
}

.container {
  width: min(100% - 32px, var(--max));
}

.hero .container > h1,
.service-page-hero .container > h1,
.page .container > h1,
.archive .container > h1 {
  width: 100%;
  max-width: 100%;
}

.hero h1,
.content-panel h1,
.entry-content h1,
.esm-product-summary h1.product_title,
.woocommerce div.product .product_title {
  max-width: 100%;
}

.service-page-hero h1 {
  max-width: 100%;
  text-align: center;
}

.service-page-hero .lead {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.service-page-hero .eyebrow,
.service-page-hero .hero-actions {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head p,
.section-head .muted {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.content-panel {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.panel.content-panel.entry-content {
  width: 100%;
  max-width: 100%;
}

.entry-content > * {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > .wp-block-heading {
  max-width: 100%;
  width: 100%;
  text-align: center;
}

.entry-content > .wp-block-image,
.entry-content > .wp-block-gallery,
.entry-content > .wp-block-cover,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-group,
.entry-content > .woocommerce,
.entry-content > .wp-block-woocommerce-product-collection,
.entry-content > .wp-block-woocommerce-featured-product {
  max-width: 100%;
}

.service-grid,
.pricing-grid,
.portfolio-grid,
.why-grid,
.process-grid,
.service-feature-grid,
.service-detail-grid {
  width: 100%;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.esm-product-layout,
.esm-product-content,
.woocommerce .products,
.woocommerce-page .products {
  width: 100%;
  max-width: 100%;
}

.esm-product-layout {
  grid-template-columns: minmax(420px, .95fr) minmax(520px, 1.05fr);
}

.esm-product-summary h1.product_title {
  text-align: center;
}

.esm-product-summary {
  align-items: stretch;
  text-align: center;
}

.esm-product-actions form.cart {
  justify-content: center;
}

.esm-product-trust {
  justify-content: center;
}

.esm-product-content h1,
.esm-product-content h2,
.esm-product-content h3 {
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.esm-product-content p,
.esm-product-content ul,
.esm-product-content ol {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce div.product {
  width: 100%;
}

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  :root { --max: 1180px; }
  .esm-product-layout {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .service-feature-grid,
  .pricing-grid,
  .portfolio-grid,
  .why-grid,
  .process-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 22px, var(--max));
  }
  .service-grid,
  .service-feature-grid,
  .service-detail-grid,
  .pricing-grid,
  .portfolio-grid,
  .why-grid,
  .process-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
  }
  .entry-content > * {
    max-width: 100%;
  }
}


/* v2.1 Standard WooCommerce Checkout Restore
   No custom checkout rebuild. WooCommerce controls the checkout layout.
   This only places the standard checkout on a clean light card inside the Erie Shore Media theme. */

.esm-standard-woocommerce-checkout-page .container {
  width: min(100% - 32px, 1180px);
}

.esm-standard-checkout-section {
  padding: 38px 0 52px;
}

.esm-standard-checkout-card {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d8dee8;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  padding: clamp(20px, 3vw, 34px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.esm-standard-checkout-title {
  text-align: center;
  margin-bottom: 24px;
}

.esm-standard-checkout-title .eyebrow {
  background: #eef5ff;
  color: #17385f;
  border-color: #d5e7ff;
  box-shadow: none;
}

.esm-standard-checkout-title h1 {
  color: #111827;
  max-width: 100%;
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin: 0;
  text-shadow: none;
}

/* Scoped reset so the dark site theme does not force oversized/uppercase checkout typography. */
.esm-standard-checkout-content,
.esm-standard-checkout-content .woocommerce,
.esm-standard-checkout-content .wc-block-checkout,
.esm-standard-checkout-content .wc-block-cart {
  color: #111827;
  font-family: inherit;
  width: 100%;
  max-width: 100%;
}

.esm-standard-checkout-content h1,
.esm-standard-checkout-content h2,
.esm-standard-checkout-content h3,
.esm-standard-checkout-content h4,
.esm-standard-checkout-content h5,
.esm-standard-checkout-content h6 {
  color: #111827;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
  max-width: 100%;
}

.esm-standard-checkout-content p,
.esm-standard-checkout-content li,
.esm-standard-checkout-content label,
.esm-standard-checkout-content span,
.esm-standard-checkout-content div {
  text-shadow: none;
}

/* Let WooCommerce/block styles handle layout. Only restore standard field readability. */
.esm-standard-checkout-content input,
.esm-standard-checkout-content select,
.esm-standard-checkout-content textarea {
  color: #111827;
}

.esm-standard-checkout-content input::placeholder,
.esm-standard-checkout-content textarea::placeholder {
  color: #6b7280;
  opacity: .75;
}

/* Classic WooCommerce buttons still match Erie Shore Media without changing layout. */
.esm-standard-checkout-content .woocommerce button.button,
.esm-standard-checkout-content .woocommerce input.button,
.esm-standard-checkout-content .woocommerce a.button,
.esm-standard-checkout-content .wc-block-components-button {
  border-radius: 8px;
}

/* Keep block checkout responsive without forcing custom columns. */
@media (max-width: 760px) {
  .esm-standard-checkout-card {
    padding: 16px;
  }
}


/* v2.2 Standard WooCommerce Checkout Polish
   Fixes oversized order summary text and misshaped checkout buttons/checkboxes/radio buttons. */

.esm-standard-checkout-content {
  font-size: 15px;
  line-height: 1.45;
}

/* Keep WooCommerce block checkout from inheriting huge global heading/text styles */
.esm-standard-checkout-content .wc-block-checkout,
.esm-standard-checkout-content .wp-block-woocommerce-checkout,
.esm-standard-checkout-content .wc-block-components-sidebar-layout,
.esm-standard-checkout-content .wc-block-components-main,
.esm-standard-checkout-content .wc-block-checkout__main,
.esm-standard-checkout-content .wc-block-checkout__sidebar {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

/* Right order summary: normal readable sizing */
.esm-standard-checkout-content .wc-block-checkout__sidebar,
.esm-standard-checkout-content .wc-block-components-sidebar {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.esm-standard-checkout-content .wc-block-components-order-summary,
.esm-standard-checkout-content .wc-block-components-order-summary__content,
.esm-standard-checkout-content .wc-block-components-order-summary-item {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.esm-standard-checkout-content .wc-block-components-order-summary__button-text,
.esm-standard-checkout-content .wc-block-components-title {
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Product title/description in sidebar */
.esm-standard-checkout-content .wc-block-components-product-name {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #111827 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

.esm-standard-checkout-content .wc-block-components-product-metadata,
.esm-standard-checkout-content .wc-block-components-product-details,
.esm-standard-checkout-content .wc-block-components-product-details__name,
.esm-standard-checkout-content .wc-block-components-product-details__value {
  font-size: 11px !important;
  line-height: 1.25 !important;
  color: #4b5563 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Prices should not inherit global giant text */
.esm-standard-checkout-content .wc-block-components-formatted-money-amount,
.esm-standard-checkout-content .wc-block-components-product-price,
.esm-standard-checkout-content .wc-block-components-totals-item__value,
.esm-standard-checkout-content .wc-block-components-order-summary-item__total-price,
.esm-standard-checkout-content .woocommerce-Price-amount,
.esm-standard-checkout-content .amount {
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.esm-standard-checkout-content .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.esm-standard-checkout-content .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
  font-size: 20px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
}

/* Sidebar product row alignment */
.esm-standard-checkout-content .wc-block-components-order-summary-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: start !important;
  padding: 14px 0 !important;
}

.esm-standard-checkout-content .wc-block-components-order-summary-item__image {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
}

.esm-standard-checkout-content .wc-block-components-order-summary-item__image img {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover !important;
}

.esm-standard-checkout-content .wc-block-components-order-summary-item__description {
  min-width: 0 !important;
  max-width: 100% !important;
}

.esm-standard-checkout-content .wc-block-components-order-summary-item__total-price {
  min-width: 64px !important;
  text-align: right !important;
}

/* Totals rows */
.esm-standard-checkout-content .wc-block-components-totals-item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.esm-standard-checkout-content .wc-block-components-totals-item__label,
.esm-standard-checkout-content .wc-block-components-totals-item__description {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

/* Fix checkbox/radio shapes without making them huge white boxes */
.esm-standard-checkout-content input[type="checkbox"],
.esm-standard-checkout-content input[type="radio"],
.esm-standard-checkout-content .wc-block-components-checkbox__input,
.esm-standard-checkout-content .wc-block-components-radio-control__input,
.esm-standard-checkout-content .woocommerce-form__input-checkbox {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  margin: 2px 8px 0 0 !important;
  display: inline-block !important;
  vertical-align: top !important;
  position: static !important;
  box-shadow: none !important;
  transform: none !important;
}

.esm-standard-checkout-content input[type="radio"],
.esm-standard-checkout-content .wc-block-components-radio-control__input {
  border-radius: 999px !important;
}

/* Radio/checkbox rows align like standard checkout */
.esm-standard-checkout-content .wc-block-components-checkbox,
.esm-standard-checkout-content label.checkbox,
.esm-standard-checkout-content .woocommerce-form__label-for-checkbox,
.esm-standard-checkout-content .wc-block-components-radio-control__option {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  min-height: auto !important;
  line-height: 1.35 !important;
}

.esm-standard-checkout-content .wc-block-components-checkbox__label,
.esm-standard-checkout-content .woocommerce-form__label-for-checkbox span,
.esm-standard-checkout-content label.checkbox span,
.esm-standard-checkout-content .wc-block-components-radio-control__label {
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}

/* Payment buttons and rows */
.esm-standard-checkout-content .wc-block-components-radio-control__option {
  padding: 12px !important;
}

.esm-standard-checkout-content .wc-block-components-radio-control__label,
.esm-standard-checkout-content .wc-block-components-radio-control__label span {
  color: #111827 !important;
}

.esm-standard-checkout-content .wc-block-components-radio-control__description,
.esm-standard-checkout-content .wc-block-components-payment-method-label,
.esm-standard-checkout-content .wc-block-components-payment-methods__saved-token {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* Standard field height and text */
.esm-standard-checkout-content input[type="text"],
.esm-standard-checkout-content input[type="email"],
.esm-standard-checkout-content input[type="tel"],
.esm-standard-checkout-content input[type="number"],
.esm-standard-checkout-content input[type="password"],
.esm-standard-checkout-content input.input-text,
.esm-standard-checkout-content select,
.esm-standard-checkout-content textarea,
.esm-standard-checkout-content .wc-block-components-text-input input,
.esm-standard-checkout-content .wc-block-components-address-form input,
.esm-standard-checkout-content .wc-block-components-combobox-control input,
.esm-standard-checkout-content .wc-block-components-select__select {
  min-height: 44px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  padding: 10px 12px !important;
}

.esm-standard-checkout-content input::placeholder,
.esm-standard-checkout-content textarea::placeholder {
  color: #6b7280 !important;
  opacity: .65 !important;
}

/* Express checkout buttons should not be distorted */
.esm-standard-checkout-content .wc-block-components-express-payment__event-buttons {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
  gap: 10px !important;
}

.esm-standard-checkout-content .wc-block-components-express-payment button,
.esm-standard-checkout-content .wc-block-components-express-payment iframe {
  min-height: 44px !important;
  max-height: 54px !important;
  border-radius: 4px !important;
}

/* Place order button normal proportions */
.esm-standard-checkout-content .wc-block-components-checkout-place-order-button,
.esm-standard-checkout-content .wc-block-components-button,
.esm-standard-checkout-content #place_order {
  min-height: 46px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

/* Hard stop against vertical price/text in order summary */
.esm-standard-checkout-content .wc-block-checkout__sidebar *,
.esm-standard-checkout-content .wc-block-components-order-summary * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

@media (max-width: 900px) {
  .esm-standard-checkout-content .wc-block-components-order-summary-item {
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
  }
}


/* v2.5 Checkout Labels Above Fields
   Base: v2.2 checkout polish.
   Only change: force WooCommerce block labels above fields to prevent overlap/double text. */

.esm-standard-checkout-content .wc-block-components-text-input,
.esm-standard-checkout-content .wc-block-components-combobox,
.esm-standard-checkout-content .wc-block-components-country-input,
.esm-standard-checkout-content .wc-block-components-state-input,
.esm-standard-checkout-content .wc-block-components-phone-number-input,
.esm-standard-checkout-content .wc-block-components-select,
.esm-standard-checkout-content .wc-block-components-address-form > div {
  position: relative !important;
  display: block !important;
  margin-bottom: 14px !important;
  min-height: auto !important;
}

/* Labels above fields, not floating inside */
.esm-standard-checkout-content .wc-block-components-text-input label,
.esm-standard-checkout-content .wc-block-components-combobox-control label,
.esm-standard-checkout-content .wc-block-components-country-input label,
.esm-standard-checkout-content .wc-block-components-state-input label,
.esm-standard-checkout-content .wc-block-components-phone-number-input label,
.esm-standard-checkout-content .wc-block-components-select label,
.esm-standard-checkout-content .wc-block-components-address-form label.components-base-control__label {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  background: transparent !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  pointer-events: auto !important;
  width: auto !important;
  max-width: 100% !important;
  white-space: normal !important;
}

/* Remove the extra top padding used for floating labels */
.esm-standard-checkout-content .wc-block-components-text-input input,
.esm-standard-checkout-content .wc-block-components-address-form input,
.esm-standard-checkout-content .wc-block-components-combobox-control input,
.esm-standard-checkout-content .wc-block-components-select__select,
.esm-standard-checkout-content .wc-block-components-country-input input,
.esm-standard-checkout-content .wc-block-components-state-input input,
.esm-standard-checkout-content input[type="text"],
.esm-standard-checkout-content input[type="email"],
.esm-standard-checkout-content input[type="tel"],
.esm-standard-checkout-content input[type="number"],
.esm-standard-checkout-content input[type="password"],
.esm-standard-checkout-content input.input-text,
.esm-standard-checkout-content select,
.esm-standard-checkout-content textarea {
  min-height: 46px !important;
  height: auto !important;
  padding: 10px 12px !important;
  color: #111827 !important;
  background: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

/* WooCommerce Blocks active/has-value states must not push text down */
.esm-standard-checkout-content .wc-block-components-text-input.is-active input,
.esm-standard-checkout-content .wc-block-components-text-input.has-value input,
.esm-standard-checkout-content .wc-block-components-combobox.is-active input,
.esm-standard-checkout-content .wc-block-components-combobox.has-value input {
  padding-top: 10px !important;
}

/* Keep checkbox/radio/payment method labels visible and aligned from v2.2 */
.esm-standard-checkout-content .wc-block-components-checkbox label,
.esm-standard-checkout-content .wc-block-components-radio-control label,
.esm-standard-checkout-content .wc-block-components-radio-control__label,
.esm-standard-checkout-content label.checkbox,
.esm-standard-checkout-content .woocommerce-form__label-for-checkbox,
.esm-standard-checkout-content .wc-block-components-payment-method-label {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
}

/* Placeholder text remains ghosted gray */
.esm-standard-checkout-content input::placeholder,
.esm-standard-checkout-content textarea::placeholder,
.esm-standard-checkout-content .wc-block-components-text-input input::placeholder,
.esm-standard-checkout-content .wc-block-components-address-form input::placeholder,
.esm-standard-checkout-content .wc-block-components-combobox-control input::placeholder {
  color: #6b7280 !important;
  opacity: .65 !important;
}


/* v2.6 Checkout Field Alignment Fix
   Base: v2.5.
   Fixes labels appearing below fields and aligns WooCommerce checkout fields into clean rows. */

/* Field containers should stack label above input */
.esm-standard-checkout-content .wc-block-components-text-input,
.esm-standard-checkout-content .wc-block-components-combobox,
.esm-standard-checkout-content .wc-block-components-combobox-control,
.esm-standard-checkout-content .wc-block-components-country-input,
.esm-standard-checkout-content .wc-block-components-state-input,
.esm-standard-checkout-content .wc-block-components-phone-number-input,
.esm-standard-checkout-content .wc-block-components-select,
.esm-standard-checkout-content .wc-block-components-address-form > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin: 0 0 14px !important;
  min-height: auto !important;
  position: relative !important;
}

/* Force labels above the input even if WooCommerce renders them after the input */
.esm-standard-checkout-content .wc-block-components-text-input label,
.esm-standard-checkout-content .wc-block-components-combobox-control label,
.esm-standard-checkout-content .wc-block-components-country-input label,
.esm-standard-checkout-content .wc-block-components-state-input label,
.esm-standard-checkout-content .wc-block-components-phone-number-input label,
.esm-standard-checkout-content .wc-block-components-select label,
.esm-standard-checkout-content .wc-block-components-address-form label.components-base-control__label {
  order: 1 !important;
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  background: transparent !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  pointer-events: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
}

/* Inputs always come below labels */
.esm-standard-checkout-content .wc-block-components-text-input input,
.esm-standard-checkout-content .wc-block-components-address-form input,
.esm-standard-checkout-content .wc-block-components-combobox-control input,
.esm-standard-checkout-content .wc-block-components-select__select,
.esm-standard-checkout-content .wc-block-components-country-input input,
.esm-standard-checkout-content .wc-block-components-state-input input,
.esm-standard-checkout-content input[type="text"],
.esm-standard-checkout-content input[type="email"],
.esm-standard-checkout-content input[type="tel"],
.esm-standard-checkout-content input[type="number"],
.esm-standard-checkout-content input[type="password"],
.esm-standard-checkout-content input.input-text,
.esm-standard-checkout-content select,
.esm-standard-checkout-content textarea {
  order: 2 !important;
  width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 9px 12px !important;
  color: #111827 !important;
  background: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  border: 1px solid #1f2937 !important;
  border-radius: 2px !important;
  box-sizing: border-box !important;
}

/* Stop active/floating states from adding padding or moving labels */
.esm-standard-checkout-content .wc-block-components-text-input.is-active input,
.esm-standard-checkout-content .wc-block-components-text-input.has-value input,
.esm-standard-checkout-content .wc-block-components-combobox.is-active input,
.esm-standard-checkout-content .wc-block-components-combobox.has-value input {
  padding: 9px 12px !important;
}

.esm-standard-checkout-content .wc-block-components-text-input.is-active label,
.esm-standard-checkout-content .wc-block-components-text-input.has-value label,
.esm-standard-checkout-content .wc-block-components-combobox.is-active label,
.esm-standard-checkout-content .wc-block-components-combobox.has-value label {
  transform: none !important;
  position: static !important;
}

/* Address form row layout */
.esm-standard-checkout-content .wc-block-components-address-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 14px !important;
  row-gap: 0 !important;
  align-items: start !important;
  width: 100% !important;
}

/* Full-width fields */
.esm-standard-checkout-content .wc-block-components-address-form__country,
.esm-standard-checkout-content .wc-block-components-address-form__address_1,
.esm-standard-checkout-content .wc-block-components-address-form__address_2,
.esm-standard-checkout-content .wc-block-components-address-form__company,
.esm-standard-checkout-content .wc-block-components-address-form__email,
.esm-standard-checkout-content .wc-block-components-address-form__phone:only-child {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

/* Half-width fields */
.esm-standard-checkout-content .wc-block-components-address-form__first_name,
.esm-standard-checkout-content .wc-block-components-address-form__last_name,
.esm-standard-checkout-content .wc-block-components-address-form__city,
.esm-standard-checkout-content .wc-block-components-address-form__state,
.esm-standard-checkout-content .wc-block-components-address-form__postcode,
.esm-standard-checkout-content .wc-block-components-address-form__phone {
  grid-column: auto !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Text input outside address form, such as contact email */
.esm-standard-checkout-content .wc-block-components-contact-information,
.esm-standard-checkout-content .wc-block-components-contact-information .wc-block-components-text-input {
  width: 100% !important;
}

/* Payment options alignment */
.esm-standard-checkout-content .wc-block-components-radio-control__option {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: center !important;
}

.esm-standard-checkout-content .wc-block-components-radio-control__input {
  grid-column: 1 !important;
  justify-self: start !important;
}

.esm-standard-checkout-content .wc-block-components-radio-control__label {
  grid-column: 2 !important;
  justify-self: start !important;
}

.esm-standard-checkout-content .wc-block-components-radio-control__description {
  grid-column: 2 / -1 !important;
}

/* Credit card fields: card number full width, expiration/security side by side */
.esm-standard-checkout-content .wc-block-components-credit-card-form,
.esm-standard-checkout-content .wc-block-components-payment-methods__payment-method-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  align-items: start !important;
}

.esm-standard-checkout-content .wc-block-components-credit-card-form > :first-child,
.esm-standard-checkout-content .wc-block-components-payment-methods__payment-method-card > :first-child {
  grid-column: 1 / -1 !important;
}

/* Keep the checkbox rows from being affected by field stacking */
.esm-standard-checkout-content .wc-block-components-checkbox,
.esm-standard-checkout-content label.checkbox,
.esm-standard-checkout-content .woocommerce-form__label-for-checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

/* Placeholder text */
.esm-standard-checkout-content input::placeholder,
.esm-standard-checkout-content textarea::placeholder,
.esm-standard-checkout-content .wc-block-components-text-input input::placeholder,
.esm-standard-checkout-content .wc-block-components-address-form input::placeholder,
.esm-standard-checkout-content .wc-block-components-combobox-control input::placeholder {
  color: #6b7280 !important;
  opacity: .65 !important;
}

/* Mobile */
@media (max-width: 720px) {
  .esm-standard-checkout-content .wc-block-components-address-form,
  .esm-standard-checkout-content .wc-block-components-credit-card-form,
  .esm-standard-checkout-content .wc-block-components-payment-methods__payment-method-card {
    grid-template-columns: 1fr !important;
  }

  .esm-standard-checkout-content .wc-block-components-address-form > div,
  .esm-standard-checkout-content .wc-block-components-credit-card-form > *,
  .esm-standard-checkout-content .wc-block-components-payment-methods__payment-method-card > * {
    grid-column: 1 !important;
  }
}


/* v2.7 Uniform Billing Address Layout
   Base: v2.6.
   Fixes the billing/shipping address section so the fields line up in a consistent, uniform layout. */

/* Clean two-column grid for address section */
.esm-standard-checkout-content .wc-block-components-address-form {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: start !important;
  width: 100% !important;
}

/* Every direct field wrapper should fill its grid cell cleanly */
.esm-standard-checkout-content .wc-block-components-address-form > div,
.esm-standard-checkout-content .wc-block-components-address-form > p,
.esm-standard-checkout-content .wc-block-components-address-form .wc-block-components-text-input,
.esm-standard-checkout-content .wc-block-components-address-form .wc-block-components-select,
.esm-standard-checkout-content .wc-block-components-address-form .wc-block-components-country-input,
.esm-standard-checkout-content .wc-block-components-address-form .wc-block-components-state-input,
.esm-standard-checkout-content .wc-block-components-address-form .wc-block-components-phone-number-input {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* Full-width rows */
.esm-standard-checkout-content .wc-block-components-address-form__country,
.esm-standard-checkout-content .wc-block-components-address-form__address_1,
.esm-standard-checkout-content .wc-block-components-address-form__address_2,
.esm-standard-checkout-content .wc-block-components-address-form__company {
  grid-column: 1 / -1 !important;
}

/* Half-width rows for clean pairs */
.esm-standard-checkout-content .wc-block-components-address-form__first_name,
.esm-standard-checkout-content .wc-block-components-address-form__last_name,
.esm-standard-checkout-content .wc-block-components-address-form__city,
.esm-standard-checkout-content .wc-block-components-address-form__state,
.esm-standard-checkout-content .wc-block-components-address-form__postcode,
.esm-standard-checkout-content .wc-block-components-address-form__phone {
  grid-column: auto !important;
}

/* Explicit ordering for a uniform section */
.esm-standard-checkout-content .wc-block-components-address-form__country { order: 1 !important; }
.esm-standard-checkout-content .wc-block-components-address-form__first_name { order: 2 !important; }
.esm-standard-checkout-content .wc-block-components-address-form__last_name { order: 3 !important; }
.esm-standard-checkout-content .wc-block-components-address-form__address_1 { order: 4 !important; }
.esm-standard-checkout-content .wc-block-components-address-form__address_2 { order: 5 !important; }
.esm-standard-checkout-content .wc-block-components-address-form__city { order: 6 !important; }
.esm-standard-checkout-content .wc-block-components-address-form__state { order: 7 !important; }
.esm-standard-checkout-content .wc-block-components-address-form__postcode { order: 8 !important; }
.esm-standard-checkout-content .wc-block-components-address-form__phone { order: 9 !important; }

/* Labels above fields, consistently spaced */
.esm-standard-checkout-content .wc-block-components-address-form label,
.esm-standard-checkout-content .wc-block-components-address-form label.components-base-control__label {
  display: block !important;
  position: static !important;
  order: 1 !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  background: transparent !important;
  transform: none !important;
  white-space: normal !important;
}

/* Inputs below labels, consistent size */
.esm-standard-checkout-content .wc-block-components-address-form input,
.esm-standard-checkout-content .wc-block-components-address-form select,
.esm-standard-checkout-content .wc-block-components-address-form .wc-block-components-select__select,
.esm-standard-checkout-content .wc-block-components-address-form .wc-block-components-combobox-control input {
  order: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 9px 12px !important;
  box-sizing: border-box !important;
}

/* Remove odd spacing on the apartment/suite helper line */
.esm-standard-checkout-content .wc-block-components-address-form__address_2 label {
  margin-bottom: 6px !important;
}

/* Mobile: stack neatly */
@media (max-width: 720px) {
  .esm-standard-checkout-content .wc-block-components-address-form {
    grid-template-columns: 1fr !important;
  }

  .esm-standard-checkout-content .wc-block-components-address-form > div,
  .esm-standard-checkout-content .wc-block-components-address-form > p {
    grid-column: 1 !important;
    width: 100% !important;
  }
}


/* v2.8 WooPay Phone Number Field Fix
   Base: v2.7.
   Fixes overlap between flag/country code and typed phone number in the save-my-info phone field. */

/* Keep the phone input wrapper full width */
.esm-standard-checkout-content .wc-block-components-phone-number-input,
.esm-standard-checkout-content .wc-block-components-phone-number,
.esm-standard-checkout-content .wc-block-components-phone-number-input .PhoneInput,
.esm-standard-checkout-content .wc-block-components-phone-number-input .iti,
.esm-standard-checkout-content .wc-block-components-phone-number-input .iti--allow-dropdown {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Intl phone input layout: flag/country on left, number field fills remaining space */
.esm-standard-checkout-content .wc-block-components-phone-number-input .PhoneInput,
.esm-standard-checkout-content .wc-block-components-phone-number-input .iti {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 44px !important;
}

/* Country/flag section should not overlap the typed text */
.esm-standard-checkout-content .wc-block-components-phone-number-input .PhoneInputCountry,
.esm-standard-checkout-content .wc-block-components-phone-number-input .iti__flag-container,
.esm-standard-checkout-content .wc-block-components-phone-number-input .iti__selected-flag,
.esm-standard-checkout-content .wc-block-components-phone-number-input .wc-block-components-country-code {
  position: static !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 48px !important;
  max-width: max-content !important;
  margin: 0 !important;
  padding: 0 8px 0 0 !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
  background: transparent !important;
  border: 0 !important;
}

/* The actual phone input must not slide underneath the flag/country code */
.esm-standard-checkout-content .wc-block-components-phone-number-input .PhoneInputInput,
.esm-standard-checkout-content .wc-block-components-phone-number-input .iti__tel-input,
.esm-standard-checkout-content .wc-block-components-phone-number-input input[type="tel"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  text-indent: 0 !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

/* If the library uses absolute-positioned flag UI, neutralize the left padding mismatch */
.esm-standard-checkout-content .wc-block-components-phone-number-input .iti input,
.esm-standard-checkout-content .wc-block-components-phone-number-input .iti input[type="tel"] {
  padding-left: 12px !important;
}

/* Keep the whole save-my-info phone row from collapsing */
.esm-standard-checkout-content .wc-block-components-phone-number-input,
.esm-standard-checkout-content .wc-block-components-phone-number-input label,
.esm-standard-checkout-content .wc-block-components-phone-number-input input {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

/* On narrow screens keep the input usable */
@media (max-width: 720px) {
  .esm-standard-checkout-content .wc-block-components-phone-number-input .PhoneInput,
  .esm-standard-checkout-content .wc-block-components-phone-number-input .iti {
    gap: 6px !important;
  }

  .esm-standard-checkout-content .wc-block-components-phone-number-input .PhoneInputCountry,
  .esm-standard-checkout-content .wc-block-components-phone-number-input .iti__flag-container,
  .esm-standard-checkout-content .wc-block-components-phone-number-input .iti__selected-flag {
    min-width: 42px !important;
    padding-right: 6px !important;
  }
}

/* v3.0 Product Page Layout + Typography Polish */
.esm-wc-product-single .container{width:min(100% - 32px,1320px)!important;max-width:1320px!important}
.esm-wc-product-single .hero{padding-top:34px!important}
.esm-product-layout{display:grid!important;grid-template-columns:minmax(360px,.95fr) minmax(420px,1.05fr)!important;gap:24px!important;align-items:stretch!important;width:100%!important;max-width:100%!important;margin:0 auto 24px!important}
.esm-product-media,.esm-product-summary{width:100%!important;max-width:100%!important;min-width:0!important;padding:24px!important;box-sizing:border-box!important}
.esm-product-media{display:flex!important;align-items:center!important;justify-content:center!important}
.esm-product-media .woocommerce-product-gallery{width:100%!important;max-width:100%!important;margin:0!important}
.esm-product-media .woocommerce-product-gallery__wrapper{margin:0!important}
.esm-product-media .woocommerce-product-gallery__image,.esm-product-media .woocommerce-product-gallery__image a,.esm-product-media .woocommerce-product-gallery__image img{width:100%!important}
.esm-product-media img{height:auto!important;object-fit:contain!important}
.esm-product-summary{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;text-align:center!important}
.esm-product-summary .eyebrow{align-self:center!important;margin-left:auto!important;margin-right:auto!important}
.esm-product-summary h1.product_title,.woocommerce div.product .product_title,.esm-wc-product-single h1{font-size:clamp(30px,3.5vw,46px)!important;line-height:1.06!important;max-width:760px!important;margin:0 auto 14px!important;text-align:center!important;text-transform:uppercase!important;letter-spacing:-.3px!important;text-shadow:none!important}
.esm-product-price .price,.esm-product-summary p.price{display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;font-size:clamp(20px,2.2vw,28px)!important;line-height:1.15!important;margin:0 auto 16px!important}
.esm-product-price del,.esm-product-price ins,.esm-product-price .amount{white-space:nowrap!important}
.esm-product-excerpt,.esm-product-excerpt p{max-width:680px!important;margin-left:auto!important;margin-right:auto!important;font-size:17px!important;line-height:1.5!important;color:var(--muted)!important}
.esm-product-actions{width:100%!important;max-width:680px!important;margin:8px auto 16px!important}
.esm-product-actions form.cart{display:grid!important;grid-template-columns:86px minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important;width:100%!important;margin:0 0 14px!important}
.esm-product-actions form.cart .quantity{width:100%!important}
.esm-product-actions form.cart .quantity input.qty{width:100%!important;min-height:48px!important;border-radius:10px!important;text-align:center!important}
.esm-product-actions form.cart .single_add_to_cart_button{width:100%!important;min-height:48px!important;border-radius:10px!important}
.esm-product-actions .wc-stripe-product-checkout-container,.esm-product-actions .wcpay-payment-request-wrapper,.esm-product-actions #wcpay-payment-request-wrapper,.esm-product-actions #wc-stripe-payment-request-wrapper,.esm-product-actions .wc-stripe-payment-request-wrapper,.esm-product-actions .ppc-button-wrapper,.esm-product-actions .woocommerce_single_product_ppec{width:100%!important;max-width:100%!important;margin:12px 0 0!important}
.esm-product-actions .wc-stripe-product-checkout-container iframe,.esm-product-actions .wcpay-payment-request-wrapper iframe,.esm-product-actions #wcpay-payment-request-wrapper iframe,.esm-product-actions #wc-stripe-payment-request-wrapper iframe,.esm-product-actions .ppc-button-wrapper iframe{width:100%!important;max-width:100%!important}
.esm-product-actions button,.esm-product-actions .button,.esm-product-actions a.button{width:100%!important}
.esm-product-trust{display:flex!important;justify-content:center!important;align-items:stretch!important;flex-wrap:wrap!important;gap:10px!important;width:100%!important;max-width:680px!important;margin:12px auto!important}
.esm-product-trust span{flex:1 1 160px!important;text-align:center!important}
.esm-product-content{width:100%!important;max-width:100%!important;padding:28px!important;margin-top:24px!important}
.esm-product-content h1,.esm-product-content h2,.esm-product-content .woocommerce-Tabs-panel h2,.esm-product-content .woocommerce-tabs h2{font-size:clamp(26px,3vw,40px)!important;line-height:1.08!important;max-width:100%!important;text-align:center!important;text-transform:uppercase!important;letter-spacing:-.2px!important;margin-bottom:14px!important}
.esm-product-content h3{font-size:clamp(22px,2.3vw,30px)!important;line-height:1.15!important;text-align:center!important}
.esm-product-content p,.esm-product-content li{font-size:16px!important;line-height:1.65!important}
.esm-product-content .woocommerce-tabs,.esm-product-content .woocommerce-Tabs-panel{width:100%!important;max-width:100%!important}
.esm-product-content .woocommerce-tabs ul.tabs{margin-bottom:18px!important}
@media(max-width:980px){.esm-product-layout{grid-template-columns:1fr!important}.esm-product-summary{justify-content:flex-start!important}}
@media(max-width:620px){.esm-product-actions form.cart{grid-template-columns:1fr!important}.esm-product-actions form.cart .quantity input.qty{max-width:100%!important}.esm-product-summary h1.product_title,.woocommerce div.product .product_title,.esm-wc-product-single h1{font-size:clamp(28px,9vw,38px)!important}}


/* v3.1 Restore Header Menus + Cart Icon */
.topbar {
  overflow: visible !important;
}

.topbar-inner {
  display: grid !important;
  grid-template-columns: auto minmax(320px, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
}

.site-navigation {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.primary-menu,
.primary-menu.is-fallback {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.primary-menu > li {
  display: block !important;
  position: relative !important;
}

.primary-menu a {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  color: var(--text) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.primary-menu .sub-menu {
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 9999 !important;
  min-width: 230px !important;
  background: rgba(10,18,32,.98) !important;
  border: 1px solid rgba(83,167,255,.20) !important;
  border-radius: 16px !important;
  padding: 8px !important;
  list-style: none !important;
  margin: 8px 0 0 !important;
  box-shadow: var(--shadow) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) !important;
  transition: .18s ease !important;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.primary-menu .sub-menu a {
  justify-content: flex-start !important;
  border-radius: 12px !important;
  min-height: 40px !important;
  white-space: nowrap !important;
}

.nav-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  min-width: max-content !important;
}

.cart-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(83,167,255,.28) !important;
  background: rgba(255,255,255,.055) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03) !important;
}

.cart-link:hover {
  background: rgba(255,255,255,.09) !important;
  transform: translateY(-1px) !important;
}

.cart-icon {
  font-size: 19px !important;
  line-height: 1 !important;
}

.cart-count {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: var(--blue) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Keep mobile menu functional and visible */
@media (max-width: 980px) {
  .topbar-inner {
    grid-template-columns: auto auto !important;
  }

  .site-navigation {
    order: 3 !important;
    grid-column: 1 / -1 !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(83,167,255,.28) !important;
    background: rgba(255,255,255,.06) !important;
    color: #fff !important;
    font-weight: 900 !important;
  }

  .primary-menu {
    display: none !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: rgba(10,18,32,.98) !important;
    border: 1px solid rgba(83,167,255,.18) !important;
    border-radius: 16px !important;
    padding: 10px !important;
    margin-top: 10px !important;
  }

  .site-navigation.is-open .primary-menu,
  .primary-menu.is-open {
    display: flex !important;
  }

  .primary-menu .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 6px 0 8px 14px !important;
    box-shadow: none !important;
    min-width: 0 !important;
  }

  .nav-actions {
    grid-column: 2 !important;
    justify-self: end !important;
  }
}

@media (max-width: 680px) {
  .nav-actions .btn-outline {
    display: none !important;
  }

  .nav-actions .btn-primary {
    min-height: 42px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  .cart-link {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
}


/* v3.2 Product Page Visual Polish
   Focus: product-page alignment, orange sale badge, gallery/buy area alignment, and smaller headings. */

.esm-wc-product-single .container {
  width: min(100% - 32px, 1240px) !important;
  max-width: 1240px !important;
}

/* Tighten product top spacing */
.esm-product-hero {
  padding-top: 34px !important;
}

.esm-product-layout {
  display: grid !important;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr) !important;
  gap: 28px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 auto 26px !important;
}

/* Keep gallery and buy box the same visual height/alignment */
.esm-product-media,
.esm-product-summary {
  min-height: 520px !important;
  padding: 26px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.esm-product-media {
  align-items: center !important;
}

.esm-product-summary {
  align-items: center !important;
  text-align: center !important;
}

/* Gallery/slideshow fills the left card cleanly */
.esm-product-media .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.esm-product-media .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

.esm-product-media .woocommerce-product-gallery__image {
  width: 100% !important;
  text-align: center !important;
}

.esm-product-media .woocommerce-product-gallery__image img {
  width: 100% !important;
  max-height: 430px !important;
  object-fit: contain !important;
  border-radius: 14px !important;
}

/* Orange sale badge/icon */
.woocommerce span.onsale,
.esm-wc-product-single span.onsale,
.esm-product-media span.onsale,
.esm-product-summary span.onsale {
  background: #f97316 !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,.28) !important;
  border-radius: 999px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  width: 64px !important;
  height: 64px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: 0 14px 34px rgba(249,115,22,.32) !important;
  z-index: 10 !important;
}

/* Product H1 and large product headers reduced roughly 30% */
.esm-product-summary h1.product_title,
.woocommerce div.product .product_title,
.esm-wc-product-single h1 {
  font-size: clamp(23px, 2.45vw, 32px) !important;
  line-height: 1.12 !important;
  letter-spacing: .03em !important;
  max-width: 620px !important;
  margin: 10px auto 12px !important;
  text-align: center !important;
}

.esm-product-content h1,
.esm-product-content h2,
.esm-product-content .woocommerce-Tabs-panel h2,
.esm-product-content .woocommerce-tabs h2 {
  font-size: clamp(20px, 2.1vw, 28px) !important;
  line-height: 1.16 !important;
  letter-spacing: .04em !important;
  margin: 0 auto 14px !important;
  max-width: 920px !important;
}

.esm-product-content h3 {
  font-size: clamp(18px, 1.8vw, 24px) !important;
  line-height: 1.2 !important;
  margin: 22px auto 10px !important;
  max-width: 900px !important;
}

/* Price/short description alignment */
.esm-product-price,
.esm-product-excerpt,
.esm-product-actions,
.esm-product-trust,
.esm-product-summary .product_meta {
  width: 100% !important;
  max-width: 620px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.esm-product-price .price,
.esm-product-summary p.price {
  font-size: clamp(18px, 1.8vw, 24px) !important;
  line-height: 1.2 !important;
  margin-bottom: 14px !important;
}

.esm-product-excerpt,
.esm-product-excerpt p {
  font-size: 15px !important;
  line-height: 1.55 !important;
  text-align: center !important;
  margin-bottom: 16px !important;
}

/* Buy/add-to-cart area fills the right card neatly */
.esm-product-actions {
  margin-top: 8px !important;
}

.esm-product-actions form.cart {
  display: grid !important;
  grid-template-columns: 82px minmax(0, 1fr) !important;
  gap: 12px !important;
  width: 100% !important;
  align-items: stretch !important;
}

.esm-product-actions form.cart .quantity input.qty,
.esm-product-actions form.cart .single_add_to_cart_button {
  min-height: 48px !important;
  height: 48px !important;
  border-radius: 10px !important;
}

/* Express/buy now buttons fill width under add-to-cart */
.esm-product-actions #wc-stripe-payment-request-wrapper,
.esm-product-actions #wcpay-payment-request-wrapper,
.esm-product-actions .wcpay-payment-request-wrapper,
.esm-product-actions .wc-stripe-payment-request-wrapper,
.esm-product-actions .wc-stripe-product-checkout-container,
.esm-product-actions .ppc-button-wrapper,
.esm-product-actions .woocommerce_single_product_ppec,
.esm-product-actions .wc-stripe-product-checkout-container iframe,
.esm-product-actions .ppc-button-wrapper iframe {
  width: 100% !important;
  max-width: 100% !important;
}

/* Trust row is compact and aligned */
.esm-product-trust {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.esm-product-trust span {
  padding: 9px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.055) !important;
  border: 1px solid rgba(83,167,255,.15) !important;
  font-size: 12px !important;
  color: var(--muted) !important;
}

/* Product content below: more visually contained and readable */
.esm-product-content {
  max-width: 980px !important;
  margin: 28px auto 0 !important;
  padding: 28px !important;
}

.esm-product-content .woocommerce-tabs ul.tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 0 22px !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

.esm-product-content .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
}

.esm-product-content .woocommerce-tabs ul.tabs li a {
  font-size: 13px !important;
  font-weight: 800 !important;
}

.esm-product-content p,
.esm-product-content li {
  font-size: 15px !important;
  line-height: 1.65 !important;
  max-width: 840px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.esm-product-content ul,
.esm-product-content ol {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Product meta alignment */
.esm-product-summary .product_meta {
  text-align: center !important;
  font-size: 13px !important;
  color: var(--muted) !important;
  margin-top: 12px !important;
}

.esm-product-summary .product_meta a {
  color: var(--blue-2) !important;
}

/* Responsive */
@media (max-width: 980px) {
  .esm-product-layout {
    grid-template-columns: 1fr !important;
  }

  .esm-product-media,
  .esm-product-summary {
    min-height: 0 !important;
  }

  .esm-product-media .woocommerce-product-gallery__image img {
    max-height: 520px !important;
  }
}

@media (max-width: 620px) {
  .esm-product-summary h1.product_title,
  .woocommerce div.product .product_title,
  .esm-wc-product-single h1 {
    font-size: clamp(22px, 7vw, 30px) !important;
  }

  .esm-product-actions form.cart {
    grid-template-columns: 1fr !important;
  }

  .esm-product-trust {
    grid-template-columns: 1fr !important;
  }

  .esm-product-content {
    padding: 20px !important;
  }
}

/* v3.3 Customizer Font + Color Controls */
:root{
  --border-color:var(--blue-2);
  --sale-color:#f97316;
  --button-text:#ffffff;
  --esm-font-base:16px;
  --esm-font-nav:14px;
  --esm-font-h1:54px;
  --esm-font-h2:38px;
  --esm-font-h3:23px;
  --esm-font-product-title:32px;
  --esm-font-product-content-heading:28px;
}
body{font-size:var(--esm-font-base);}
.primary-menu a{font-size:var(--esm-font-nav)!important;}
.hero h1,.entry-content h1,.page-title,.entry-title{font-size:clamp(28px,5vw,var(--esm-font-h1))!important;}
.section-head h2,.entry-content h2{font-size:clamp(24px,4vw,var(--esm-font-h2))!important;}
.card h3,.entry-content h3,.service-detail-card h3{font-size:var(--esm-font-h3)!important;}
.btn-primary{color:var(--button-text)!important;}
.woocommerce span.onsale,.esm-wc-product-single span.onsale{background:var(--sale-color)!important;}
.esm-product-summary h1.product_title,.woocommerce div.product .product_title,.esm-wc-product-single h1{font-size:var(--esm-font-product-title)!important;}
.esm-product-content h1,.esm-product-content h2,.esm-product-content .woocommerce-Tabs-panel h2,.esm-product-content .woocommerce-tabs h2{font-size:var(--esm-font-product-content-heading)!important;}
.panel,.card,.content-panel,.esm-product-media,.esm-product-summary{border-color:color-mix(in srgb,var(--border-color) 24%,transparent)!important;}

/* v3.4 Header Menu / Cart Overlap Fix */
.topbar-inner{grid-template-columns:minmax(220px,300px) minmax(360px,1fr) auto!important;gap:18px!important;align-items:center!important}
.brand{min-width:0!important;max-width:300px!important;overflow:hidden!important}
.brand-logo{flex:0 0 auto!important;max-width:132px!important}
.brand-text{min-width:0!important;max-width:145px!important;overflow:hidden!important}
.brand-text strong,.brand-text span{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.brand-text strong{font-size:14px!important;line-height:1.15!important}
.brand-text span{font-size:10px!important;line-height:1.15!important;letter-spacing:1px!important}
.site-navigation{min-width:0!important;width:100%!important;justify-content:center!important;overflow:visible!important}
.primary-menu{max-width:100%!important;min-width:0!important;flex-wrap:nowrap!important;justify-content:center!important}
.primary-menu a{padding-left:10px!important;padding-right:10px!important;font-size:13px!important}
.nav-actions{position:relative!important;z-index:20!important;flex:0 0 auto!important;min-width:max-content!important;justify-self:end!important}
.cart-link{position:relative!important;z-index:21!important}
@media(max-width:1180px){.brand-text{max-width:118px!important}.nav-actions .btn-outline{display:none!important}.topbar-inner{grid-template-columns:minmax(200px,280px) minmax(300px,1fr) auto!important}}
@media(max-width:1040px){.topbar-inner{grid-template-columns:minmax(180px,1fr) auto!important}.brand{max-width:260px!important}.site-navigation{order:3!important;grid-column:1 / -1!important;justify-content:flex-start!important}.menu-toggle{display:inline-flex!important}.primary-menu{display:none!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important}.site-navigation.is-open .primary-menu,.primary-menu.is-open{display:flex!important}.nav-actions{grid-column:2!important;justify-self:end!important}}
@media(max-width:640px){.brand{max-width:210px!important}.brand-logo{max-width:112px!important}.brand-text{display:none!important}.nav-actions .btn-primary{display:none!important}}
