:root{--apm-navy:#022743;--apm-navy-2:#003b66;--apm-blue:#0075bd;--apm-blue-2:#0b9fe8;--apm-orange:#ff6b17;--apm-gold:#f7b52c;--apm-white:#fff;--apm-soft:#f4f7fb;--apm-border:#dbe7f1;--apm-text:#0c2234;--apm-muted:#607484;--apm-max:1320px}html,body{background:var(--apm-navy)}body.apm-theme{font-family:Arial,Helvetica,sans-serif;color:var(--apm-text)}.apm-site{min-height:100vh;background:linear-gradient(90deg,#041e33 0,#062b49 10%,#f6f8fb 10%,#f6f8fb 90%,#062b49 90%,#041e33 100%)}.apm-help-strip{background:var(--apm-orange);color:#fff;font-weight:700;text-align:center;padding:8px 16px;font-size:clamp(14px,1.3vw,18px)}.apm-help-strip a{color:#fff;text-decoration:underline}.apm-header{background:linear-gradient(#063f69,#012a49);color:#fff;padding:26px 0 0}.apm-header__inner{max-width:var(--apm-max);margin:0 auto;padding:0 24px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px}.apm-logo{color:var(--apm-gold);text-decoration:none;display:inline-flex;flex-direction:column;align-items:center;line-height:1}.apm-logo-roof{width:86px;height:20px;display:block;position:relative;margin-bottom:2px}.apm-logo-roof:before,.apm-logo-roof:after{content:"";position:absolute;top:8px;width:48px;height:7px;background:var(--apm-gold)}.apm-logo-roof:before{left:6px;transform:rotate(-25deg)}.apm-logo-roof:after{right:6px;transform:rotate(25deg)}.apm-logo-text{font-family:Georgia,serif;text-transform:uppercase;letter-spacing:2px;font-size:clamp(27px,3vw,38px);color:var(--apm-gold)}.apm-logo-text span{font-size:.78em}.apm-logo small{color:#fff;font-style:italic;font-size:12px;margin-top:4px}.apm-header-tools{text-align:right;display:grid;gap:7px}.apm-search{display:flex;justify-content:flex-end}.apm-search input{border:0;padding:9px 12px;min-width:250px}.apm-search button{border:0;background:var(--apm-blue-2);color:#fff;font-weight:700;padding:9px 16px}.apm-phone{font-weight:700}.apm-utility{display:flex;gap:14px;justify-content:flex-end;font-size:13px}.apm-utility a{color:#fff;text-decoration:none}.apm-nav{max-width:var(--apm-max);margin:0 auto;padding:0 24px}.apm-nav-list{display:flex;align-items:stretch;list-style:none;margin:0;padding:0;background:#063b65}.apm-nav-list>li{position:relative}.apm-nav-list>li>a{display:block;color:#fff;text-decoration:none;text-transform:uppercase;font-weight:800;padding:15px 14px;border-right:1px solid rgba(255,255,255,.18);white-space:nowrap}.apm-nav-list>li:hover>a,.apm-nav-list>li:focus-within>a{background:#08a5ef}.apm-mega-menu{position:absolute;top:100%;left:0;width:430px;background:linear-gradient(#08a5ef,#0969aa);display:none;grid-template-columns:1fr 1fr;gap:0;padding:10px;z-index:99;box-shadow:0 18px 40px rgba(0,0,0,.24)}.has-mega:hover .apm-mega-menu,.has-mega:focus-within .apm-mega-menu,.has-mega.is-open .apm-mega-menu{display:grid}.apm-mega-menu a{color:#fff;text-decoration:none;padding:8px 10px;font-size:14px}.apm-mega-menu a:hover{background:rgba(255,255,255,.18)}.apm-main{max-width:var(--apm-max);margin:0 auto;background:#fff;min-height:600px;padding:24px}.apm-home-hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:0;background:var(--apm-blue)}.apm-hero-image,.apm-hero-placeholder{position:relative;min-height:480px;display:block;overflow:hidden;color:#fff}.apm-hero-image img{width:100%;height:100%;min-height:480px;object-fit:cover;display:block}.apm-plan-badge{position:absolute;top:24px;left:24px;background:var(--apm-orange);color:#fff;font-size:24px;font-weight:800;padding:12px 18px}.apm-hero-caption{position:absolute;left:28px;bottom:28px;right:28px;color:#fff;font-weight:900;font-size:clamp(24px,3vw,36px);line-height:1.1;text-shadow:0 2px 16px rgba(0,0,0,.7)}.apm-home-search{padding:24px;background:linear-gradient(#0fa9ef,#076eb5);color:#fff}.apm-home-search form{display:grid;gap:16px}.apm-home-search select,.apm-home-search button{width:100%;padding:16px;border-radius:4px;border:1px solid rgba(255,255,255,.35);font-size:18px;font-weight:700}.apm-home-search button{background:#063b65;color:#fff;text-transform:uppercase}.apm-featured-link{display:block;margin-top:22px;min-height:150px;background:rgba(0,0,0,.25);color:#fff;text-decoration:none;padding:24px;font-size:28px;text-transform:uppercase;font-weight:900}.apm-featured-link span,.apm-featured-link strong{display:block}.apm-popular-strip{background:#086eb5;color:#fff;padding:20px}.apm-popular-strip header{display:flex;justify-content:space-between;align-items:center}.apm-popular-strip h2,.apm-home-categories h2,.apm-home-links h2{margin:0 0 18px}.apm-popular-strip a{color:#fff}.apm-scroll-row{display:grid;grid-auto-flow:column;grid-auto-columns:230px;overflow-x:auto;gap:16px;padding-bottom:8px}.apm-plan-card{background:#fff;border:1px solid var(--apm-border);padding:16px;text-align:center;min-height:100%;transition:transform .15s ease,box-shadow .15s ease}.apm-plan-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(5,39,67,.12)}.apm-plan-card__image{display:block;aspect-ratio:4/3;background:#edf3f8;margin-bottom:12px}.apm-plan-card img{width:100%;height:100%;object-fit:cover}.apm-plan-card h3{font-size:15px;margin:0 0 8px}.apm-plan-card h3 a{color:var(--apm-blue);text-decoration:none}.apm-card-specs{display:grid;gap:3px;color:#111;font-size:13px}.apm-home-categories,.apm-home-links{padding:34px 0}.apm-category-grid{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #95a8ff}.apm-category-tile{border:1px solid #95a8ff;text-align:center;padding:18px}.apm-category-tile a{color:#001c34;display:grid;gap:8px}.apm-category-tile img,.apm-tile-placeholder{width:230px;height:140px;max-width:100%;object-fit:cover;background:linear-gradient(135deg,#dfeaf4,#f7fafc);justify-self:center}.apm-link-columns{columns:3 260px}.apm-link-columns a{display:block;margin-bottom:7px;color:#001c34}.apm-product-wrap,.apm-archive-wrap,.apm-page-wrap{max-width:var(--apm-max);margin:0 auto}.apm-breadcrumbs{margin-bottom:18px;color:var(--apm-muted)}.apm-product-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.8fr) 300px;gap:28px;align-items:start}.apm-main-plan-image img{width:100%;height:auto;display:block}.apm-gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:12px}.apm-gallery-grid a{border:1px solid var(--apm-border);padding:8px}.apm-product-summary h1{color:var(--apm-blue);font-size:24px;margin-top:0}.apm-product-actions-small{display:grid;gap:6px;margin-bottom:14px}.apm-product-actions-small a{color:#002d52}.apm-price{font-size:22px;font-weight:800;margin:14px 0}.apm-quick-overview h2,.apm-product-tabs h2{font-size:16px;text-transform:uppercase;margin-top:24px}.apm-spec-pills{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.apm-spec-pills span{background:var(--apm-soft);border:1px solid var(--apm-border);padding:7px 10px;border-radius:20px;font-weight:700;font-size:13px}.apm-purchase-box{border:1px solid var(--apm-border);background:#f7fafc;padding:18px}.apm-product-ctas{display:grid;gap:12px}.apm-product-ctas a{display:block;background:#064b82;color:#fff;padding:16px;text-align:center;text-transform:uppercase;font-weight:900;border-radius:6px;text-decoration:none}.apm-product-ctas .apm-ai-mod{background:var(--apm-orange)}.apm-product-tabs{margin-top:36px;max-width:980px}.apm-spec-table{width:100%;border-collapse:collapse}.apm-spec-table th,.apm-spec-table td{border:1px solid var(--apm-border);padding:10px;text-align:left}.apm-spec-table th{width:260px;background:#f7fafc}.apm-product-cats{margin-top:20px}.apm-archive-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.apm-archive-header{background:linear-gradient(#064b82,#063b65);color:#fff;padding:18px 22px;margin-bottom:0}.apm-archive-header h1{margin:0;font-size:22px;text-transform:uppercase}.apm-archive-tools{display:flex;justify-content:space-between;gap:12px;background:#087cca;color:#fff;padding:12px 16px;margin-bottom:18px}.apm-archive-main ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding:0}.apm-filter-panel{background:linear-gradient(#0ba8ef,#076eb5);color:#fff;padding:22px}.apm-filter-panel h3{margin-top:0;text-transform:uppercase}.apm-filter-group{margin:20px 0}.apm-filter-group h4{margin:0 0 8px}.apm-filter-group a,.apm-filter-group label{display:block;color:#fff;text-decoration:none;font-size:14px;margin-bottom:5px}.apm-page-wrap{max-width:980px;padding:30px 0}.apm-page-header h1{color:var(--apm-navy-2)}.apm-footer{background:var(--apm-navy);color:#fff;padding:36px 24px}.apm-footer__inner{max-width:var(--apm-max);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:30px}.apm-footer a{color:#fff;text-decoration:none}.apm-footer ul{list-style:none;padding:0;margin:0}.apm-footer h4{color:#fff;margin:0 0 12px}.apm-footer-bottom{max-width:var(--apm-max);margin:30px auto 0;text-align:center;color:#77bce6}.apm-payments{display:inline-block;background:#fff;color:#0a2e4b;padding:14px 28px;border-radius:4px;margin-bottom:20px;font-weight:800}@media(max-width:1100px){.apm-header__inner,.apm-product-detail,.apm-archive-wrap,.apm-home-hero{grid-template-columns:1fr;display:grid}.apm-header__inner{text-align:center}.apm-header-tools,.apm-utility,.apm-search{justify-content:center;text-align:center}.apm-nav-list{overflow-x:auto}.apm-category-grid,.apm-archive-main ul.products{grid-template-columns:repeat(2,1fr)}.apm-footer__inner{grid-template-columns:repeat(2,1fr)}.apm-site{background:#f6f8fb}}@media(max-width:700px){.apm-main{padding:14px}.apm-category-grid,.apm-archive-main ul.products,.apm-footer__inner{grid-template-columns:1fr}.apm-search input{min-width:0;width:100%}.apm-product-detail{gap:18px}}

/* v0.1.2 product-page refinements */
.apm-main-plan-image a,
.apm-gallery-thumb {
  display: block;
  cursor: zoom-in;
}

.apm-main-plan-image img {
  border: 1px solid var(--apm-border);
  background: #fff;
}

.apm-gallery-grid {
  align-items: stretch;
}

.apm-gallery-thumb {
  min-height: 142px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.apm-gallery-thumb:hover {
  border-color: var(--apm-blue);
  box-shadow: 0 8px 22px rgba(5,39,67,.12);
  transform: translateY(-1px);
}

.apm-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apm-purchase-box {
  border: 1px solid #d8e6f2;
  background: linear-gradient(#f8fbfe, #f0f6fb);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(6,75,130,.08);
}

.apm-purchase-box h2 {
  margin: 0 0 16px;
  color: var(--apm-navy-2);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.apm-purchase-box form.cart,
.apm-purchase-box .cart {
  display: grid;
  gap: 14px;
}

.apm-purchase-box table.variations {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin: 0;
}

.apm-purchase-box table.variations th,
.apm-purchase-box table.variations td {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
}

.apm-purchase-box table.variations label {
  font-weight: 800;
  color: var(--apm-navy);
  margin-bottom: 6px;
  display: block;
}

.apm-purchase-box select,
.apm-purchase-box input.qty {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #b9cfe1;
  border-radius: 5px;
  background: #fff;
}

.apm-purchase-box .single_variation_wrap,
.apm-purchase-box .woocommerce-variation-add-to-cart {
  display: grid;
  gap: 12px;
}

.apm-purchase-box .woocommerce-variation-price,
.apm-purchase-box .price {
  color: var(--apm-navy);
  font-size: 22px;
  font-weight: 900;
}

.apm-purchase-box button.single_add_to_cart_button,
.apm-purchase-box .single_add_to_cart_button {
  background: var(--apm-blue);
  border: 0;
  color: #fff;
  padding: 13px 20px;
  border-radius: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.apm-purchase-box button.single_add_to_cart_button:hover,
.apm-purchase-box .single_add_to_cart_button:hover {
  background: var(--apm-navy-2);
}

.apm-spec-table p {
  margin: 0 0 .55em;
}

.apm-spec-table p:last-child {
  margin-bottom: 0;
}

.apm-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 16, 29, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}

.apm-lightbox-overlay img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
}

.apm-lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--apm-navy);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

body.apm-lightbox-open {
  overflow: hidden;
}


/* v0.1.3 product-page refinements */
.apm-product-detail {
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .78fr);
}

.apm-product-ctas-row {
  margin: 22px 0 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.apm-product-ctas-row a {
  min-height: auto;
  padding: 12px 10px;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 5px;
}

.apm-purchase-box .quantity,
.apm-purchase-box input.qty,
.apm-purchase-box .qty {
  display: none !important;
}

.apm-ordering-comments {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: #fff8e8;
  border: 1px solid #ecd89d;
  border-radius: 6px;
  color: #3b2c16;
  font-size: 14px;
  line-height: 1.55;
}

.apm-ordering-comments p {
  margin: 0;
}

.apm-product-tabs {
  max-width: 1000px;
}

@media (max-width: 1100px) {
  .apm-product-detail {
    grid-template-columns: 1fr;
  }

  .apm-product-ctas-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .apm-product-ctas-row {
    grid-template-columns: 1fr;
  }
}


/* v0.1.4 cleanup */
.apm-product-detail > .apm-product-ctas {
  display: none !important;
}

.apm-product-ctas-row {
  display: grid !important;
}


/* v0.1.7 legacy style/category pages */
.apm-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.apm-legacy-style-archive .apm-breadcrumbs {
  margin-bottom: 14px;
}

.apm-pagination {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.apm-pagination a,
.apm-pagination span {
  display: inline-block;
  padding: 8px 11px;
  border: 1px solid var(--apm-border);
  background: #fff;
  text-decoration: none;
}

.apm-pagination .current {
  background: var(--apm-blue);
  color: #fff;
  border-color: var(--apm-blue);
}

@media (max-width: 1100px) {
  .apm-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .apm-products-grid {
    grid-template-columns: 1fr;
  }
}


/* v0.2.1 legacy content fallback */
.apm-contact-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--apm-border);
  background: #f7fafc;
  border-radius: 8px;
}

.apm-blog-list {
  display: grid;
  gap: 18px;
}

.apm-blog-item {
  padding: 18px;
  border: 1px solid var(--apm-border);
  background: #fff;
  border-radius: 8px;
}

.apm-blog-item h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.apm-blog-meta {
  color: var(--apm-muted);
  margin-bottom: 10px;
  font-size: 13px;
}


/* v0.2.2 homepage/gutter refinements */
.apm-site {
  background: var(--apm-navy);
}

.apm-main {
  padding-left: 3px;
  padding-right: 3px;
}

.apm-home .apm-main {
  padding-top: 0;
}

.apm-home-hero,
.apm-popular-strip {
  margin-left: 0;
  margin-right: 0;
}

.apm-page-wrap,
.apm-product-wrap,
.apm-archive-wrap {
  padding-left: 21px;
  padding-right: 21px;
}

/* Keep old-page content readable even after reducing global side gutters. */
.apm-home .apm-page-wrap,
.apm-home .apm-product-wrap,
.apm-home .apm-archive-wrap {
  padding-left: 0;
  padding-right: 0;
}


/* v0.2.5 archive/search card fixes - safe rebuild */
.apm-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.apm-products-grid .apm-plan-card,
.apm-archive-main .apm-plan-card {
  min-height: 270px;
}

.apm-plan-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fb;
  color: #6c7d8a;
  font-size: 13px;
  border: 1px dashed #c8d8e6;
}

.apm-card-specs span {
  display: block;
  line-height: 1.28;
}

@media (max-width: 1100px) {
  .apm-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .apm-products-grid {
    grid-template-columns: 1fr;
  }
}


/* v0.2.7 legacy Magento search results */
.apm-legacy-search-results .apm-breadcrumbs {
  margin-bottom: 14px;
}

.apm-legacy-search-results select {
  padding: 4px 8px;
}


/* v0.3.1 homepage exclusive/category tile fixes */
.apm-category-tile img,
.apm-tile-placeholder {
  display: block;
  width: 230px;
  height: 140px;
  max-width: 100%;
  object-fit: cover;
  justify-self: center;
}

.apm-tile-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#dfeaf4,#f7fafc);
  color: #6c7d8a;
  font-size: 13px;
  border: 1px dashed #c8d8e6;
}

.apm-popular-strip h2 {
  color: #0c2234;
}


/* v0.3.2 designer archive support */
.apm-legacy-designer-archive .apm-breadcrumbs {
  margin-bottom: 14px;
}


/* v0.3.3 archive header and pagination polish */
.apm-archive-breadcrumbs {
  font-size: 13px;
  color: #4f6474;
  margin: 0 0 10px;
  padding: 10px 0 4px;
}

.apm-archive-breadcrumbs a {
  color: #006ea8;
  text-decoration: none;
}

.apm-archive-breadcrumbs a:hover {
  text-decoration: underline;
}

.apm-breadcrumb-sep {
  color: #93a4b0;
  padding: 0 7px;
}

.apm-polished-archive-header {
  background: linear-gradient(180deg, #074d7c 0%, #063a60 100%);
  border: 0;
  padding: 16px 20px;
  margin: 0;
}

.apm-polished-archive-header h1,
.apm-polished-archive-header .page-title {
  color: #ffffff !important;
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.apm-polished-archive-tools {
  background: linear-gradient(180deg, #1392d2 0%, #087bb8 100%);
  color: #ffffff;
  padding: 12px 16px;
  margin: 0 0 18px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.apm-polished-archive-tools a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.apm-polished-archive-tools a:hover {
  text-decoration: underline;
}

.apm-polished-archive-tools strong {
  background: rgba(255,255,255,.18);
  border-radius: 3px;
  padding: 2px 6px;
}

.apm-pagination,
.woocommerce-pagination {
  justify-content: center !important;
  text-align: center;
  margin: 28px auto 8px;
}

.apm-pagination .page-numbers,
.woocommerce-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
}

.apm-pagination ul.page-numbers,
.woocommerce-pagination ul.page-numbers {
  justify-content: center;
  width: 100%;
  border: 0;
}

.apm-pagination a,
.apm-pagination span,
.woocommerce-pagination a,
.woocommerce-pagination span {
  min-width: 38px;
  text-align: center;
  border-radius: 3px;
}

@media (max-width: 700px) {
  .apm-polished-archive-tools {
    align-items: flex-start;
    flex-direction: column;
  }
}
