/* HCL Section 02 — shipping-only layout with approved V4.1 animation and admin QA offsets. */
.hcl-s02v31,.hcl-s02v31 *{box-sizing:border-box}
.hcl-s02v31{width:100%!important;min-width:0;flex:0 0 auto!important;margin:0!important;
 padding:16px 14px 10px!important;background:#FAF8F2!important;border-bottom:0;
 color:#214b32;font-family:inherit}
.hcl-s02v31[hidden]{display:none!important}
/* V4.1 approved shipping styles: production consolidation. */
.hcl-s02v31.hcl-lux-v41-active {
  padding: 12px 14px 0 !important; /* major-section vertical rhythm; card inset unchanged */
}
.hcl-s02v31 .hcl-lux-v41 {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 !important; /* last child: retain the measured section-to-product rhythm */
}
.hcl-lux-v41-card {
  cursor:pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: 14px; /* identical inner padding on all four sides */
  border: 1px solid #C9DDBE;
  border-radius: 12px;
  color: #183F31;
  background: linear-gradient(125deg,#F0F6E7 0%,#EAF2DF 55%,#F0F6E7 100%);
  box-shadow: none !important; /* NO dark shadow */
  filter: none !important;
}
.hcl-lux-v41-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid transparent;
  border-radius: 8px;
  pointer-events: none;
}
.hcl-lux-v41-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #245B33;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  letter-spacing: .85px;
}
.hcl-lux-v41-star { color: #A67524; font-size: 10px; }
.hcl-lux-v41-main {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.hcl-lux-v41-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: #FFFDF5;
  border: 1px solid #245B3B;
  border-radius: 10px;
  background: #245B3B;
}
.hcl-lux-v41-icon svg { width: 25px; height: 25px; }
.hcl-lux-v41-copy { min-width: 0; flex: 1; }
.hcl-lux-v41-title {
  margin: 0;
  color: #183F31;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: -.2px;
  overflow-wrap: anywhere;
}
.hcl-lux-v41-title span { color: #986514; }
.hcl-lux-v41-sub {
  margin: 3px 0 0;
  color: #405C48;
  font-size: 12px;
  line-height: 16px;
}
/* The reward icon occupies only its own slot (no overlap with heading). */
.hcl-lux-v41-gift {
  display: grid;
  place-items: center;
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  overflow: visible;
  border: 0; /* no circle or badge */
  border-radius: 0;
  background: transparent; /* let the emerald card show through */
  color: #A67524; /* gift outline must remain visible without pale badge */
  box-shadow: none !important;
  filter: none !important;
}
.hcl-lux-v41-gift svg {
  display: block;
  width: 36px;
  height: 36px;
  overflow: visible;
}
.hcl-lux-v41-gift-lid {
  transform-box: view-box;
  transform-origin: 35px 24px;
  transform: translate(-6px,-12px) rotate(-24deg); /* static end state */
}
.hcl-lux-v41-gift-rays { opacity: 1; }
.hcl-lux-v41-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 12px 0 7px;
  color: #245B33;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .15px;
}
.hcl-lux-v41-labels strong {
  color: #245B33;
  font-size: 11px;
  font-weight: 750;
  line-height: 16px;
  white-space: nowrap;
  letter-spacing: .2px;
}
.hcl-lux-v41-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #C9DDBE;
}
.hcl-lux-v41-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #2F6B3D;
  transform: scaleX(1);
  transform-origin: left center;
}
.hcl-lux-v41-footer {
  margin: 9px 0 0;
  color: #315D40;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  /* No redundant bottom ornaments */
}
.hcl-lux-v41-card.is-playing .hcl-lux-v41-fill {
  animation: hcl-lux-v41-fill 1.25s cubic-bezier(.22,.7,.2,1) both;
}
.hcl-lux-v41-card.is-playing .hcl-lux-v41-gift-lid {
  animation: hcl-lux-v41-lid .62s cubic-bezier(.2,.75,.24,1) 1.15s both;
}
.hcl-lux-v41-card.is-playing .hcl-lux-v41-gift-rays {
  animation: hcl-lux-v41-rays .42s ease-out 1.4s both;
}
.hcl-lux-v41-card.is-playing .hcl-lux-v41-gift {
  animation: hcl-lux-v41-pop .42s cubic-bezier(.25,.8,.25,1) 1.25s both;
}
@keyframes hcl-lux-v41-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes hcl-lux-v41-lid {
  0%, 18% { transform: translate(0,0) rotate(0); }
  65% { transform: translate(-7px,-15px) rotate(-31deg); }
  100% { transform: translate(-6px,-12px) rotate(-24deg); }
}
@keyframes hcl-lux-v41-rays {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hcl-lux-v41-pop {
  0% { transform: scale(1); }
  55% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hcl-lux-v41-card.is-playing .hcl-lux-v41-fill,
  .hcl-lux-v41-card.is-playing .hcl-lux-v41-gift,
  .hcl-lux-v41-card.is-playing .hcl-lux-v41-gift-lid,
  .hcl-lux-v41-card.is-playing .hcl-lux-v41-gift-rays {
    animation: none !important;
  }
  .hcl-lux-v41-card.is-playing .hcl-lux-v41-fill { transform: scaleX(1); }
  .hcl-lux-v41-card.is-playing .hcl-lux-v41-gift { transform: none; }
  .hcl-lux-v41-card.is-playing .hcl-lux-v41-gift-lid {
    transform: translate(-6px,-12px) rotate(-24deg);
  }
  .hcl-lux-v41-card.is-playing .hcl-lux-v41-gift-rays { opacity: 1; }
}
/* Admin-only QA geometry. Woo's content has an additional toolbar reservation;
 * Section 01 now supplies an external 64px cart header, so that reservation
 * must not appear AGAIN above Section 02. Reset margin AND padding.
 * Public side cart is unaffected. */
body.admin-bar .wc-block-mini-cart__drawer.hcl-cart-s01
 > .wc-block-components-drawer__content{padding-top:0!important;margin-top:0!important}
/* Desktop and tablet toolbar stays fixed; retain the approved QA offsets. */
@media(min-width:783px){body.admin-bar .wc-block-mini-cart__drawer.hcl-cart-s01{
 top:32px!important;height:calc(100dvh - 32px)!important;max-height:calc(100dvh - 32px)!important}}
@media(min-width:601px) and (max-width:782px){body.admin-bar .wc-block-mini-cart__drawer.hcl-cart-s01{
 top:46px!important;height:calc(100dvh - 46px)!important;max-height:calc(100dvh - 46px)!important}}
/* WP mobile admin toolbar is ABSOLUTE, not fixed. Its visible remainder
 * depends on document scroll position. The QA-only JS sets the variable from
 * the actual admin-bar rectangle rather than forcing a constant 46px gap. */
@media(max-width:600px){body.admin-bar .wc-block-mini-cart__drawer.hcl-cart-s01{
 top:var(--hcl-s02-qa-admin-offset,0px)!important;
 height:calc(100dvh - var(--hcl-s02-qa-admin-offset,0px))!important;
 max-height:calc(100dvh - var(--hcl-s02-qa-admin-offset,0px))!important}}

/* HCL Section 02.5 — Prepaid offer. A sibling of Section 02, same design tokens.
 * No extra stylesheet, new observer, font import, or checkout price manipulation. */
.hcl-s025,.hcl-s025 *{box-sizing:border-box}
.hcl-s025{
 width:auto;max-width:none;min-width:0;
 margin:12px 14px 12px;font-family:inherit
}
.hcl-s025-card{
  cursor:pointer;
 display:flex;align-items:flex-start;gap:10px;width:100%;min-width:0;
 padding:12px;border:1px solid #E6CFAC;border-radius:12px;
 background:linear-gradient(115deg,#FFF8EC 0%,#FFF0DB 100%);
 color:#183F31;box-shadow:0 2px 8px rgba(19,55,37,0)
}
.hcl-s025-icon{
 display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;
 border:1px solid #245B3B;border-radius:9px;
 background:#245B3B;color:#FFFDF5
}
.hcl-s025-icon svg{display:block;width:19px;height:19px}
.hcl-s025-body{flex:1 1 auto;min-width:0}
.hcl-s025-label{
 display:block;margin:0 0 4px;color:#315D40;font-size:10px;
 font-weight:700;line-height:1.3;letter-spacing:.075em
}
.hcl-s025 h3{
 margin:0 0 4px;padding:0;color:#183F31;font-size:18px;
 font-weight:700;line-height:1.32;letter-spacing:-.015em
}
.hcl-s025-desc{margin:0;color:#405C48;font-size:12.5px;line-height:1.5}
.hcl-s025-foot{display:flex;align-items:flex-start;gap:6px;margin-top:8px;color:#405C48}
.hcl-s025-foot svg{display:block;flex:0 0 14px;width:14px;height:14px;margin-top:1px;color:#2F6B3D}
.hcl-s025-note{margin:0;color:#405C48;font-size:11.2px;line-height:1.45}
@media(max-width:390px){
 .hcl-s025-card{gap:9px;padding:11px}
 .hcl-s025-icon{flex-basis:32px;width:32px;height:32px}
 .hcl-lux-v41-title,.hcl-s025 h3{font-size:16px}
 .hcl-s025-desc{font-size:12px}
 .hcl-s025-note{font-size:11px}
}

@media (max-width:359px) {
  /* Match Section 03's existing 10px product/coupon inset at narrow widths. */
  .hcl-s02v31.hcl-lux-v41-active { padding: 12px 10px 0 !important; }
  .hcl-lux-v41-card { padding: 12px; }
  .hcl-lux-v41-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .hcl-lux-v41-sub { font-size: 11px; }
  .hcl-lux-v41-main { gap: 8px; }
  .hcl-lux-v41-eyebrow { font-size: 9px; letter-spacing: .6px; }
  .hcl-s025 { margin-left: 10px; margin-right: 10px; }
}
