/*
Theme Name: Pettus Shipping Theme
Theme URI: https://ezpacknshipstore.com/
Author: Pettus
Description: Custom EZ Pack n Ship Store theme with Pettus Plugins shipping calculator integration and Trade Show Logistics.
Version: 1.0.10
Text Domain: pettus-shipping-theme
*/

:root{
  --pst-brand:#2f77ff;--pst-brand2:#63a8ff;--pst-cyan:#71dcff;--pst-purple:#918fff;
  --pst-text:#13233d;--pst-muted:#627590;--pst-line:rgba(54,118,255,.10);--pst-line2:rgba(54,118,255,.16);
  --pst-bg:#fbfdff;--pst-bg2:#eff6ff;--pst-card:rgba(255,255,255,.86);
  --pst-shadow:0 24px 70px rgba(42,97,191,.10);--pst-soft:0 12px 28px rgba(24,72,145,.08);--pst-r:28px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}html,body{margin:0;padding:0}body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--pst-text);background:linear-gradient(180deg,#fbfdff 0%,#eff6ff 45%,#fbfdff 100%);overflow-x:hidden}.pst-wrap{max-width:1220px;margin:0 auto;padding:0 22px;position:relative;z-index:2}.pst-wide{max-width:1400px}.pst-kicker{display:inline-block;margin-bottom:14px;font-size:12px;line-height:1;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:#4c84ff}.pst-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 20px;border-radius:16px;text-decoration:none;font-size:15px;font-weight:800;transition:.18s ease;border:0;cursor:pointer;font-family:inherit}.pst-btn:hover{transform:translateY(-2px)}.pst-btn-primary{color:#fff;background:linear-gradient(135deg,var(--pst-brand) 0%,var(--pst-brand2) 56%,var(--pst-cyan) 100%);box-shadow:0 18px 36px rgba(47,119,255,.18)}.pst-btn-secondary{color:#2c61ce;background:#fff;border:1px solid var(--pst-line2);box-shadow:var(--pst-soft)}.pst-btn-ghost{color:var(--pst-text);background:rgba(255,255,255,.75);border:1px solid var(--pst-line);box-shadow:var(--pst-soft)}
.pst-header{position:sticky;top:0;z-index:9999;background:rgba(255,255,255,.93);backdrop-filter:blur(18px);border-bottom:1px solid rgba(54,118,255,.08)}.pst-header-inner{min-height:60px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:28px}.pst-brand{text-decoration:none;color:var(--pst-text);font-weight:900;font-size:20px;letter-spacing:-.03em;white-space:nowrap;margin-right:10px}.pst-nav-wrap{display:flex;justify-content:center;min-width:0}.pst-nav{display:flex;align-items:center;gap:2px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.84);border:1px solid var(--pst-line);box-shadow:0 10px 24px rgba(24,72,145,.06)}.pst-nav a{position:relative;color:var(--pst-text);text-decoration:none;font-weight:700;font-size:12.5px;padding:10px 9px;border-radius:999px;white-space:nowrap}.pst-nav a:hover,.pst-nav a.is-active{background:rgba(47,119,255,.09);color:var(--pst-brand)}.pst-nav a:not(:last-child)::after{content:"";position:absolute;right:-1px;top:50%;transform:translateY(-50%);width:1px;height:16px;background:var(--pst-line)}.pst-menu-toggle{display:none;border:0;background:#fff;color:var(--pst-text);width:46px;height:46px;border-radius:14px;box-shadow:var(--pst-soft);font-size:20px;cursor:pointer}.pst-mobile-menu{display:none;background:#fff;border-top:1px solid var(--pst-line);padding:12px 22px 18px}.pst-mobile-menu a{display:block;padding:12px 4px;color:var(--pst-text);text-decoration:none;font-weight:700;border-bottom:1px solid rgba(54,118,255,.07)}.pst-mobile-menu.open{display:block}
/* v1.0.4 header spacing + My Account submenu */
.pst-account-menu{position:relative;display:flex;align-items:center}
.pst-account-link{display:flex!important;align-items:center;gap:5px}
.pst-account-caret{font-size:10px;line-height:1;transition:transform .15s ease}
.pst-account-menu:hover .pst-account-caret,.pst-account-menu:focus-within .pst-account-caret{transform:rotate(180deg)}
.pst-account-submenu{position:absolute;top:calc(100% + 8px);right:0;min-width:170px;padding:7px;background:#fff;border:1px solid var(--pst-line);border-radius:14px;box-shadow:0 16px 40px rgba(24,72,145,.14);opacity:0;visibility:hidden;transform:translateY(-5px);transition:.15s ease;z-index:10020}
.pst-account-submenu:before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.pst-account-menu:hover .pst-account-submenu,.pst-account-menu:focus-within .pst-account-submenu{opacity:1;visibility:visible;transform:translateY(0)}
.pst-nav .pst-account-submenu a{display:block;padding:10px 12px;border-radius:9px;font-size:12.5px}
.pst-nav .pst-account-submenu a:after{display:none!important}
.pst-mobile-menu .pst-mobile-sub{padding-left:22px;font-size:13px;color:var(--pst-muted)}

.pst-hero{position:relative;padding:68px 0 54px;background:radial-gradient(circle at top left,rgba(113,220,255,.14),transparent 18%),radial-gradient(circle at top right,rgba(145,143,255,.10),transparent 22%)}.pst-hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:34px;align-items:center}.pst-hero h1{margin:0 0 18px;font-size:68px;line-height:.96;letter-spacing:-.055em;font-weight:900}.pst-lead{margin:0 0 26px;font-size:19px;line-height:1.85;color:var(--pst-muted);max-width:760px}.pst-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.pst-chips{display:flex;gap:10px;flex-wrap:wrap}.pst-chip{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;border-radius:999px;border:1px solid var(--pst-line);background:rgba(255,255,255,.88);color:#385173;font-size:14px;font-weight:600;box-shadow:var(--pst-soft)}
.pst-card{background:var(--pst-card);border:1px solid var(--pst-line);border-radius:var(--pst-r);box-shadow:var(--pst-shadow);backdrop-filter:blur(16px)}.pst-hero-card{padding:30px;position:relative;overflow:hidden}.pst-hero-card:before,.pst-accent:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--pst-cyan),var(--pst-brand),var(--pst-purple))}.pst-badge{display:inline-block;margin-bottom:14px;padding:9px 13px;border-radius:999px;background:rgba(88,148,255,.10);border:1px solid rgba(88,148,255,.12);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#3d71da}.pst-snapshot{display:grid;gap:14px}.pst-snapshot-item{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:18px;background:rgba(248,251,255,.96);border:1px solid var(--pst-line)}.pst-snapshot-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#fff;border:1px solid var(--pst-line);box-shadow:var(--pst-soft);flex:0 0 auto;font-size:18px}.pst-snapshot-item strong{display:block;margin-bottom:4px;font-size:16px}.pst-snapshot-item p{margin:0;color:var(--pst-muted);font-size:14px;line-height:1.65}
.pst-section{padding:82px 0}.pst-section-soft{background:linear-gradient(180deg,rgba(255,255,255,.58),rgba(241,247,255,.96));border-top:1px solid rgba(54,118,255,.05);border-bottom:1px solid rgba(54,118,255,.05)}.pst-section-head{max-width:850px;margin:0 auto 36px;text-align:center}.pst-section-head h2{margin:0 0 12px;font-size:44px;line-height:1.04;letter-spacing:-.04em;font-weight:900}.pst-section-head p{margin:0;color:var(--pst-muted);font-size:17px;line-height:1.8}.pst-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.pst-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.pst-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.pst-service,.pst-feature,.pst-step{padding:24px;height:100%}.pst-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;border-radius:18px;margin-bottom:15px;font-size:24px;background:linear-gradient(180deg,#fff,#edf7ff);border:1px solid var(--pst-line);box-shadow:var(--pst-soft)}.pst-service h3,.pst-feature h3,.pst-step h3{margin:0 0 10px;font-size:22px;font-weight:800}.pst-service p,.pst-feature p,.pst-step p{margin:0;color:var(--pst-muted);line-height:1.78}.pst-step-num{font-size:12px;font-weight:900;color:var(--pst-brand);letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px}
.pst-callout{padding:34px;position:relative;overflow:hidden}.pst-callout h2{font-size:38px;line-height:1.05;letter-spacing:-.035em;margin:0 0 14px}.pst-callout p{color:var(--pst-muted);font-size:17px;line-height:1.8;margin:0 0 16px}.pst-promise{text-align:center;font-size:22px;font-weight:900;letter-spacing:.03em;color:var(--pst-brand);margin-top:28px}
.pst-form{padding:30px;position:relative;overflow:hidden}.pst-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pst-field{display:grid;gap:7px}.pst-field.full{grid-column:1/-1}.pst-field label{font-size:14px;font-weight:800}.pst-field input,.pst-field select,.pst-field textarea{width:100%;border:1px solid var(--pst-line2);background:#fff;border-radius:12px;padding:13px 14px;font:inherit;color:var(--pst-text)}.pst-field textarea{min-height:130px;resize:vertical}.pst-form-note{font-size:13px;color:var(--pst-muted);margin-top:12px}.pst-alert{padding:14px 16px;border-radius:12px;margin-bottom:18px;font-weight:700}.pst-alert-success{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}.pst-alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.pst-plugin-shell{position:relative;padding:28px}.pst-plugin-shell .pmw2-wrap{max-width:100%!important;width:100%!important;margin:0 auto!important}.pst-plugin-shell input,.pst-plugin-shell select,.pst-plugin-shell textarea{border-radius:12px!important;border:1px solid var(--pst-line2)!important;background:#fff!important;color:var(--pst-text)!important}.pst-plugin-shell button,.pst-plugin-shell input[type=submit],.pst-plugin-shell .pmw2-btn{border-radius:14px!important;background:linear-gradient(135deg,var(--pst-brand),var(--pst-brand2) 56%,var(--pst-cyan))!important;color:#fff!important;border:none!important;font-weight:800!important}
.pst-faq{max-width:920px;margin:0 auto;display:grid;gap:14px}.pst-faq details{overflow:hidden}.pst-faq summary{list-style:none;cursor:pointer;padding:20px 22px;font-size:18px;font-weight:800;position:relative}.pst-faq summary::-webkit-details-marker{display:none}.pst-faq summary:after{content:"+";position:absolute;right:22px;font-size:24px;color:var(--pst-brand)}.pst-faq details[open] summary:after{content:"–"}.pst-faq p{margin:0;padding:0 22px 20px;color:var(--pst-muted);line-height:1.8}
.pst-footer-cta{padding:32px 0 0}.pst-footer-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px}.pst-footer-cta h2{margin:0 0 10px;font-size:42px;line-height:1.03;letter-spacing:-.04em}.pst-footer-cta p{margin:0;color:var(--pst-muted);font-size:17px;line-height:1.8}.pst-footer{padding:62px 0 34px}.pst-footer-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(220px,.7fr) minmax(300px,1fr) minmax(300px,1fr);gap:48px;align-items:start;padding:10px 0 34px}.pst-footer h3{font-size:30px;margin:0 0 14px;letter-spacing:-.03em}.pst-footer h4{font-size:20px;margin:0 0 16px}.pst-footer p,.pst-footer li,.pst-footer a{color:var(--pst-muted);line-height:1.75}.pst-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}.pst-footer a{text-decoration:none}.pst-footer a:hover{color:var(--pst-brand)}.pst-footer-bottom{border-top:1px solid rgba(54,118,255,.08);padding-top:22px}.pst-footer-bottom p{margin:0;font-size:14px}
.pst-page{min-height:55vh}.pst-simple-content{padding:70px 0}.pst-simple-content .entry-content{background:#fff;border:1px solid var(--pst-line);border-radius:24px;padding:30px;box-shadow:var(--pst-soft)}
@media(max-width:1120px){.pst-nav a{font-size:11.5px;padding:9px 7px}.pst-header .pst-btn{display:none}.pst-grid-4{grid-template-columns:repeat(2,1fr)}.pst-footer-grid{grid-template-columns:1fr 1fr}.pst-footer-grid>div:first-child{grid-column:1/-1}.pst-hero h1{font-size:56px}}
@media(max-width:980px){.pst-nav-wrap,.pst-header .pst-actions{display:none}.pst-header-inner{grid-template-columns:auto auto;justify-content:space-between}.pst-menu-toggle{display:block}.pst-hero-grid,.pst-grid-2,.pst-grid-3,.pst-footer-grid{grid-template-columns:1fr}.pst-footer-grid>div:first-child{grid-column:auto}.pst-footer-cta-inner{flex-direction:column;align-items:flex-start}.pst-hero h1{font-size:48px}}
@media(max-width:640px){.pst-wrap{padding:0 16px}.pst-hero{padding:50px 0 40px}.pst-hero h1{font-size:38px}.pst-lead{font-size:17px}.pst-section{padding:64px 0}.pst-section-head h2{font-size:31px}.pst-grid-4{grid-template-columns:1fr}.pst-actions{flex-direction:column}.pst-btn{width:100%}.pst-chip{width:100%;justify-content:center}.pst-form-grid{grid-template-columns:1fr}.pst-field.full{grid-column:auto}.pst-plugin-shell{padding:18px}.pst-footer-cta h2{font-size:31px}}


/* ==========================================================
   PETTUS PLUGINS CALCULATOR NORMALIZATION
   Theme presentation only. The calculator functionality stays
   inside the [pettus-shipping] shortcode/plugin.
   ========================================================== */
body.page-slug-shipping-calculator .calc2026-header,
body.page-slug-shipping-calculator .site-header-master,
body.page-slug-shipping-calculator .ezp-nav{display:none!important;}

.pst-plugin-shell{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:32px!important;
  overflow:visible;
}
.pst-plugin-shell form,
.pst-plugin-shell .pmw2-wrap,
.pst-plugin-shell .pspx-wrap{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.pst-plugin-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
.pst-plugin-shell select,
.pst-plugin-shell textarea{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  padding:10px 12px!important;
  font-size:15px!important;
  line-height:1.3!important;
  display:block!important;
}
.pst-plugin-shell textarea{min-height:120px!important;}
.pst-plugin-shell label{
  display:block!important;
  width:100%!important;
  margin:0 0 7px!important;
  font-size:14px!important;
  font-weight:700!important;
  color:var(--pst-text)!important;
}
.pst-plugin-shell h2{
  font-size:30px!important;
  line-height:1.15!important;
  margin:28px 0 20px!important;
  color:var(--pst-text)!important;
}
.pst-plugin-shell h2:first-child{margin-top:0!important;}
.pst-plugin-shell h3{color:var(--pst-text)!important;}
.pst-plugin-shell .pmw2-row,
.pst-plugin-shell .pspx-row,
.pst-plugin-shell .pettus-row,
.pst-plugin-shell .form-row,
.pst-plugin-shell .field-row{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px 22px!important;
  align-items:end!important;
}
.pst-plugin-shell .pmw2-field,
.pst-plugin-shell .pspx-field,
.pst-plugin-shell .pettus-field,
.pst-plugin-shell .form-field,
.pst-plugin-shell .field{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
.pst-plugin-shell button,
.pst-plugin-shell input[type="submit"],
.pst-plugin-shell .pmw2-btn,
.pst-plugin-shell .pspx-btn{
  min-height:46px!important;
  padding:0 22px!important;
  font-size:15px!important;
  cursor:pointer!important;
}
/* Preserve Google Places autocomplete over the calculator card. */
.pac-container{z-index:100000!important;}
@media(max-width:800px){
  .pst-plugin-shell{padding:22px!important;}
  .pst-plugin-shell .pmw2-row,
  .pst-plugin-shell .pspx-row,
  .pst-plugin-shell .pettus-row,
  .pst-plugin-shell .form-row,
  .pst-plugin-shell .field-row{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:560px){
  .pst-plugin-shell{padding:16px!important;}
  .pst-plugin-shell .pmw2-row,
  .pst-plugin-shell .pspx-row,
  .pst-plugin-shell .pettus-row,
  .pst-plugin-shell .form-row,
  .pst-plugin-shell .field-row{grid-template-columns:1fr!important;}
}

/* =========================================================
   v1.0.2 — LEGACY PAGE HEADER/FOOTER SUPPRESSION
   Existing Elementor pages were built as complete HTML pages and include
   their own navigation/footer. The Pettus Shipping Theme supplies those
   globally, so hide only the legacy embedded shell while keeping page body.
========================================================= */
body .elementor .ezp-nav,
body .elementor .calc2026-header,
body .elementor .site-header,
body .elementor .site-header-master,
body .elementor header.site-header,
body .elementor header.site-header-master,
body .elementor .ezp-footer,
body .elementor .calc2026-footer,
body .elementor footer.site-footer,
body .elementor .ct2026-footer{
  display:none!important;
}

/* =========================================================
   PETTUS SHIPPING PLUGIN — PRESENTATION ONLY
   Do not change plugin PHP/JS, field IDs, AJAX, EasyPost or Stripe logic.
   The shortcode remains [pettus-shipping].
========================================================= */
.pst-plugin-shell{
  padding:32px!important;
  overflow:visible!important;
}

.pst-plugin-shell #psp-shipping-calculator{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  color:var(--pst-text)!important;
  font-family:'Inter',system-ui,sans-serif!important;
}

.pst-plugin-shell #psp-shipping-form{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}

.pst-plugin-shell #psp-shipping-calculator h2{
  margin:30px 0 18px!important;
  padding:0!important;
  font-size:30px!important;
  line-height:1.15!important;
  letter-spacing:-.025em!important;
  font-weight:800!important;
  color:var(--pst-text)!important;
}
.pst-plugin-shell #psp-shipping-calculator h2:first-of-type{margin-top:0!important;}

.pst-plugin-shell #psp-shipping-calculator h3{
  margin:28px 0 14px!important;
  color:var(--pst-text)!important;
  font-size:22px!important;
  font-weight:800!important;
}

.pst-plugin-shell #psp-shipping-calculator .psp-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:flex-end!important;
  gap:16px 20px!important;
  margin:0 0 18px!important;
  width:100%!important;
}

.pst-plugin-shell #psp-shipping-calculator .psp-row > label{
  display:block!important;
  flex:1 1 220px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:var(--pst-text)!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:700!important;
}

.pst-plugin-shell #psp-shipping-calculator input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.pst-plugin-shell #psp-shipping-calculator select,
.pst-plugin-shell #psp-shipping-calculator textarea{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:48px!important;
  margin:7px 0 0!important;
  padding:10px 13px!important;
  border:1px solid rgba(54,118,255,.20)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--pst-text)!important;
  font:500 15px/1.3 'Inter',system-ui,sans-serif!important;
  box-shadow:0 1px 2px rgba(15,35,61,.03)!important;
  outline:none!important;
  box-sizing:border-box!important;
}

.pst-plugin-shell #psp-shipping-calculator select{
  appearance:auto!important;
  -webkit-appearance:auto!important;
}

.pst-plugin-shell #psp-shipping-calculator input:focus,
.pst-plugin-shell #psp-shipping-calculator select:focus,
.pst-plugin-shell #psp-shipping-calculator textarea:focus{
  border-color:var(--pst-brand)!important;
  box-shadow:0 0 0 3px rgba(47,119,255,.10)!important;
}

.pst-plugin-shell #psp_get_rates_btn,
.pst-plugin-shell #psp_buy_label_btn,
.pst-plugin-shell .psp-purchase-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:52px!important;
  min-width:220px!important;
  width:auto!important;
  max-width:100%!important;
  padding:0 26px!important;
  border:0!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,var(--pst-brand) 0%,var(--pst-brand2) 58%,var(--pst-cyan) 100%)!important;
  color:#fff!important;
  font:800 15px/1 'Inter',system-ui,sans-serif!important;
  white-space:nowrap!important;
  word-break:normal!important;
  box-shadow:0 14px 28px rgba(47,119,255,.17)!important;
  cursor:pointer!important;
  flex:0 0 auto!important;
}

.pst-plugin-shell #psp_rates_area{
  margin-top:28px!important;
  padding-top:8px!important;
}

.pst-plugin-shell #psp_rates_list .psp-rate-row{
  display:flex!important;
  gap:18px!important;
  align-items:center!important;
  justify-content:space-between!important;
  margin:0 0 12px!important;
  padding:18px!important;
  border:1px solid var(--pst-line)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:var(--pst-shadow-soft)!important;
}

.pst-plugin-shell #psp_rates_list .psp-rate-main{min-width:0!important;}
.pst-plugin-shell #psp_rates_list .psp-rate-meta{min-width:150px!important;}
.pst-plugin-shell #psp_error_area{
  margin-top:14px!important;
  padding:12px 14px!important;
  border-radius:10px!important;
  background:#fff5f5!important;
  font-weight:600!important;
}

@media(max-width:900px){
  .pst-plugin-shell #psp-shipping-calculator .psp-row > label{flex-basis:calc(50% - 10px)!important;}
}

@media(max-width:640px){
  .pst-plugin-shell{padding:18px!important;}
  .pst-plugin-shell #psp-shipping-calculator .psp-row{gap:14px!important;}
  .pst-plugin-shell #psp-shipping-calculator .psp-row > label{flex:1 1 100%!important;}
  .pst-plugin-shell #psp_rates_list .psp-rate-row{align-items:flex-start!important;flex-direction:column!important;}
  .pst-plugin-shell #psp_rates_list .psp-rate-meta{width:100%!important;min-width:0!important;text-align:left!important;}
}


/* =========================================================
   v1.0.3 — ONE HEADER / ONE FOOTER
   Legacy Elementor HTML widgets were originally built as complete pages.
   When Pettus Shipping Theme is active, navigation and footer markup inside
   Elementor content are never allowed to become a second site shell.
========================================================= */
body .elementor header,
body .elementor nav,
body .elementor footer,
body .elementor .ezp-nav,
body .elementor .calc2026-header,
body .elementor .site-header,
body .elementor .site-header-master,
body .elementor .ezp-footer,
body .elementor .calc2026-footer,
body .elementor .ct2026-footer,
body .elementor .site-footer{
  display:none!important;
}

/* The shipping plugin is laid out only when it is inside the dedicated
   theme calculator shell. These rules are presentation-only and do not
   rename, move, or replace any Pettus Shipping fields or JavaScript hooks. */
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:end!important;
  width:100%!important;
  margin:0 0 18px!important;
}
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row > label{
  grid-column:span 4!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  flex:none!important;
}
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row > label:only-child{
  grid-column:span 6!important;
}
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(2) > label,
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(3) > label,
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(6) > label,
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(7) > label{
  grid-column:span 6!important;
}
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-last-of-type(2) > label{
  grid-column:span 3!important;
}
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator select,
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator textarea{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
@media(max-width:800px){
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row > label:only-child,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(2) > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(3) > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(6) > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(7) > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-last-of-type(2) > label{
    grid-column:span 6!important;
  }
}
@media(max-width:560px){
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row > label:only-child,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(2) > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(3) > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(6) > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-of-type(7) > label,
  body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:nth-last-of-type(2) > label{
    grid-column:1/-1!important;
  }
}

.pst-nav .pst-account-link::after{display:none!important;}

@media(max-width:640px){
  .pst-plugin-shell #psp_get_rates_btn,
  .pst-plugin-shell #psp_buy_label_btn,
  .pst-plugin-shell .psp-purchase-btn{width:100%!important;min-width:0!important;}
}

/* =========================================================
   v1.0.6 — ACCOUNT / LOGIN PAGE SHELL
   These pages keep their existing plugin/Elementor form content, but the
   Pettus Shipping Theme owns the site header and footer.
========================================================= */
body.page-slug-my-account .pst-account-page,
body.page-slug-login-register .pst-account-page{
  min-height:420px;
  background:linear-gradient(180deg,#fbfdff 0%,#eef6ff 100%);
}
body.page-slug-my-account .pst-account-content,
body.page-slug-login-register .pst-account-content{
  width:100%;
  margin:0 auto;
}
/* Never hide the real theme shell. Only legacy shells inside page content. */
body.page-slug-my-account .pst-account-content .pst-header,
body.page-slug-login-register .pst-account-content .pst-header,
body.page-slug-my-account .pst-account-content .pst-footer,
body.page-slug-login-register .pst-account-content .pst-footer{
  display:none!important;
}


/* v1.0.7: remove the final legacy Elementor copyright strip on account pages. */
body.page-slug-my-account .pst-account-content [class*="copyright"],
body.page-slug-login-register .pst-account-content [class*="copyright"],
body.page-slug-my-account .pst-account-content .footer-copyright,
body.page-slug-login-register .pst-account-content .footer-copyright{display:none!important;}


/* =========================================================
   v1.0.8 — PETTUS PLUGIN-SAFE ACCOUNT + CALCULATOR CTA FIX
   Presentation only. Plugin PHP/JS/AJAX hooks remain untouched.
========================================================= */

/* Account pages now render Pettus Shipping Extras shortcodes directly. */
.pst-account-section{
  padding:64px 0 78px;
  min-height:560px;
  background:linear-gradient(180deg,#fbfdff 0%,#eef6ff 100%);
}
.pst-account-head{margin-bottom:28px!important;}
.pst-account-head h1{
  margin:0 0 12px;
  font-size:46px;
  line-height:1.05;
  letter-spacing:-.04em;
  color:var(--pst-text);
}
.pst-account-plugin-shell{
  max-width:980px;
  margin:0 auto;
}
.pst-account-plugin-shell .pspx-wrap{width:100%;}
.pst-account-plugin-shell .pspx-auth-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
}
.pst-account-plugin-shell .pspx-card{
  background:#fff!important;
  border:1px solid var(--pst-line)!important;
  border-radius:20px!important;
  padding:24px!important;
  box-shadow:var(--pst-shadow-soft)!important;
}
.pst-account-plugin-shell .pspx-card input[type="text"],
.pst-account-plugin-shell .pspx-card input[type="email"],
.pst-account-plugin-shell .pspx-card input[type="password"],
.pst-account-plugin-shell .pspx-card input[type="tel"],
.pst-account-plugin-shell .pspx-card select,
.pst-account-plugin-shell .pspx-card textarea{
  width:100%!important;
  min-height:46px!important;
  padding:10px 12px!important;
  border:1px solid var(--pst-line2)!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--pst-text)!important;
  box-sizing:border-box!important;
}
.pst-account-plugin-shell #pspx_login_btn,
.pst-account-plugin-shell input[type="submit"],
.pst-account-plugin-shell button[type="submit"]{
  width:100%!important;
  min-height:48px!important;
  padding:0 20px!important;
  border:0!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,var(--pst-brand),var(--pst-brand2) 58%,var(--pst-cyan))!important;
  color:#fff!important;
  font-weight:800!important;
  cursor:pointer!important;
}

/* The action row must not inherit the calculator's 12-column field grid. */
body.page-slug-shipping-calculator .pst-plugin-shell #psp-shipping-calculator .psp-row:has(#psp_get_rates_btn){
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
}
body.page-slug-shipping-calculator .pst-plugin-shell #psp_get_rates_btn{
  display:inline-flex!important;
  flex:0 0 auto!important;
  width:240px!important;
  min-width:240px!important;
  max-width:240px!important;
  min-height:54px!important;
  padding:0 24px!important;
  margin:0!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  line-height:1!important;
  font-size:15px!important;
  text-align:center!important;
}

@media(max-width:760px){
  .pst-account-plugin-shell .pspx-auth-grid{grid-template-columns:1fr!important;}
  .pst-account-head h1{font-size:34px;}
}
@media(max-width:640px){
  body.page-slug-shipping-calculator .pst-plugin-shell #psp_get_rates_btn{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}


/* v1.0.9 stronger account cleanup support + calculator CTA safety */
body.page-slug-shipping-calculator .pst-plugin-shell #psp_get_rates_btn{
  width:240px!important; min-width:240px!important; max-width:240px!important;
  display:block!important; height:56px!important; padding:16px 24px!important;
  white-space:nowrap!important; overflow:visible!important; line-height:1.1!important;
}
body.page-slug-shipping-calculator .pst-plugin-shell #psp_get_rates_btn span{white-space:nowrap!important;}
