/** Shopify CDN: Minification failed

Line 8:5 Unexpected "="
Line 857:0 Expected "}" to go with "{"

**/
     FAM — First Add Modal
     ================================================================ */

  /* --- CSS-only scroll lock: no JS body.style changes needed --- */
  html:has(dialog[open].fam) {
    overflow: hidden !important;
  }

  .fam {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 16px;
    max-width: 720px;
    width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    background-color: #3a3a3a;
    box-shadow: 0 12px 48px rgb(0 0 0 / 0.35);
    overflow: visible;
    color: #fff;
  }
  /* Mobile: modal at top, fixed height, no scroll – content scales to fit */
  @media screen and (max-width: 600px) {
    .fam {
      top: 16px;
      top: max(16px, env(safe-area-inset-top));
      transform: translateX(-50%);
      height: calc(100dvh - 32px);
      max-height: none;
      overflow: hidden;
      container-type: size;
      container-name: fam-modal;
    }
  }

  /* Removed animation rules that relied on undefined CSS vars
     (--animation-speed, --animation-easing) which caused
     dialog-component's closeDialog() to hang on onAnimationEnd */

  /* Override base .dialog-modal[open] so our transform centering isn’t affected */
  .fam[open] {
    animation: none;
  }

  .fam .fam__heading,
  .fam h2.fam__heading {
    font-family: 'Bevan', serif !important;
    color: #ffffff !important;
  }

  .fam::backdrop {
    background-color: rgb(0 0 0 / 0.55);
  }

  .fam__page {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  @media screen and (max-width: 600px) {
    .fam__page {
      overflow: hidden;
      max-height: none;
      height: 111%;
      transform: scale(0.9);
      transform-origin: top center;
      display: flex;
      flex-direction: column;
    }
    @container fam-modal (max-height: 420px) {
      .fam__page {
        transform: scale(0.65);
        transform-origin: top center;
        height: 153.8%;
      }
    }
    @container fam-modal (max-height: 480px) {
      .fam__page {
        transform: scale(0.72);
        transform-origin: top center;
        height: 138.9%;
      }
    }
    @container fam-modal (max-height: 540px) {
      .fam__page {
        transform: scale(0.78);
        transform-origin: top center;
        height: 128.2%;
      }
    }
    @container fam-modal (max-height: 600px) {
      .fam__page {
        transform: scale(0.84);
        transform-origin: top center;
        height: 119%;
      }
    }
    @container fam-modal (max-height: 660px) {
      .fam__page {
        transform: scale(0.9);
        transform-origin: top center;
        height: 111.1%;
      }
    }
  }

  .fam__page[hidden] {
    display: none;
  }

  /* ---- Shared layout ---- */
  .fam__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    min-height: 340px;
  }

  @media screen and (max-width: 600px) {
    .fam__layout {
      grid-template-columns: 1fr;
    }
  }

  /* ---- Image column ---- */
  .fam__image-col {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 32px 12px 24px 24px;
    position: relative;
  }

  .fam__image-col--single {
    align-items: center;
    justify-content: center;
  }

  /* ---- Page 1: two images side by side, centered ---- */
  .fam__page--1 .fam__image-col {
    min-height: 200px;
    gap: 12px;
  }
  /* More gap between case images on small screens (e.g. iPhone) so they don’t touch */
  @media screen and (max-width: 600px) {
    .fam__page--1 .fam__image-col {
      gap: 12px;
      flex-shrink: 0;
      padding-top: 8px;
      padding-bottom: 8px;
    }
    .fam__page--1 .fam__product-img {
      width: 48%;
      max-width: 200px;
      object-fit: contain;
    }
  }
  @media screen and (min-width: 601px) {
    .fam__page--1 .fam__image-col {
      flex-direction: row;
      align-items: center;
      justify-content: center;
      padding: 32px 24px 32px 24px;
      min-height: 220px;
      gap: 16px;
    }
    .fam__page--1 .fam__product-img {
      width: 54%;
      max-width: 165px;
    }
    .fam__page--1 .fam__product-img--2 {
      margin-left: 0;
    }
  }

  /* ---- Page 3 dual-image layout ---- */
  .fam__image-col--p3 {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-bottom: 32px;
  }

  .fam__p3-img-case {
    width: 50%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgb(0 0 0 / 0.3));
  }

  .fam__p3-plus {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 8px;
    flex-shrink: 0;
    align-self: center;
  }

  .fam__p3-wallet-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fam__p3-price-label {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    white-space: nowrap;
  }

  .fam__p3-img-wallet {
    width: 100%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgb(0 0 0 / 0.3));
  }

  .fam__heading--p3 {
    text-transform: uppercase;
  }

  .fam__body--p3 {
    text-align: center;
  }

  /* ---- Page 4 four-image grid layout ---- */
  .fam__image-col--p4 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 28px 20px 24px;
  }

  .fam__p4-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
  }

  .fam__p4-img {
    width: 42%;
    max-width: 160px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgb(0 0 0 / 0.3));
  }

  .fam__badge--p4 {
    position: absolute;
    top: -10px;
    right: -10px;
    left: auto;
    transform: none;
    width: 56px;
    height: 56px;
    font-size: 13px;
  }

  .fam__product-img {
    width: 48%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    filter: drop-shadow(0 4px 12px rgb(0 0 0 / 0.3));
  }

  .fam__product-img--2 {
    margin-left: 8px;
  }
  .fam__page--1 .fam__product-img--2 {
    margin-left: 0;
  }

  .fam__product-img--single {
    width: 70%;
    max-width: 260px;
    margin-left: 0;
  }

  .fam__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 240px;
  }

  /* ---- Badge ---- */
  .fam__badge {
    position: absolute;
    top: 2px;
    left: 48%;
    transform: translateX(-50%);
    z-index: 2;
    width: 76px;
    height: 76px;
    background-color: #c47a2a;
    color: #fff;
    font-family: 'Poppins';
    font-style: italic;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.3);
    clip-path: polygon(
      50% 0%, 63% 10%, 78% 2%, 82% 18%, 98% 20%, 93% 35%,
      100% 50%, 93% 65%, 98% 80%, 82% 82%, 78% 98%, 63% 90%,
      50% 100%, 37% 90%, 22% 98%, 18% 82%, 2% 80%, 7% 65%,
      0% 50%, 7% 35%, 2% 20%, 18% 18%, 22% 2%, 37% 10%
    );
  }

  .fam__badge--p2 {
    font-size: 14px;
  }

  .fam__badge--p1-special {
    width: 90px;
    height: 90px;
    padding: 10px;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fff;
    color: #1a1a1a;
    font-style: normal;
    font-size: 14px;
    box-shadow: 0 2px 12px rgb(0 0 0 / 0.2);
    /* 24-point starburst, less spikey (inner radius 45%): outer then inner every 7.5° */
    clip-path: polygon(
      50% 0%, 44% 5%, 37% 2%, 33% 8%, 25% 7%, 23% 14%, 15% 15%, 14% 23%, 7% 25%, 8% 33%, 2% 37%, 5% 44%, 0% 50%, 5% 56%, 2% 63%, 8% 67%, 7% 75%, 14% 77%, 15% 85%, 23% 86%, 25% 93%, 33% 92%, 37% 98%, 44% 96%, 50% 100%, 56% 96%, 63% 98%, 67% 92%, 75% 93%, 77% 86%, 85% 85%, 86% 77%, 93% 75%, 92% 67%, 98% 63%, 93% 56%, 100% 50%, 96% 44%, 98% 37%, 92% 33%, 93% 25%, 86% 23%, 85% 15%, 77% 14%, 75% 7%, 67% 8%, 63% 2%, 56% 5%
    );
  }

  .fam__badge-compare {
    text-decoration: line-through;
    color: #c00;
    font-size: 13px;
  }

  .fam__badge-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
  }

  /* Desktop: page 1 badge on top right of second (right-hand) case image */
  @media screen and (min-width: 601px) {
    .fam__page--1 .fam__badge--p1-special {
      left: auto;
      right: calc(50% + 16px);
      top: 12px;
      transform: none;
    }
  }
  /* Mobile: page 1 badge in top-right corner of modal */
  @media screen and (max-width: 600px) {
    .fam__badge {
      top: 0px;
      left: auto;
      right: 24px;
      transform: none;
    }
  }

  /* ---- Text column ---- */
  .fam__text-col {
    padding: 36px 28px 28px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .fam__page--1 .fam__text-col {
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 340px;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
  }

  .fam__page--1 .fam__text-col .fam__body {
    max-width: 100%;
  }

  @media screen and (max-width: 600px) {
    .fam__text-col {
      padding: 0 24px 24px;
      text-align: center;
      align-items: center;
    }

    .fam__page--1 .fam__text-col {
      max-width: 100%;
    }
  }

  .fam__heading {
    font-family: 'Bevan', serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff !important;
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }

  @media screen and (min-width: 601px) {
    .fam__heading {
      font-size: 26px;
    }
  }

  .fam__body {
    font-size: 13px;
    color: white;
    line-height: 1.6;
    margin: 0 0 22px;
    max-width: 340px;
  }

  @media screen and (max-width: 600px) {
    .fam__body {
      max-width: 100%;
    }
  }

  .fam__wallet-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px;
  }

  /* ---- Dropdown field ---- */
  .fam__field {
    margin-bottom: 18px;
    width: 100%;
    max-width: 260px;
  }

  @media screen and (max-width: 600px) {
    .fam__field {
      max-width: 100%;
    }
  }

  .fam__label {
    display: block;
    font-family: 'Bevan', serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 6px;
  }

  .fam__select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
  }

  .fam__select:focus {
    outline: 2px solid #2e7d32;
    outline-offset: 1px;
  }

  /* ---- Page 1: text block, dropdowns, and CTA all same width (column max-width 340px) ---- */
  .fam__page--1 .fam__field {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .fam__page--1 .fam__text-col .fam__cta {
    width: 100%;
    display: block;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }

  /* ---- Green CTA (all pages including page 1, same as page 2) ---- */
  .fam .fam__cta {
    display: inline-block;
    padding: 14px 36px;
    background-color: #2e7d32;
    color: #fff;
    font-family: 'Bevan', 'Georgia', serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-align: center;
    white-space: normal;
    overflow: visible;
    min-height: 48px;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .fam .fam__cta:hover {
    background-color: #256b28;
    transform: scale(1.02);
  }

  .fam .fam__cta:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  /* ---- Footer / No thanks ---- */
  .fam__footer {
    display: flex;
    justify-content: center;
    padding: 0 32px 24px;
  }

  .fam__dismiss {
    background-color: #1a1a1a;
    border: none;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    padding: 10px 24px;
    letter-spacing: 0.02em;
    border-radius: 6px;
    font-family:'Poppins';
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .fam__dismiss:hover {
    background-color: #000;
    color: #fff;
  }

  .fam__dismiss--dark {
    background-color: #222;
    color: #fff;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
  }

  .fam__dismiss--dark:hover {
    background-color: #111;
  }

  /* ---- Free shipping bar ---- */
  .fam__shipping-bar {
    padding: 18px 32px 16px;
    text-align: center;
    border-radius: 16px 16px 0 0;
  }

  .fam__shipping-text {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .fam__shipping-track {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
  }

  .fam__shipping-fill {
    height: 100%;
    background: linear-gradient(90deg, #2e7d32, #43a047);
    border-radius: 5px;
    transition: width 0.3s ease;
  }

  /* ---- Page 2 BOGO layout ---- */
  .fam__page--bogo {
    padding: 0 0 24px;
  }

  .fam__bogo-headline {
    text-align: center;
    padding: 24px 24px 12px;
    background-color: #3a3a3a;
  }

  @media screen and (max-width: 700px) {
    .fam__bogo-headline {
      padding: 16px 16px 8px;
    }

    .fam__page--bogo {
      padding: 0 0 12px;
    }

    .fam__page--bogo .fam__footer {
      padding: 0 20px 16px;
    }
  }

  .fam__bogo-title {
    font-family: 'Poppins', serif;
    font-size: 13px;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.02em;
    line-height: 1.3;
  }

  .fam__shipping-bar--p2 {
    padding: 0 32px 20px;
    border-radius: 0;
  }

  @media screen and (max-width: 700px) {
    .fam__shipping-bar--p2 {
      padding: 0 20px 12px;
    }
  }

  .fam__shipping-bar--p2 .fam__shipping-track {
    height: 12px;
    border-radius: 6px;
  }

  .fam__bogo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 32px 24px;
    align-items: center;
  }

  @media screen and (max-width: 700px) {
    .fam__bogo-layout {
      grid-template-columns: 1fr;
      gap: 0px;
      padding: 20px 20px 16px;
    }

    .fam__bogo-left {
      gap: 10px;
      margin-bottom:-15px;
    }

    .fam__bogo-block {
      width: 110px;
    }

    .fam__bogo-img-wrap {
      max-width: 90px;
    }

    .fam__bogo-label {
      font-size: 10px;
    }

    .fam__bogo-price,
    .fam__bogo-price-free {
      font-size: 13px;
      margin: 0 0 6px;
    }

    .fam__bogo-amp {
      font-size: 22px;
    }

    .fam__bogo-more {
      font-size: 22px;
      margin: 0 0 4px;
    }

    .fam__bogo-desc {
      font-size: 12px;
      margin: 0 0 4px;
    }

    .fam__bogo-right {
      margin-top: 0 !important;
      gap: 2px;
    }

    .fam__bogo-right .fam__field {
      margin-bottom: 10px;
    }
  }

  @media screen and (max-width: 400px) {
    .fam__bogo-left {
      flex-wrap: wrap;
      justify-content: center;
    }
    .fam__bogo-block {
      width: 120px;
    }
  }

  .fam__bogo-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap;
  }

  .fam__bogo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 auto;
    width: 140px;
  }

  .fam__bogo-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin: 0 0 4px;
  }

  .fam__bogo-price,
  .fam__bogo-price-free {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
  }

  .fam__bogo-price-free .fam__bogo-strike {
    text-decoration: line-through;
    color: #c00;
    margin-right: 6px;
  }

  .fam__bogo-img-wrap {
    width: 100%;
    max-width: 120px;
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  .fam__bogo-wallet-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
  }

  .fam__bogo-amp {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
  }

  .fam__bogo-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    align-items: center;
    margin-top:20px !important;
  }

  .fam__bogo-right .fam__field {
    width: 100%;
    max-width: 260px;
  }

  .fam__bogo-right .fam__cta {
    width: 100%;
    max-width: 260px;
    display: block;
    text-align: center;
    box-sizing: border-box;
  }

  .fam__bogo-more {
    font-family: 'Bevan', serif !important;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
  }

  .fam__bogo-desc {
    font-size: 13px;
    color: white;
    line-height: 1.5;
    margin: 0 0 8px;
