/* ============ HEADER ============ */
.site-header-row-container.site-header-focus-item { border: 0; }
#main-header .site-header-row {
  border-bottom: 1px solid rgba(0,40,80,.10);
}
/* Air around the logo, top and bottom */
.site-branding { padding-top: 26px !important; padding-bottom: 26px !important; }
@media (max-width: 1024px) { .site-branding { padding-top: 16px !important; padding-bottom: 16px !important; } }

/* Nav: quieter, wider tracking, thin underline on hover */
.header-navigation .header-menu-container > ul > li > a {
  letter-spacing: .14em;
  font-size: 13px;
  position: relative;
}
.header-navigation .header-menu-container > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: #E86008; transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.header-navigation .header-menu-container > ul > li > a:hover::after,
.header-navigation .header-menu-container > ul > li.current-menu-item > a::after { transform: scaleX(1); }

/* Account + cart as quiet icons, not a shouty bar */
.header-account-button, .header-cart-button { color: #002850; }
.header-account-button:hover, .header-cart-button:hover { color: #E86008; }
.header-cart-total { background: #E86008 !important; color: #FFFDF8 !important; font-weight: 700; }

/* Sticky state gets a hairline shadow rather than a hard edge */
.site-header-row-container.item-is-fixed { box-shadow: 0 1px 0 rgba(0,40,80,.08), 0 8px 24px rgba(0,40,80,.06); }

/* ============ SHOP + CATEGORY ARCHIVES ============ */
.woocommerce ul.products li.product {
  background: #FFFDF8;
  border: 1px solid rgba(0,40,80,.08);
  border-radius: 3px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,40,80,.10);
  border-color: rgba(232,96,8,.35);
}
.woocommerce ul.products li.product img { display: block; width: 100%; height: auto; }
.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product .entry-content-wrap { padding: 1.15rem 1.25rem 1.4rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #002850; font-size: 1.02rem; font-weight: 700; margin: 0 0 .35rem; line-height: 1.35;
}
.woocommerce ul.products li.product .price { color: #55636D; font-size: .98rem; font-weight: 600; }
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  background: #002850; color: #FFFDF8; border-radius: 2px; font-size: .82rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.woocommerce ul.products li.product .button:hover { background: #E86008; color: #FFFDF8; }

/* Archive masthead */
.woocommerce .woocommerce-products-header,
.woocommerce-page .entry-hero .entry-header {
  background: #002850;
}
.entry-hero .entry-header .archive-title, .entry-hero .entry-title { color: #FFFDF8 !important; }
.entry-hero .entry-header .archive-description p, .entry-hero .entry-header .taxonomy-description p {
  color: #C9D6E2 !important;
}
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering select { color: #55636D; }

/* Category tiles on the shop page */
.woocommerce ul.products li.product-category a { display: block; }
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
  color: #002850; text-align: center; font-weight: 800; padding: 1.1rem .75rem 1.3rem; font-size: 1.05rem;
}
.woocommerce ul.products li.product-category mark.count { background: transparent; color: #E86008; font-weight: 700; }

/* ============ FOOTER ============ */
.site-footer, .site-footer-wrap { background: #002850 !important; }
.ie-footer { max-width: 1180px; margin: 0 auto; padding: 4.5rem 1.5rem 0; }
.ie-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem;
  padding-bottom: 3.25rem; border-bottom: 1px solid rgba(248,184,56,.22);
}
@media (max-width: 900px) { .ie-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .ie-footer__grid { grid-template-columns: 1fr; text-align: center; } }
.ie-footer__mark { width: 230px; max-width: 100%; height: auto; margin-bottom: 1.4rem; }
.ie-footer__blurb { color: #A9BCCB; font-size: .95rem; line-height: 1.75; margin: 0 0 1.4rem; max-width: 34ch; }
@media (max-width: 560px) { .ie-footer__blurb { margin-left: auto; margin-right: auto; } }
.ie-footer__h {
  color: #F8B838; font-size: .74rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; margin: 0 0 1.15rem;
}
.ie-footer__links { list-style: none; margin: 0; padding: 0; }
.ie-footer__links li { margin-bottom: .7rem; }
.ie-footer__links a { color: #DCE6EE; text-decoration: none; font-size: .95rem; transition: color .18s ease; }
.ie-footer__links a:hover { color: #F8B838; }
.ie-footer__social { display: flex; gap: .65rem; margin-top: 1.35rem; }
@media (max-width: 560px) { .ie-footer__social { justify-content: center; } }
.ie-footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(248,184,56,.35);
  display: flex; align-items: center; justify-content: center;
  color: #DCE6EE; transition: all .18s ease; text-decoration: none;
}
.ie-footer__social a:hover { background: #F8B838; border-color: #F8B838; color: #002850; }
.ie-footer__social svg { width: 17px; height: 17px; fill: currentColor; }
.ie-footer__note { color: #8DA3B5; font-size: .86rem; line-height: 1.7; margin: 0; }
.ie-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  padding: 1.6rem 0 2.2rem; flex-wrap: wrap;
}
@media (max-width: 700px) { .ie-footer__bottom { justify-content: center; text-align: center; } }
.ie-footer__copy { color: #7E93A6; font-size: .82rem; margin: 0; }
.ie-footer__legal a { color: #7E93A6; font-size: .82rem; text-decoration: none; margin-left: 1.35rem; }
.ie-footer__legal a:first-child { margin-left: 0; }
.ie-footer__legal a:hover { color: #F8B838; }
.ie-footer__pay { display: flex; gap: .5rem; align-items: center; }
.ie-footer__pay span {
  border: 1px solid rgba(255,255,255,.16); border-radius: 3px; padding: .28rem .55rem;
  color: #9FB3C4; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700;
}

/* ============ HOMEPAGE PRODUCT ROWS ============ */
.ie-row { padding: 5.5rem 1.5rem; }
.ie-row--cream { background: #F8F0E0; }
.ie-row--paper { background: #FFFDF8; }
.ie-row__inner { max-width: 1180px; margin: 0 auto; }
.ie-row__eyebrow {
  text-align: center; color: #E86008; font-size: .76rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; margin: 0 0 .8rem;
}
.ie-row__title {
  text-align: center; color: #002850; font-size: 2.4rem; font-weight: 800;
  line-height: 1.15; margin: 0 0 .9rem;
}
.ie-row__sub {
  text-align: center; color: #5A6670; font-size: 1.05rem; line-height: 1.7;
  max-width: 56ch; margin: 0 auto 3rem;
}
.ie-row__more { text-align: center; margin-top: 2.75rem; }
.ie-row__more a {
  display: inline-block; border: 1px solid #002850; color: #002850;
  padding: .95rem 2.4rem; border-radius: 2px; text-decoration: none;
  font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: all .18s ease;
}
.ie-row__more a:hover { background: #002850; color: #FFFDF8; }

/* ============ GRAVITY FORMS ============ */
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_footer button {
  background: #E86008 !important; color: #FFFDF8 !important; border: 0 !important;
  border-radius: 2px !important; padding: 1rem 2.4rem !important;
  font-size: .88rem !important; font-weight: 700 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
  transition: background .18s ease !important;
}
.gform_wrapper .gform_footer input[type=submit]:hover { background: #002850 !important; }
.gform_wrapper .gfield_label { color: #002850; font-weight: 700; font-size: .92rem; letter-spacing: .01em; }
.gform_wrapper input[type=text], .gform_wrapper input[type=email],
.gform_wrapper textarea, .gform_wrapper select {
  border: 1px solid rgba(0,40,80,.18) !important; border-radius: 2px !important;
  background: #FFFDF8 !important; padding: .85rem .95rem !important; color: #002850 !important;
}
.gform_wrapper input:focus, .gform_wrapper textarea:focus, .gform_wrapper select:focus {
  border-color: #E86008 !important; outline: none !important;
  box-shadow: 0 0 0 3px rgba(232,96,8,.12) !important;
}
.gform_wrapper .gfield_required { color: #E86008 !important; }

/* Footer: stop the made-to-order column clipping */
.ie-footer__note { overflow: visible; }
.ie-footer__grid > div { min-width: 0; }
/* ---------------- HERO ---------------- */
.ie-hero {
  position: relative; min-height: clamp(540px, 74vh, 780px); display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
@media (max-width: 900px) { .ie-hero { min-height: clamp(440px, 62vh, 560px); background-position: 62% center; } }
.ie-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,32,64,.90) 0%, rgba(0,32,64,.74) 38%, rgba(0,32,64,.18) 66%, rgba(0,32,64,0) 100%);
}
.ie-hero__inner {
  position: relative; width: 100%; max-width: 1500px; margin: 0 auto;
  padding: 5rem 2rem; }
.ie-hero__inner > * { max-width: 640px; }
.ie-hero__eyebrow {
  color: #F8B838; font-size: .78rem; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; margin: 0 0 1.1rem;
}
.ie-hero__title {
  color: #FFFDF8; font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 800;
  line-height: 1.03; margin: 0 0 1.3rem; text-wrap: pretty;
}
.ie-hero__sub { color: #D5E2EC; font-size: 1.18rem; line-height: 1.65; margin: 0 0 2.3rem; }
.ie-hero__cta { display: flex; gap: .85rem; flex-wrap: wrap; }

.ie-btn {
  display: inline-block; padding: 1.05rem 2.5rem; border-radius: 2px; text-decoration: none;
  font-size: .88rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: all .18s ease;
}
.ie-btn--solid { background: #E86008; color: #FFFDF8; }
.ie-btn--solid:hover { background: #FFFDF8; color: #002850; }
.ie-btn--ghost { border: 1px solid rgba(255,255,255,.45); color: #FFFDF8; }
.ie-btn--ghost:hover { background: #FFFDF8; color: #002850; border-color: #FFFDF8; }
.ie-btn--gold { background: #F8B838; color: #002850; }
.ie-btn--gold:hover { background: #FFFDF8; }

/* ---------------- PROMISE BAR ---------------- */
.ie-promise {
  background: #F8B838; color: #002850; text-align: center;
  padding: 1rem 1.5rem; font-size: .82rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.ie-promise span { opacity: .5; margin: 0 1rem; }

/* ---------------- PARALLAX ---------------- */
.ie-parallax {
  position: relative; min-height: clamp(420px, 56vh, 620px); display: flex; align-items: center;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.ie-parallax--short { min-height: clamp(340px, 42vh, 460px); }
@media (max-width: 1024px) { .ie-parallax { background-attachment: scroll; min-height: clamp(320px, 46vh, 440px); } }
.ie-parallax__scrim { position: absolute; inset: 0; background: rgba(0,32,64,.66); }
.ie-parallax__inner {
  position: relative; max-width: 900px; margin: 0 auto; padding: 4.5rem 2rem; text-align: center;
}
.ie-parallax__title {
  color: #FFFDF8; font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 800;
  line-height: 1.15; margin: 0 0 1.1rem; text-wrap: pretty;
}
.ie-parallax__sub { color: #D5E2EC; font-size: 1.1rem; line-height: 1.7; margin: 0; }
.ie-parallax .ie-hero__cta { justify-content: center; margin-top: 1.6rem; }

/* ---------------- CATEGORY TILES ---------------- */
.ie-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1100px) { .ie-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ie-cats { grid-template-columns: 1fr; } }
.ie-cat {
  position: relative; min-height: 320px; border-radius: 3px; overflow: hidden;
  display: flex; align-items: flex-end; text-decoration: none;
  background-size: cover; background-position: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.ie-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,40,80,.18); }
.ie-cat__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,32,64,.92) 0%, rgba(0,32,64,.45) 45%, rgba(0,32,64,.08) 100%);
}
.ie-cat__label {
  position: relative; width: 100%; padding: 1.4rem 1.25rem;
  color: #FFFDF8; font-size: 1.08rem; font-weight: 800; line-height: 1.25;
}
.ie-cat__label em { display: block; font-style: normal; color: #F8B838;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-top: .4rem; }

/* ---------------- VALUE PROPS ---------------- */
.ie-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem; }
@media (max-width: 900px) { .ie-props { grid-template-columns: 1fr; gap: 2.25rem; } }
.ie-props h3 { color: #002850; font-size: 1.15rem; font-weight: 700; margin: 0 0 .6rem; }
.ie-props p { color: #5A6670; font-size: 1rem; line-height: 1.75; margin: 0; }

/* ---------------- CTA BAND ---------------- */
.ie-cta { background: #0A3A5C; padding: 5rem 1.5rem; }
.ie-cta__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.ie-cta h2 { color: #FFFDF8; font-size: 2.1rem; font-weight: 800; margin: 0 0 .9rem; }
.ie-cta p { color: #C9D6E2; font-size: 1.05rem; line-height: 1.7; margin: 0 0 2rem; }

/* ---------------- ARCHIVE HERO ---------------- */
.ie-archive-hero {
  position: relative; min-height: clamp(360px, 40vh, 480px); display: flex; align-items: center;
  background-size: cover; background-position: center; margin-bottom: 3rem;
}
.ie-archive-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,22,46,.92) 0%, rgba(0,32,64,.78) 36%, rgba(0,32,64,.26) 60%, rgba(0,32,64,.06) 100%);
}
.ie-archive-hero__inner { position: relative; width: 100%; max-width: 1500px; margin: 0 auto; padding: 3.5rem 2rem; text-align: left; }
.ie-archive-hero__inner > * { max-width: 620px; }
.ie-archive-hero__title { color: #FFFDF8; font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 800; margin: 0 0 .7rem; }
.ie-archive-hero__sub { color: #D5E2EC; font-size: 1.08rem; line-height: 1.7; margin: 0; }
@media (max-width: 760px) {
  .ie-archive-hero { min-height: 410px; background-position: 64% center; }
  .ie-archive-hero__inner { padding: 3rem 1.25rem; }
  .ie-archive-hero__scrim { background: linear-gradient(100deg, rgba(0,22,46,.94) 0%, rgba(0,32,64,.82) 54%, rgba(0,32,64,.42) 100%); }
}


/* Kadence prints its own archive title block; our full-bleed hero replaces it */
.tax-product_cat .entry-hero-container,
.tax-product_cat .entry-hero,
.tax-product_cat .page-hero-section,
.post-type-archive-product .entry-hero-container,
.post-type-archive-product .entry-hero,
.post-type-archive-product .page-hero-section { display: none !important; }
.tax-product_cat .ie-archive-hero,
.post-type-archive-product .ie-archive-hero { display: flex !important; }

/* wider grid now that the site is 1500px */
.woocommerce ul.products { gap: 1.25rem; }
/* ===================== PALETTE / DECOR ===================== */
:root { --ie-stone: #3E4550; --ie-stone-2: #2C323B; --ie-mist: #E9E4DA; }
.ie-stripes { height: 6px; display: flex; }
.ie-stripes span { flex: 1 1 0; }
.ie-stripes span:nth-child(1) { background: #E86008; }
.ie-stripes span:nth-child(2) { background: #F8B838; }
.ie-stripes span:nth-child(3) { background: #10A8B8; }
.ie-row--paper { background: #FFFDF8; }
.ie-row--cream { background: var(--ie-mist); }
.ie-cta { background: var(--ie-stone) !important; }
.ie-parallax__scrim { background: rgba(44,50,59,.68) !important; }
.ie-parallax__scrim--deep, .ie-archive-hero__scrim--deep {
  background: linear-gradient(rgba(6,10,20,.62), rgba(6,10,20,.78)) !important; }
.ie-archive-hero__scrim {
  background: linear-gradient(100deg, rgba(0,22,46,.92) 0%, rgba(0,32,64,.78) 36%, rgba(0,32,64,.26) 60%, rgba(0,32,64,.06) 100%) !important;
}
.ie-credit { margin: 1.6rem 0 0; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.42); }
.site-footer-wrap { border-top: 6px solid var(--ie-stone) !important; }

/* ===================== SHOP LOOP CARDS (scoped!) ===================== */
.woocommerce ul.products { display: grid !important; align-items: stretch; gap: 1.25rem; }
.woocommerce ul.products li.product {
  display: flex !important; flex-direction: column; float: none !important;
  width: auto !important; margin: 0 !important;
  background: #FFFDF8; border: 1px solid rgba(0,40,80,.08); border-radius: 3px;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,40,80,.10);
  border-color: rgba(232,96,8,.35);
}
.woocommerce ul.products li.product .woocommerce-loop-image-link {
  display: block; position: relative; width: 100%; aspect-ratio: 1/1;
  overflow: hidden; background: #F1ECE2; border-bottom: 1px solid rgba(0,40,80,.06);
}
.woocommerce ul.products li.product .woocommerce-loop-image-link img {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  object-fit: contain !important; transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.woocommerce ul.products li.product:hover .woocommerce-loop-image-link img { transform: scale(1.07); }
.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product .entry-content-wrap {
  display: flex; flex-direction: column; flex: 1 1 auto;
  padding: 1.15rem 1.25rem 1.35rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #002850; font-size: 1.02rem; font-weight: 700; margin: 0 0 .35rem;
  line-height: 1.35; min-height: 3.1em;
}
.woocommerce ul.products li.product .price { color: #55636D; font-weight: 600; margin-bottom: 1rem !important; }
.woocommerce ul.products li.product .product-excerpt {
  color: #6B7883; font-size: .9rem; line-height: 1.6; margin: 0 0 .35rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product .product-action-wrap {
  display: block !important; opacity: 1 !important; visibility: visible !important;
  position: static !important; transform: none !important;
  margin-top: auto !important; padding-top: .9rem; max-height: none !important;
}
.woocommerce ul.products li.product .product-action-wrap .button,
.woocommerce ul.products li.product a.add_to_cart_button {
  width: 100%; display: flex !important; align-items: center; justify-content: center;
  min-height: 46px; background: #002850 !important; color: #FFFDF8 !important;
  border: 1px solid #002850 !important; border-radius: 2px !important;
  font-size: .76rem !important; font-weight: 700 !important; letter-spacing: .1em !important;
  text-transform: uppercase !important; text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease;
}
.woocommerce ul.products li.product .product-action-wrap .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
  background: #E86008 !important; border-color: #E86008 !important;
}
.woocommerce nav.woocommerce-pagination ul { border: 0; gap: .4rem; display: flex; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  border: 1px solid rgba(0,40,80,.16); border-radius: 2px; padding: .6rem .95rem;
  color: #002850; font-weight: 700; font-size: .86rem;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: #002850; color: #FFFDF8; border-color: #002850; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: #E86008; color: #FFFDF8; border-color: #E86008; }

/* ===================== SINGLE PRODUCT - THE GRID ===================== */
body.single-product .site-container, body.single-product .content-container,
body.single-product .site-main, body.single-product .entry.product { overflow: visible !important; }
body.single-product .entry-hero, body.single-product .entry-hero-container,
body.single-product .product-title.product-above { display: none !important; }
body.single-product .content-area { padding-top: 2rem !important; }
body.single-product .woocommerce-breadcrumb, body.single-product .kadence-breadcrumb-container { margin: 0 0 1.4rem !important; }

body.single-product div.entry.product,
body.single-product div.product.entry-content-wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr) !important;
  gap: 3.25rem !important;
  align-items: start !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}
@media (max-width: 1024px) {
  body.single-product div.entry.product,
  body.single-product div.product.entry-content-wrap {
    grid-template-columns: minmax(0, 1fr) !important; gap: 2rem !important;
  }
}
body.single-product div.product > * { min-width: 0; max-width: 100%; }
body.single-product div.product .summary.entry-summary {
  width: auto !important; float: none !important; margin: 0 !important;
  display: block !important; padding: 0 !important;
}
/* anything that is not the gallery or summary spans full width below */
body.single-product div.product > *:not(.ie-gallery):not(.summary) { grid-column: 1 / -1; }
/* legacy woo gallery must never render */
body.single-product .woocommerce-product-gallery { display: none !important; }

/* ===================== OUR GALLERY ===================== */
.ie-gallery { grid-column: 1 / 2; width: 100%; max-width: 100%; min-width: 0;
  position: sticky; top: 130px; align-self: start; }
@media (max-width: 1024px) { .ie-gallery { position: static; grid-column: auto; } }
.ie-gallery__main { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden;
  background: #F1ECE2; border-radius: 3px; cursor: zoom-in; }
.ie-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity .25s ease, transform .5s cubic-bezier(.2,.7,.3,1); }
.ie-gallery__img.is-active { opacity: 1; }
.ie-gallery__main:hover .ie-gallery__img.is-active { transform: scale(1.1); }
.ie-gallery__thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.ie-gallery__thumbs .ie-gallery__thumb { width: 64px; height: 64px; flex: 0 0 64px; }
.ie-gallery__thumb { padding: 0; border: 1px solid rgba(0,40,80,.12); background: #F1ECE2;
  border-radius: 3px; overflow: hidden; cursor: pointer; aspect-ratio: 1/1;
  transition: border-color .18s ease; }
.ie-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ie-gallery__thumb.is-active, .ie-gallery__thumb:hover { border-color: #E86008; }

/* ===================== SUMMARY COLUMN ===================== */
body.single-product .summary h1.product_title { color: #002850;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; line-height: 1.2; margin: 0 0 1rem; }
body.single-product .summary .price { color: #002850 !important; font-size: 1.55rem !important;
  font-weight: 700 !important; margin: 0 0 1rem; display: block; }
body.single-product .summary .woocommerce-product-details__short-description { color: #46545E;
  font-size: 1.04rem; line-height: 1.8; }
body.single-product form.cart { display: flex; align-items: stretch; gap: .6rem; margin: 1.4rem 0 0 !important; }
body.single-product form.cart .quantity input { min-height: 56px; width: 78px; text-align: center;
  border: 1px solid rgba(0,40,80,.2) !important; border-radius: 2px; }
body.single-product .single_add_to_cart_button {
  background: #E86008 !important; color: #FFFDF8 !important; border: 0 !important;
  border-radius: 2px !important; min-height: 56px; padding: 0 2.4rem !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  font-size: .88rem !important; font-weight: 700 !important; letter-spacing: .09em !important;
  text-transform: uppercase !important; white-space: nowrap; line-height: 1.2 !important;
}
body.single-product .single_add_to_cart_button:hover { background: #002850 !important; }
body.single-product .product_meta { border-top: 1px solid rgba(0,40,80,.12);
  padding-top: 1.1rem; margin-top: 1.5rem; font-size: .86rem; color: #6B7883; }
body.single-product .product_meta a { color: #E86008; }
body.single-product .woocommerce-tabs, body.single-product #reviews,
body.single-product .related.products, body.single-product .up-sells.products { display: none !important; }

/* divider + long copy + upsells (inside the summary) */
.ie-divider-mark { display: flex; align-items: center; gap: .9rem; margin: 2.2rem 0 1.6rem; }
.ie-divider-mark__line { height: 1px; flex: 1 1 auto;
  background: linear-gradient(to right, transparent, rgba(0,40,80,.22)); }
.ie-divider-mark__line:last-child { background: linear-gradient(to left, transparent, rgba(0,40,80,.22)); }
.ie-divider-mark__star { width: 20px; height: 20px; flex: 0 0 auto; fill: #E86008; }
.ie-details-inline h3 { color: #002850; font-size: 1.02rem; font-weight: 800; margin: 1.5rem 0 .5rem; }
.ie-details-inline h3:first-child { margin-top: 0; }
.ie-details-inline p { color: #46545E; font-size: .99rem; line-height: 1.8; margin: 0 0 1rem; }
.ie-upsell { margin: 2.2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(0,40,80,.12); }
.ie-upsell__h { color: #E86008; font-size: .72rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; margin: 0 0 1rem; }
.ie-upsell__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .ie-upsell__grid { grid-template-columns: 1fr; } }
.ie-upsell__item { display: flex; gap: .8rem; align-items: center; text-decoration: none;
  background: #FFFDF8; border: 1px solid rgba(0,40,80,.10); border-radius: 3px; padding: .6rem;
  transition: border-color .18s ease, transform .18s ease; }
.ie-upsell__item:hover { border-color: #E86008; transform: translateY(-2px); }
.ie-upsell__img { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 2px;
  background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #F1ECE2; }
.ie-upsell__body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.ie-upsell__name { color: #002850; font-size: .84rem; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ie-upsell__price { color: #6B7883; font-size: .82rem; }

/* cross-sell band, full width */
.ie-crosssell { background: var(--ie-stone-2) !important; padding: 4.5rem 1.5rem; margin-top: 4rem; }
.ie-crosssell__inner { max-width: 1180px; margin: 0 auto; }
.ie-crosssell__eyebrow { text-align: center; color: #F8B838; font-size: .78rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; margin: 0 0 .75rem; }
.ie-crosssell__title { text-align: center; color: #FFFDF8; font-size: 2rem; font-weight: 800; margin: 0 0 2.5rem; }
.ie-crosssell ul.products li.product .woocommerce-loop-product__title { color: #002850 !important; }

/* ===================== STICKY ADD-TO-CART BAR ===================== */
.ie-atcbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: #FFFDF8; border-top: 1px solid rgba(0,40,80,.14);
  box-shadow: 0 -8px 30px rgba(0,40,80,.12);
  transform: translateY(110%); transition: transform .28s ease; }
.ie-atcbar.is-visible { transform: translateY(0); }
.ie-atcbar__inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center;
  gap: 1rem; padding: .7rem 1.5rem; }
.ie-atcbar__img { width: 48px; height: 48px; border-radius: 2px; background-size: contain;
  background-repeat: no-repeat; background-position: center; background-color: #F1ECE2; flex: 0 0 auto; }
.ie-atcbar__name { color: #002850; font-weight: 700; font-size: .95rem; line-height: 1.3;
  flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ie-atcbar__price { color: #55636D; font-weight: 700; flex: 0 0 auto; }
.ie-atcbar__btn { flex: 0 0 auto; background: #E86008; color: #FFFDF8 !important;
  border-radius: 2px; padding: .85rem 1.9rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  transition: background .18s ease; }
.ie-atcbar__btn:hover { background: #002850; }
@media (max-width: 640px) { .ie-atcbar__price { display: none; } }

/* ===================== FLOATING CART BUBBLE + DRAWER ===================== */
.ie-cart-bubble { position: fixed; right: 26px; bottom: 88px; z-index: 9998;
  width: 60px; height: 60px; border-radius: 50%; background: #002850; color: #FFFDF8;
  border: 2px solid #E86008; display: none; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 6px 22px rgba(0,40,80,.28); transition: transform .18s ease; }
.ie-cart-bubble.is-visible { display: flex; }
.ie-cart-bubble:hover { transform: translateY(-2px); }
.ie-cart-bubble svg { width: 24px; height: 24px; fill: currentColor; }
.ie-cart-bubble .ie-cart-count { position: absolute; top: -5px; right: -5px; min-width: 23px;
  height: 23px; padding: 0 6px; border-radius: 12px; background: #E86008; color: #FFFDF8;
  font-size: 12px; font-weight: 700; line-height: 23px; text-align: center; }
#cart-drawer, .popup-drawer { z-index: 100001 !important; }

/* ===================== ACCENTS ===================== */
.ie-row__eyebrow { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.ie-row__eyebrow::before, .ie-row__eyebrow::after { content: ""; width: 46px; height: 2px;
  flex: 0 0 auto; background: linear-gradient(to right, transparent, #E86008); }
.ie-row__eyebrow::after { background: linear-gradient(to left, transparent, #E86008); }
.ie-row--cream .ie-row__title::before { content: ""; display: block; width: 16px; height: 16px;
  margin: 0 auto .9rem; background: #E86008;
  clip-path: polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%); }
.ie-parallax__inner::before, .ie-cta__inner::before { content: ""; position: absolute;
  left: 8%; top: 4%; width: 14px; height: 14px; opacity: .55; background: #F8B838;
  clip-path: polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%); }
.ie-parallax__inner, .ie-cta__inner { position: relative; }
.ie-cat::before { content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(248,184,56,0); border-radius: 2px;
  transition: border-color .22s ease; z-index: 2; pointer-events: none; }
.ie-cat:hover::before { border-color: rgba(248,184,56,.55); }
.ie-cat__scrim { background: linear-gradient(to top, rgba(30,34,40,.92) 0%, rgba(30,34,40,.44) 45%, rgba(30,34,40,.06) 100%) !important; }
/* AI collection leads everywhere tiles render */
.ie-cats { display: grid; }
.ie-cats .ie-cat[href*="ai-made-me-do-it"] { order: -1; }
.ie-parallax__eyebrow { color: #F8B838; font-size: .76rem; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; margin: 0 0 1rem; }

/* ===================== SPLITS / CONTACT / STORY ===================== */
.ie-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
@media (max-width: 900px) { .ie-split { grid-template-columns: 1fr; } }
/* 460px in a ~915px column is a 2:1 letterbox. The source photography is 16:9 and 4:3, so the
   4:3 ones were losing 33% of their height to the crop, which reads as a squashed picture even
   though `cover` never distorts. A taller frame brings the crop down to roughly 10% either way. */
/* Frame sized to the source aspect. All three panels are 1600x900, so a ~16:9 box crops almost
   nothing. The previous 2:1 and then 1.48 frames cropped 33% and 17%, and because one panel was a
   4:3 source in the same frame, the panels showed different amounts of their photo - which reads
   as one being squashed and another stretched even though `cover` never distorts. */
.ie-split__img { min-height: clamp(340px, 28.6vw, 540px); background-size: cover; background-position: center; }
@media (max-width: 900px) { .ie-split__img { min-height: 300px; } }
.ie-split__body { padding: 4.5rem 3.5rem; display: flex; flex-direction: column;
  justify-content: center; background: #FFFDF8; }
@media (max-width: 900px) { .ie-split__body { padding: 3rem 1.75rem; } }
.ie-split:nth-child(even) .ie-split__body { background: var(--ie-mist); }
.ie-split--flip .ie-split__img { order: 2; }
@media (max-width: 900px) { .ie-split--flip .ie-split__img { order: 0; } }
.ie-split__body h2 { color: #002850; font-size: 1.75rem; font-weight: 800; margin: 0 0 1rem; line-height: 1.2; }
.ie-split__body h2::before { content: ""; display: block; width: 52px; height: 3px;
  background: #E86008; margin: 0 0 1.1rem; }
.ie-split__body p { color: #46545E; font-size: 1.06rem; line-height: 1.85; margin: 0 0 1rem; }
.ie-contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .ie-contact { grid-template-columns: 1fr; gap: 2.5rem; } }
.ie-contact__aside h3 { color: #002850; font-size: 1.05rem; font-weight: 800; margin: 0 0 .5rem; }
.ie-contact__aside p { color: #5A6670; font-size: .99rem; line-height: 1.75; margin: 0 0 1.6rem; }
.ie-contact__meta { border-top: 1px solid rgba(0,40,80,.14); padding-top: 1.4rem; }
.ie-story__band { padding: 5.5rem 1.5rem; }
.ie-story__inner { max-width: 780px; margin: 0 auto; }
.ie-story__inner p { color: #46545E; font-size: 1.12rem; line-height: 1.85; margin: 0 0 1.5rem; }
.ie-story__inner p.lead { color: #002850; font-size: 1.42rem; line-height: 1.65; font-weight: 500; }
.ie-story__inner h2 { color: #002850; font-size: 1.9rem; font-weight: 800; margin: 2.75rem 0 1rem; }
.ie-story__rule { width: 64px; height: 3px; background: #E86008; margin: 0 0 2rem; }
.ie-hero__scrim--center { background: radial-gradient(ellipse at center, rgba(6,10,20,.55) 0%, rgba(6,10,20,.84) 78%) !important; }
.ie-hero__inner--center { text-align: center; }
.ie-hero__inner--center > * { max-width: 780px; margin-left: auto; margin-right: auto; }
/* `.ie-hero__title { margin: 0 0 1.3rem }` in ie-hero-css.php is the same 0-1-0 specificity as the
   rule above and prints later, so its margin shorthand reset margin-left to 0 and the heading sat
   left of centre while the eyebrow and sub stayed centred. Compound selectors win it back. */
.ie-hero__inner--center > .ie-hero__title,
.ie-hero__inner--center > .ie-hero__sub,
.ie-hero__inner--center > .ie-hero__eyebrow,
.ie-hero__inner--center > p,
.ie-hero__inner--center > h1 { margin-left: auto; margin-right: auto; }
.ie-hero--story { min-height: clamp(460px, 58vh, 620px); }

/* Gifts hero: keep the existing fixed parallax, but show the edge products. */
body.page-id-9008 .ie-hero--story {
  background-color: #061427;
  background-position: center -9vw !important;
  background-repeat: no-repeat;
  background-size: 100vw auto;
}
body.page-id-9008 .ie-hero__scrim--center {
  background: radial-gradient(ellipse at center, rgba(6,10,20,.72) 0%, rgba(6,10,20,.62) 38%, rgba(6,10,20,.18) 72%, rgba(6,10,20,.06) 100%) !important;
}

@media (max-width: 1024px) {
  body.page-id-9008 .ie-hero--story {
    background-position: center 62% !important;
    background-size: cover;
  }
}
.ie-strip { padding: 0 0 3.5rem; }
.ie-strip__inner { max-width: 1500px; margin: 0 auto; padding: 0 1.5rem; }
.ie-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .ie-strip__grid { grid-template-columns: 1fr; } }
.ie-strip__item { position: relative; min-height: 240px; border-radius: 3px; overflow: hidden;
  background-size: cover; background-position: center; }

/* ===================== FOOTER ALIGNMENT ===================== */
.ie-footer__grid { align-items: start; text-align: left !important; }
.ie-footer__grid > div { text-align: left !important; }
.ie-footer__mark { width: 210px; margin: 0 0 1.35rem !important; display: block; }
.ie-footer__blurb, .ie-footer__note { color: #C2D2DF !important; }
.ie-footer__links a { color: #E4EDF4 !important; }
.ie-footer__copy, .ie-footer__legal a { color: #9DB2C4 !important; }
.ie-footer__pay span { color: #B6C7D6 !important; border-color: rgba(255,255,255,.22) !important; }
.ie-footer__bottom { justify-content: flex-start !important; gap: 2.5rem; }
.ie-footer__legal { margin-left: auto; }
@media (max-width: 560px) {
  .ie-footer__social { justify-content: flex-start !important; }
  .ie-footer__blurb { margin-left: 0 !important; margin-right: 0 !important; }
}

/* ===================== GRAVITY FORMS ===================== */
.gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_footer button {
  background: #E86008 !important; color: #FFFDF8 !important; border: 0 !important;
  border-radius: 2px !important; padding: 1rem 2.4rem !important;
  font-size: .88rem !important; font-weight: 700 !important; letter-spacing: .08em !important;
  text-transform: uppercase !important; }
.gform_wrapper .gform_footer input[type=submit]:hover { background: #002850 !important; }
.gform_wrapper .gfield_label { color: #002850; font-weight: 700; }
.gform_wrapper input[type=text], .gform_wrapper input[type=email],
.gform_wrapper textarea, .gform_wrapper select {
  border: 1px solid rgba(0,40,80,.18) !important; border-radius: 2px !important;
  background: #FFFDF8 !important; padding: .85rem .95rem !important; }
.gform_wrapper .gfield_required { color: #E86008 !important; }

/* ============ CATEGORY TILES v2 - bigger, editorial ============ */
.ie-cats-row { padding: 6.5rem 1.5rem 7rem; }
.ie-cats-row .ie-row__inner { max-width: 1500px; }
.ie-cats {
  /* Three across at every desktop width. The grid used to be five, which balanced when there
     were exactly five cards; with the Gift Guide card added, five columns left a single
     orphan on a second row above 1400px. Three gives two even rows of three. */
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  margin-top: 3.25rem;
}
@media (max-width: 1400px) { .ie-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .ie-cats { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; } }
@media (max-width: 560px)  { .ie-cats { grid-template-columns: 1fr; } }

.ie-cats .ie-cat {
  display: flex !important; flex-direction: column; min-height: 0 !important;
  align-items: stretch !important; justify-content: flex-start !important;
  width: 100% !important; padding: 0 !important;
  background: #FFFDF8; border: 1px solid rgba(0,40,80,.10); border-radius: 4px;
  overflow: hidden; text-decoration: none; position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ie-cats .ie-cat:hover {
  transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,40,80,.16);
  border-color: rgba(232,96,8,.4);
}
.ie-cat__img {
  display: block; width: 100% !important; flex: 0 0 auto; aspect-ratio: 1 / 1.06;
  background-size: cover; background-position: center;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.ie-cats .ie-cat:hover .ie-cat__img { transform: scale(1.05); }
.ie-cat__bar {
  display: block; width: 100% !important; background: #002850; padding: 1.5rem 1.35rem 1.6rem;
  margin-top: auto; position: relative;
}
.ie-cat__bar:before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #E86008 0 33.4%, #F8B838 33.4% 66.7%, #10A8B8 66.7% 100%);
}
.ie-cat__name {
  display: block; color: #FFFDF8; font-size: 1.3rem; font-weight: 800;
  line-height: 1.2; letter-spacing: -.01em;
}
.ie-cat__blurb {
  display: block; color: #A9BCCB; font-size: .88rem; line-height: 1.5; margin-top: .45rem;
}
.ie-cat__count {
  display: block; color: #F8B838; font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; margin-top: .9rem;
}
/* retire the old overlay treatment */
.ie-cats .ie-cat__scrim, .ie-cats .ie-cat__label { display: none !important; }
.ie-cats .ie-cat:before { display: none !important; }

/* ============ FOOTER HEADING ACCENT ============ */
.ie-footer__h { display: flex; align-items: center; gap: .85rem; }
.ie-footer__h:after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: linear-gradient(90deg, rgba(248,184,56,.5), rgba(248,184,56,0));
}
@media (max-width: 560px) {
  .ie-footer__h:before { content: ""; flex: 1 1 auto; height: 1px;
    background: linear-gradient(270deg, rgba(248,184,56,.5), rgba(248,184,56,0)); }
}

/* ============ CATEGORY TILE POLISH (white product tiles) ============ */
.ie-cat { background-color: #FFFFFF; border: 1px solid rgba(0,40,80,.08); }
.ie-cat__scrim {
  background: linear-gradient(to top, rgba(0,32,64,.88) 0%, rgba(0,32,64,.30) 34%, rgba(0,32,64,0) 55%) !important;
}

/* ============ PASS 1 POLISH ============ */
/* footer paragraphs without a class inherit the dark body color on navy */
.ie-footer__grid p:not([class]) { color: #C2D2DF; font-size: .86rem; line-height: 1.7; }

/* no typographic widows on big headings */
.ie-hero__title, .ie-row__title, .ie-parallax__title, .ie-archive-hero__title { text-wrap: balance; }

/* mobile: hero copy must stay readable over the light product collage */
@media (max-width: 820px) {
  .ie-hero__scrim {
    background: linear-gradient(180deg, rgba(10,26,44,.78) 0%, rgba(10,26,44,.62) 60%, rgba(10,26,44,.38) 100%) !important;
  }
}

/* touch devices do not support fixed background attachment */
@media (hover: none) {
  .ie-parallax, .ie-hero, .ie-archive-hero, .ie-hero--story { background-attachment: scroll !important; }
}

/* loop card type eyebrow above the short product name */
.ie-loop-type {
  display: block; color: #8C8A7E; font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .35rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem; line-height: 1.35; }

/* ============ PASS 3 - CARD OVERLAP FIX + CHIPS + BRAND MARKS ============ */
/* Shop Kit pulls the details panel up over the image at small widths; never allow it */
.woocommerce ul.products li.product .product-details,
.woocommerce ul.products li.product .entry-content-wrap {
  margin: 0 !important; border-radius: 0 !important; position: relative; z-index: 2;
}
/* the type label is a chip pinned to the image corner - it cannot be covered */
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product .ie-loop-type {
  position: absolute; top: .75rem; left: .75rem; z-index: 3; margin: 0;
  background: rgba(255,253,248,.94); color: #5A6670;
  font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 2px; border: 1px solid rgba(0,40,80,.08);
  pointer-events: none;
}
/* pairs-well-with cards get the same type label */
.ie-upsell__type { display: block; color: #8C8A7E; font-size: .58rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: .2rem; }

/* branded three-stripe underline on section titles (echoes the logo stripes) */
.ie-row__title:after, .ie-parallax__title:after, .ie-crosssell__title:after {
  content: ""; display: block; width: 64px; height: 4px; margin: 1.05rem auto 0;
  background: linear-gradient(90deg, #E86008 0 33.4%, #F8B838 33.4% 66.7%, #10A8B8 66.7% 100%);
  border-radius: 2px;
}
.ie-archive-hero__title:after {
  content: ""; display: block; width: 64px; height: 4px; margin: 1.05rem 0 0;
  background: linear-gradient(90deg, #E86008 0 33.4%, #F8B838 33.4% 66.7%, #10A8B8 66.7% 100%);
  border-radius: 2px;
}

/* ============ PASS 3 - CATEGORY CHIP NAV (shop hero) ============ */
.ie-cat-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-start; margin-top: 1.5rem; }
.ie-cat-chips a {
  display: inline-block; padding: .5rem 1.1rem; border: 1px solid rgba(255,253,248,.45);
  border-radius: 999px; color: #FFFDF8; text-decoration: none;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: all .18s ease; background: rgba(0,32,64,.25);
}
.ie-cat-chips a:hover { background: #F8B838; border-color: #F8B838; color: #002850; }

/* ============ PASS 3 - PRODUCT CAROUSELS (full-bleed, cards run off both edges) ============ */
body.home { overflow-x: clip; }
.ie-carousel ul.products {
  display: flex !important; grid-template-columns: none !important;
  overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.25rem;
  /* !important: Woo core's `.woocommerce ul.products { margin:0; padding:0 }` prints later and ties on specificity */
  width: 100vw; margin-left: calc(50% - 50vw) !important;
  padding: 4px .9rem 1.25rem !important;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.ie-carousel ul.products::-webkit-scrollbar { display: none; }
/* center snapping keeps a partial card hanging off BOTH edges at every rest position */
.ie-carousel ul.products li.product { flex: 0 0 240px; scroll-snap-align: center; }
@media (min-width: 900px) { .ie-carousel ul.products li.product { flex-basis: 285px; } }
@media (max-width: 760px) {
  .ie-carousel ul.products { padding-left: .7rem !important; padding-right: .7rem !important; }
  .ie-carousel ul.products li.product { flex-basis: 218px; }
}
.ie-carousel { position: relative; }
.ie-car-arrow {
  position: absolute; top: 42%; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(0,40,80,.15); background: #FFFDF8; color: #002850;
  font-size: 1.15rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,40,80,.14); transition: all .18s ease;
}
.ie-car-arrow:hover { background: #E86008; color: #FFFDF8; border-color: #E86008; }
.ie-car-arrow--prev { left: 14px; }
.ie-car-arrow--next { right: 14px; }
@media (max-width: 760px) { .ie-car-arrow { display: none; } }

/* ============ TYPE CHIPS ABOVE ARCHIVE GRIDS ============ */
.ie-typechips {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
  margin: 0 0 1.6rem; padding: 0;
}
@media (max-width: 760px) {
  .ie-typechips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -1.1rem; margin-right: -1.1rem; padding: 0 1.1rem .35rem; }
  .ie-typechips::-webkit-scrollbar { display: none; }
}
.ie-typechip {
  flex: 0 0 auto; display: inline-block; padding: .5rem 1.05rem;
  border: 1px solid rgba(0,40,80,.22); border-radius: 999px;
  color: #002850; background: #FFFDF8; text-decoration: none;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: all .18s ease; white-space: nowrap;
}
.ie-typechip span { color: #E86008; font-weight: 700; margin-left: .25rem; }
.ie-typechip:hover { border-color: #E86008; color: #E86008; }
.ie-typechip.is-active { background: #002850; border-color: #002850; color: #FFFDF8; }
.ie-typechip.is-active span { color: #F8B838; }

/* ============ HOVER SECOND IMAGE ON LOOP CARDS ============ */
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product .ie-hover-img {
  position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1 / 1;
  background-color: #F1ECE2; background-size: contain; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity .22s ease; pointer-events: none; z-index: 2;
}
@media (hover: hover) {
  .woocommerce ul.products li.product:hover .ie-hover-img { opacity: 1; }
}

/* ============ PASS 3 - SPACE LIBRARY BANDS ============ */
.ie-cta--space {
  background-size: cover !important; background-position: center 40% !important;
  position: relative;
}
.ie-cta--space .ie-cta__inner { position: relative; z-index: 1; }
.ie-cta--space:before { content: ""; position: absolute; inset: 0; background: rgba(20,26,38,.62); }
.ie-cta--space h2 { color: #FFFDF8; }

/* ============ SPACE LIBRARY - QUIET PAGE BANDS ============ */
/* cart, checkout and account: the page-title band becomes a thin star field */
html body.woocommerce-cart .entry-hero-container-inner,
html body.woocommerce-checkout .entry-hero-container-inner,
html body.woocommerce-account .entry-hero-container-inner,
html body.woocommerce-cart .entry-hero-container,
html body.woocommerce-checkout .entry-hero-container,
html body.woocommerce-account .entry-hero-container {
  background: #0A1A2C url('https://theislandearth.com/wp-content/uploads/2026/08/space/09-parallax-deep-milky-way.webp') center 35% / cover no-repeat !important;
  position: relative;
}
body.woocommerce-cart .entry-hero-container:before,
body.woocommerce-checkout .entry-hero-container:before,
body.woocommerce-account .entry-hero-container:before {
  content: ""; position: absolute; inset: 0; background: rgba(6,14,26,.45);
}
body.woocommerce-cart .entry-hero .entry-title,
body.woocommerce-checkout .entry-hero .entry-title,
body.woocommerce-account .entry-hero .entry-title {
  position: relative; color: #FFFDF8 !important; z-index: 1;
}
/* our own archive masthead rule paints .entry-header navy; clear it here */
html body.woocommerce-cart .entry-hero .entry-header,
html body.woocommerce-checkout .entry-hero .entry-header,
html body.woocommerce-account .entry-hero .entry-header {
  background: transparent !important;
}
/* Kadence paints a solid overlay div above the band; thin it out */
body.woocommerce-cart .hero-section-overlay,
body.woocommerce-checkout .hero-section-overlay,
body.woocommerce-account .hero-section-overlay {
  background: rgba(6,14,26,.5) !important;
}

/* ============ SPACE LIBRARY - 404 ============ */
body.error404 .content-area {
  background: #060E1A url('https://theislandearth.com/wp-content/uploads/2026/08/space/15-parallax-earth-and-moon.webp') center / cover no-repeat;
  padding: 8rem 1.5rem 9rem !important; margin: 0 !important; max-width: none !important;
}
body.error404 .content-container, body.error404 .site-main { max-width: none !important; padding: 0 !important; }
body.error404 .entry-content-wrap, body.error404 .content-bg {
  background: transparent !important; box-shadow: none !important;
  max-width: 620px; margin: 0 auto; text-align: center;
}
body.error404 .page-title:before,
body.error404 .entry-title:before {
  content: "Off the map"; display: block; color: #F8B838;
  font-size: .76rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: 1rem;
}
body.error404 .page-title, body.error404 .entry-title { color: #FFFDF8 !important; font-size: 2.6rem; }
body.error404 .entry-content p, body.error404 .error p, body.error404 .content-area p { color: #C9D6E2; }
body.error404 .error:after,
body.error404 .entry-content:after {
  content: ""; display: block; width: 64px; height: 4px; margin: 1.6rem auto 0;
  background: linear-gradient(90deg, #E86008 0 33.4%, #F8B838 33.4% 66.7%, #10A8B8 66.7% 100%);
  border-radius: 2px;
}
body.error404 .search-field { background: rgba(255,253,248,.96); border-radius: 3px; }
body.error404 .entry-hero-container { display: none !important; }

/* ============ SPACE PASS - PARALLAX ON EVERY HERO AND BAND ============ */
/* the band rules above set background as a shorthand, which resets attachment
   to scroll; these must match those selectors exactly and re-fix it */
.ie-hero, .ie-archive-hero, .ie-cta--space { background-attachment: fixed; }
html body.woocommerce-cart .entry-hero-container-inner,
html body.woocommerce-checkout .entry-hero-container-inner,
html body.woocommerce-account .entry-hero-container-inner,
html body.woocommerce-cart .entry-hero-container,
html body.woocommerce-checkout .entry-hero-container,
html body.woocommerce-account .entry-hero-container,
body.error404 .content-area { background-attachment: fixed !important; }
/*
 * Product-led archive scenes need a deeper viewport than the original 40vh strip.
 * Keep the background fixed for parallax, size it to the browser width rather
 * than the full viewport, and lift the scene so the products remain visible.
 */
@media (min-width: 1025px) {
  .post-type-archive-product .ie-archive-hero,
  .tax-product_cat .ie-archive-hero {
    min-height: clamp(540px, 56vh, 660px);
    background-size: 100vw auto;
    background-position: center -9vw;
    background-repeat: no-repeat;
    background-color: #061427;
  }
}

/* Tablets keep the full, stable scene while the fixed attachment is disabled. */
@media (max-width: 1024px) {
  .post-type-archive-product .ie-archive-hero,
  .tax-product_cat .ie-archive-hero {
    min-height: clamp(480px, 62vw, 600px);
    background-size: cover;
    background-position: 64% 58%;
  }
}

@media (max-width: 760px) {
  .post-type-archive-product .ie-archive-hero,
  .tax-product_cat .ie-archive-hero {
    min-height: 470px;
    background-position: 68% 58%;
  }
  .ie-archive-hero__scrim {
    background: linear-gradient(100deg, rgba(0,22,46,.94) 0%, rgba(0,32,64,.82) 54%, rgba(0,32,64,.42) 100%) !important;
  }
  .ie-archive-hero__title:after { margin-left: 0; }
  .ie-cat-chips { justify-content: flex-start; }
}

/* contact already carries its own space hero (13-meteor-shower-ocean via .ie-archive-hero)
   and inherits the parallax rule above. 34-boat-moonlit-lake.webp is uploaded and unused -
   a ready spare for the Boat & Lake category or any future band. */

/* ============ SPACE PASS 2 - PRE-FOOTER CTA + FOOTER ============ */
/* the plain CTA band (Come and have a look) trades flat stone for the moonlit lake */
.ie-cta:not(.ie-cta--space) {
  background: #2C323B url('https://theislandearth.com/wp-content/uploads/2026/08/space/34-boat-moonlit-lake.webp') center 55% / cover no-repeat !important;
  background-attachment: fixed;
  position: relative;
}
.ie-cta:not(.ie-cta--space):before { content: ""; position: absolute; inset: 0; background: rgba(6,14,26,.52); }
.ie-cta:not(.ie-cta--space) .ie-cta__inner { position: relative; z-index: 1; }
.ie-cta:not(.ie-cta--space) h2 { color: #FFFDF8; }

/* footer: faint star field under a heavy navy wash, retro stripe along the top */
.site-footer {
  background: linear-gradient(rgba(0,30,60,.72), rgba(0,20,44,.86)),
    url('https://theislandearth.com/wp-content/uploads/2026/08/space/09-parallax-deep-milky-way.webp') center 30% / cover no-repeat fixed !important;
}
.site-footer-wrap { background: transparent !important; border-top: 0 !important; position: relative; }
.site-footer-wrap:before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, #E86008 0 33.4%, #F8B838 33.4% 66.7%, #10A8B8 66.7% 100%);
}

/* SWD credit in the bottom bar - same color as the surrounding footer text */
.ie-footer__copy a { color: inherit !important; text-decoration: none; transition: color .18s ease; }
.ie-footer__copy a:hover { color: #F8B838 !important; }

/* ============ HERO PASS - BUTTONS, STRIPE, ARCS, TRUST ROW, SCROLL CUE ============ */
.ie-hero .ie-btn, .ie-cta .ie-btn {
  min-height: 52px; display: inline-flex; align-items: center; gap: .6rem;
  border-radius: 2px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.ie-hero .ie-btn--solid { box-shadow: 0 10px 26px rgba(232,96,8,.32); }
.ie-hero .ie-btn--solid:hover {
  background: #F26E12; color: #FFFDF8;
  transform: translateY(-2px); box-shadow: 0 16px 34px rgba(232,96,8,.42);
}
/* literal arrow, NOT "92" - PHP heredoc reads 9 as an octal escape and leaks "92" onto the button */
.ie-hero .ie-btn--solid:after { content: "→"; transition: transform .18s ease; }
.ie-hero .ie-btn--solid:hover:after { transform: translateX(4px); }
/* secondary: solid white edge + blur so it survives ANY photo behind it */
.ie-hero .ie-btn--ghost {
  border: 1.5px solid rgba(255,255,255,.92); color: #FFFDF8;
  background: rgba(10,26,44,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ie-hero .ie-btn--ghost:hover {
  background: #FFFDF8; color: #002850; border-color: #FFFDF8; transform: translateY(-2px);
}

/* retro stripe welded to the hero's bottom edge, running into the promise bar */
.ie-hero:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2;
  background: linear-gradient(90deg, #E86008 0 33.4%, #F8B838 33.4% 66.7%, #10A8B8 66.7% 100%);
}

/* faint orbital arcs in the dark copy side */
.ie-hero__scrim:after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(circle at -10% 50%, transparent 0 clamp(230px,31vw,470px), rgba(248,184,56,.20) clamp(230px,31vw,470px) calc(clamp(230px,31vw,470px) + 1px), transparent calc(clamp(230px,31vw,470px) + 1px)),
    radial-gradient(circle at -10% 50%, transparent 0 clamp(330px,43vw,650px), rgba(16,168,184,.16) clamp(330px,43vw,650px) calc(clamp(330px,43vw,650px) + 1px), transparent calc(clamp(330px,43vw,650px) + 1px));
}
@media (max-width: 900px) { .ie-hero__scrim:after { display: none; } }

/* trust row under the buttons */
/* `.single-content ul, .single-content ol { margin:0 0 var(--global-md-spacing); padding-left:2em }`
   in Kadence's content.min.css is 0-1-1 and beat the 0-1-0 class rule below, indenting this row
   2em (22.4px at .7rem) out of line with the buttons above it. The compound selectors win it back. */
.ie-hero__trust,
.single-content .ie-hero__trust,
.ie-hero .ie-hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .95rem;
  margin: 2.1rem 0 0; padding-left: 0; padding-right: 0; list-style: none;
  color: #F8B838; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.ie-hero__trust li { display: flex; align-items: center; gap: .95rem; }
.ie-hero__trust li + li:before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(248,184,56,.5); }

/* scroll cue */
.ie-hero__cue {
  position: absolute; left: 50%; bottom: 1.9rem; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.42); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.ie-hero__cue span { width: 3px; height: 8px; border-radius: 2px; background: rgba(255,255,255,.8); animation: ie-cue 1.9s ease-in-out infinite; }
@keyframes ie-cue { 0%,100% { transform: translateY(0); opacity: .25; } 45% { transform: translateY(11px); opacity: 1; } }
@media (max-width: 900px) { .ie-hero__cue { display: none; } }
@media (prefers-reduced-motion: reduce) { .ie-hero__cue span { animation: none; } }

/* sticky bar "Choose options" state for variable products */
.ie-atcbar__btn--choose { cursor: pointer; border: 0; font: inherit; }
.ie-atcbar__btn--choose.is-ready { background: #E86008 !important; }
form.ie-flash { animation: ie-flash 1.1s ease; border-radius: 4px; }
@keyframes ie-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,96,8,0); }
  30%      { box-shadow: 0 0 0 4px rgba(232,96,8,.28); }
}
@media (prefers-reduced-motion: reduce) { form.ie-flash { animation: none; } }

/* trust row: on narrow screens it wrapped across the busy hero art */
@media (max-width: 620px) {
  .ie-hero__trust { gap: .35rem .7rem; font-size: .62rem; letter-spacing: .14em; margin-top: 1.5rem; }
  .ie-hero__trust li { gap: .7rem; }
  .ie-hero__inner { padding-bottom: 3.4rem; }
}

/* ============ PRODUCT SEARCH ============ */
.ie-search { display: flex; align-items: stretch; gap: 0; }
.ie-search input[type="search"] {
  flex: 1 1 auto; min-width: 0; border: 1px solid rgba(0,40,80,.2); border-right: 0;
  border-radius: 2px 0 0 2px; padding: .7rem .9rem; font-size: .92rem; color: #002850;
  background: #FFFDF8; -webkit-appearance: none; appearance: none;
}
.ie-search input[type="search"]:focus { outline: none; border-color: #E86008; box-shadow: 0 0 0 3px rgba(232,96,8,.12); }
.ie-search button {
  flex: 0 0 auto; border: 1px solid #002850; background: #002850; color: #FFFDF8;
  border-radius: 0 2px 2px 0; padding: 0 .95rem; cursor: pointer; display: flex; align-items: center;
  transition: background .18s ease, border-color .18s ease;
}
.ie-search button:hover { background: #E86008; border-color: #E86008; }
.ie-search--archive { max-width: 420px; margin: 0 0 1.15rem; }
.ie-search--mega { margin: 0 0 1.4rem; }
@media (max-width: 760px) { .ie-search--archive { max-width: none; } }

/* ============ MEGA MENU ============ */
.ie-mega {
  position: fixed; left: 0; right: 0; z-index: 9997;
  background: #FFFDF8;
  box-shadow: 0 22px 48px rgba(0,40,80,.16), 0 1px 0 rgba(0,40,80,.06) inset;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.ie-mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
@media (max-width: 1024px) { .ie-mega { display: none !important; } }
.ie-mega__stripe { height: 4px; display: flex; }
.ie-mega__stripe span { flex: 1 1 0; }
.ie-mega__stripe span:nth-child(1) { background: #E86008; }
.ie-mega__stripe span:nth-child(2) { background: #F8B838; }
.ie-mega__stripe span:nth-child(3) { background: #10A8B8; }
.ie-mega__inner {
  max-width: 1500px; margin: 0 auto; padding: 2.4rem 2rem 2.6rem;
  display: grid; grid-template-columns: minmax(0,1fr) 268px; gap: 3rem;
  /* `stretch` made each card grow to the rail's height while the square image stayed fixed
     and the label was pinned bottom by margin-top:auto - that hole inside the card is the
     gap Shaun reported. Cards keep their natural height now; the gift row below them and a
     shorter rail are what actually balance the two columns. */
  align-items: start;
}
.ie-mega__cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.15rem; align-content: start; }
.ie-mega__cat {
  display: flex; flex-direction: column; text-decoration: none; border-radius: 4px; overflow: hidden;
  background: #FFFDF8; border: 1px solid rgba(0,40,80,.1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ie-mega__cat:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(0,40,80,.16); border-color: rgba(232,96,8,.45); }
.ie-mega__img {
  display: block; width: 100%; aspect-ratio: 1 / 1.12; flex: 0 0 auto;
  background-size: cover; background-position: center;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.ie-mega__cat:hover .ie-mega__img { transform: scale(1.05); }
/* label is a solid navy bar under the image, matching the homepage tiles */
.ie-mega__label {
  display: block; background: #002850; padding: .95rem .9rem 1.05rem;
  margin-top: auto; position: relative;
}
.ie-mega__label:before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #E86008 0 33.4%, #F8B838 33.4% 66.7%, #10A8B8 66.7% 100%);
}
.ie-mega__name { display: block; color: #FFFDF8; font-weight: 800; font-size: .95rem; line-height: 1.25; }
.ie-mega__label em { display: block; font-style: normal; color: #F8B838; font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-top: .3rem; }
.ie-mega__gifts {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.15rem;
  padding-top: 1.15rem; border-top: 1px solid rgba(0,40,80,.1);
}
.ie-mega__gifts a {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  border: 1px solid rgba(0,40,80,.16); border-radius: 999px; padding: .5rem 1rem;
  color: #002850; font-size: .84rem; font-weight: 700; background: #FFFDF8;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.ie-mega__gifts a:hover { background: #002850; color: #FFFDF8; border-color: #002850; }
.ie-mega__gifts a.is-lead { background: #E86008; color: #FFFDF8; border-color: #E86008; }
.ie-mega__gifts a.is-lead:hover { background: #002850; border-color: #002850; }
.ie-mega__gifts b { font-weight: 700; color: #98A6B2; font-size: .74rem; }
.ie-mega__gifts a:hover b, .ie-mega__gifts a.is-lead b { color: rgba(255,255,255,.7); }

.ie-mega__rail {
  border-left: 1px solid rgba(0,40,80,.1); padding-left: 2.2rem;
  display: flex; flex-direction: column;   /* lets the CTA sit at the bottom, killing the gap */
}
.ie-mega__h { color: #E86008; font-size: .72rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; margin: .1rem 0 .9rem; }
.ie-mega__types { display: flex; flex-direction: column; gap: 0; margin-bottom: 1.1rem; }
.ie-mega__types a { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem;
  color: #002850; text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: .42rem 0; border-bottom: 1px solid rgba(0,40,80,.06); transition: color .15s ease, padding-left .15s ease; }
.ie-mega__types a:hover { color: #E86008; padding-left: .3rem; }
.ie-mega__types a span { color: #98A6B2; font-weight: 700; font-size: .76rem; }
.ie-mega__all { display: block; text-align: center; background: #002850; color: #FFFDF8; text-decoration: none;
  padding: .95rem 1rem; border-radius: 2px; font-size: .8rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; transition: background .18s ease; margin-top: auto; }
.ie-mega__all:hover { background: #E86008; color: #FFFDF8; }
.ie-mega__new { display: block; text-align: center; color: #002850; text-decoration: none; margin-top: .75rem;
  font-size: .82rem; font-weight: 700; }
.ie-mega__new:hover { color: #E86008; }
@media (max-width: 1200px) {
  .ie-mega__inner { grid-template-columns: minmax(0,1fr) 232px; gap: 2rem; }
  .ie-mega__cats { gap: .8rem; }
}

/* ============ MOBILE AUDIT FIXES ============ */
@media (max-width: 767px) {
  /* 2-up grid on phones: 1-up made the shop an endless single column */
  .woocommerce ul.products:not(.ie-carousel ul.products) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .8rem !important;
  }
  .woocommerce ul.products li.product .product-details,
  .woocommerce ul.products li.product .entry-content-wrap { padding: .85rem .8rem 1rem; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .92rem; min-height: 2.9em; }
  .woocommerce ul.products li.product .product-excerpt { display: none; }
  .ie-loop-type { font-size: .6rem; }
  /* tap targets: 44px min per platform guidance */
  .ie-typechip { min-height: 42px; display: inline-flex; align-items: center; }
  .ie-footer__links a, .ie-footer__legal a { display: inline-block; padding: .35rem 0; }
  /* add to cart goes full width on the product page */
  body.single-product form.cart .single_add_to_cart_button,
  body.single-product form.cart button[type="submit"] { width: 100% !important; min-height: 52px; }
  body.single-product form.cart { display: flex; flex-wrap: wrap; gap: .7rem; align-items: stretch; }
  body.single-product form.cart .quantity { flex: 0 0 auto; }
}

/* touch devices and small screens: fixed attachment is unsupported or janky */
@media (hover: none), (max-width: 1024px) {
  .ie-hero, .ie-archive-hero, .ie-cta--space,
  html body.woocommerce-cart .entry-hero-container-inner,
  html body.woocommerce-checkout .entry-hero-container-inner,
  html body.woocommerce-account .entry-hero-container-inner,
  html body.woocommerce-cart .entry-hero-container,
  html body.woocommerce-checkout .entry-hero-container,
  html body.woocommerce-account .entry-hero-container,
  .ie-cta:not(.ie-cta--space), .site-footer,
  body.error404 .content-area { background-attachment: scroll !important; }
}
/* ============ PAGINATION ============
   Kadence rendered the current page as a 54px tall filled box while every other number was
   borderless text, so the control read as broken. These selectors carry Woo's own
   nav > ul > li > a chain, so they outrank the theme without needing !important. */
.woocommerce nav.woocommerce-pagination,
.navigation.pagination, nav.pagination {
  display: flex; justify-content: center; margin: 3rem 0 1rem; width: 100%;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers,
.navigation.pagination .nav-links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem; margin: 0; padding: 0; border: 0; list-style: none;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li { margin: 0; padding: 0; border: 0; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers,
.navigation.pagination .nav-links .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 46px; padding: 0 .75rem; margin: 0;
  border: 1px solid rgba(0,40,80,.16); border-radius: 4px;
  background: #FFFDF8; color: #002850;
  font-size: .95rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
  text-decoration: none; box-shadow: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover,
.navigation.pagination .nav-links a.page-numbers:hover {
  background: #002850; color: #FFFDF8; border-color: #002850; transform: translateY(-1px);
}
.woocommerce nav.woocommerce-pagination ul li a.page-numbers:focus-visible,
.navigation.pagination .nav-links a.page-numbers:focus-visible {
  outline: 2px solid #E86008; outline-offset: 2px;
}
.woocommerce nav.woocommerce-pagination ul li span.page-numbers.current,
.navigation.pagination .nav-links span.page-numbers.current {
  background: #E86008; border-color: #E86008; color: #FFFDF8;
}
.woocommerce nav.woocommerce-pagination ul li span.page-numbers.dots {
  background: transparent; border-color: transparent; color: #8C8A7E;
  min-width: 26px; padding: 0; letter-spacing: .1em;
}
.woocommerce nav.woocommerce-pagination ul li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev { font-size: 1.15rem; padding: 0 .9rem; }
@media (max-width: 560px) {
  .woocommerce nav.woocommerce-pagination ul li a.page-numbers,
  .woocommerce nav.woocommerce-pagination ul li span.page-numbers { min-width: 42px; height: 42px; font-size: .9rem; }
}

/* ============ CONTACT: give the form room ============
   The row capped at 1180px and split 1.35fr/1fr, leaving the form 646px on a 1742px screen. */
@media (min-width: 1080px) {
  body.page-id-52 .ie-row__inner { max-width: 1320px; }
  body.page-id-52 .ie-contact { grid-template-columns: 1.62fr 1fr; gap: 4rem; }
}
body.page-id-52 .ie-contact__form .gform_wrapper .gform_fields { row-gap: 1.15rem; }
body.page-id-52 .ie-contact__form input[type="text"],
body.page-id-52 .ie-contact__form input[type="email"],
body.page-id-52 .ie-contact__form textarea { width: 100%; }
body.page-id-52 .ie-contact__form textarea { min-height: 190px; }

.ie-signup { max-width: 520px; margin: 1.6rem auto 0; }
.ie-signup--pop { margin: 1.4rem 0 0; max-width: none; }
.ie-signup__row { display: flex; gap: 0; }
.ie-signup input[type=email] { flex: 1 1 auto; min-width: 0; border: 1px solid rgba(0,40,80,.2);
  border-right: 0; border-radius: 2px 0 0 2px; padding: .95rem 1rem; font-size: 1rem;
  background: #FFFDF8; color: #002850; -webkit-appearance: none; }
.ie-signup input[type=email]:focus { outline: none; border-color: #E86008; box-shadow: 0 0 0 3px rgba(232,96,8,.14); }
.ie-signup__hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.ie-signup button { flex: 0 0 auto; border: 0; background: #E86008; color: #FFFDF8; cursor: pointer;
  padding: 0 1.5rem; border-radius: 0 2px 2px 0; font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; min-height: 52px; transition: background .18s ease; }
.ie-signup button:hover:not(:disabled) { background: #F26E12; }
.ie-signup button:disabled { opacity: .7; cursor: default; }
.ie-signup__msg { margin: .7rem 0 0; font-size: .9rem; min-height: 1.2em; }
.ie-signup__msg.is-ok { color: #F8B838; font-weight: 700; }
.ie-signup__msg.is-err { color: #E86008; }
.ie-signup__fine { margin: .5rem 0 0; font-size: .78rem; color: rgba(255,255,255,.55); }
.ie-signup--pop .ie-signup__fine { color: #8C8A7E; }
.ie-signup.is-done .ie-signup__row { opacity: .5; }
@media (max-width: 560px) {
  .ie-signup__row { flex-direction: column; gap: .6rem; }
  .ie-signup input[type=email] { border-right: 1px solid rgba(0,40,80,.2); border-radius: 2px; }
  .ie-signup button { border-radius: 2px; padding: .95rem; }
}
/* popup */
/* [hidden] MUST win: a bare `display:flex` here overrode the UA's
   `[hidden]{display:none}`, leaving an invisible full-screen overlay at
   z-index 99999 that swallowed every click and broke site navigation. */
.ie-pop[hidden] { display: none !important; }
.ie-pop { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center;
  background: rgba(6,14,26,.62); opacity: 0; transition: opacity .25s ease; padding: 1.2rem; }
.ie-pop.is-open { opacity: 1; }
.ie-pop__box { background: #FFFDF8; border-radius: 5px; max-width: 460px; width: 100%; padding: 2.4rem 2rem 2rem;
  position: relative; box-shadow: 0 30px 70px rgba(0,20,44,.35); transform: translateY(12px); transition: transform .25s ease; }
.ie-pop.is-open .ie-pop__box { transform: translateY(0); }
.ie-pop__box:before { content:""; position:absolute; top:0; left:0; right:0; height:5px; border-radius:5px 5px 0 0;
  background: linear-gradient(90deg,#E86008 0 33.4%,#F8B838 33.4% 66.7%,#10A8B8 66.7% 100%); }
.ie-pop__x { position: absolute; top: .7rem; right: .9rem; background: none; border: 0; font-size: 1.7rem;
  line-height: 1; color: #8C8A7E; cursor: pointer; }
.ie-pop__x:hover { color: #E86008; }
.ie-pop__eyebrow { color: #E86008; font-size: .72rem; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; margin: 0 0 .6rem; }
.ie-pop__title { color: #002850; font-size: 1.85rem; font-weight: 800; margin: 0 0 .6rem; line-height: 1.2; }
.ie-pop__sub { color: #5A6670; font-size: 1rem; line-height: 1.65; margin: 0; }
@media (prefers-reduced-motion: reduce) { .ie-pop, .ie-pop__box { transition: none; } }