.ai-portrait-shopify-embed {
    width: 100%;
    max-width: 460px;
    margin: 8px auto 0;
    line-height: 0;
    overflow: visible;
  }

  .ai-portrait-shopify-embed iframe {
    display: block;
    width: 100%;
    height: 185px;
    min-height: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: hidden;
  }

  .ai-portrait-parent-viewer[hidden] {
    display: none !important;
  }

  .ai-preview-cart-drawer[hidden] {
    display: none !important;
  }

  .ai-preview-cart-drawer,
  .ai-preview-cart-drawer *,
  .ai-preview-upsell-modal,
  .ai-preview-upsell-modal *,
  .ai-portrait-parent-viewer,
  .ai-portrait-parent-viewer * {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-synthesis: none;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
  }

  .ai-preview-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background 0.22s ease;
  }

  .ai-preview-cart-drawer.is-open {
    background: rgba(0, 0, 0, 0.45);
    pointer-events: auto;
  }

  .ai-preview-cart-drawer__overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .ai-preview-cart-drawer__panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(620px, 100vw);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    color: #050505;
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.28);
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-synthesis: none;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    transform: translateX(100%);
    transition: transform 0.22s ease;
    display: flex;
    flex-direction: column;
  }

  .ai-preview-cart-drawer.is-open .ai-preview-cart-drawer__panel {
    transform: translateX(0);
  }

  .ai-preview-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 18px 18px 16px;
    border-bottom: 1px solid #d7e3e7;
  }

  .ai-preview-cart-drawer__header h2 {
    margin: 0;
    color: #050505;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0;
  }

  .ai-preview-cart-drawer__close {
    width: 40px;
    height: 40px;
    border: 2px solid #050505;
    border-radius: 999px;
    background: #fff;
    color: #050505;
    font: 700 22px/1 "Segoe UI", Arial, Helvetica, sans-serif;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .ai-preview-cart-drawer__body {
    flex: 1 1 auto;
    padding: 22px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ai-preview-cart-drawer__promo {
    margin: 0 0 18px;
    padding: 0 0 16px;
    border-bottom: 1px solid #d7e3e7;
    color: #050505;
    text-align: center;
  }

  .ai-preview-cart-drawer__promo p {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
  }

  .ai-preview-cart-drawer__promo strong {
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
  }

  .ai-preview-cart-drawer__progress {
    position: relative;
    width: 100%;
    height: 9px;
    margin: 16px 0 8px;
    border-radius: 999px;
    background: #d8f5fa;
  }

  .ai-preview-cart-drawer__progress-fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #1dc5e2;
  }

  .ai-preview-cart-drawer__truck {
    position: absolute;
    right: -2px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #1dc5e2;
    transform: translateY(-50%);
    box-shadow: 0 5px 12px rgba(29, 197, 226, 0.35);
  }

  .ai-preview-cart-drawer__truck svg {
    width: 18px;
    height: 18px;
    fill: #050505;
  }

  .ai-preview-cart-drawer__items {
    display: grid;
    gap: 12px;
  }

  .ai-preview-cart-drawer__item {
    position: relative;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 42px 16px 14px;
    border: 1px solid #d7e3e7;
    border-radius: 8px;
    background: #fff;
  }

  .ai-preview-cart-drawer__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #050505;
    font: 700 22px/1 "Segoe UI", Arial, Helvetica, sans-serif;
    cursor: pointer;
  }

  .ai-preview-cart-drawer__image {
    width: 92px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #050505;
    background: #eef4f6;
  }

  .ai-preview-cart-drawer__image--placeholder {
    display: block;
  }

  .ai-preview-cart-drawer__details {
    display: grid;
    gap: 7px;
    color: #050505;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
  }

  .ai-preview-cart-drawer__details strong {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ai-preview-cart-drawer__quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 54px;
    min-height: 30px;
    margin-top: 4px;
    padding: 0 10px;
    border: 1px solid #d7e3e7;
    border-radius: 999px;
    color: #050505;
    background: #f6fbfc;
    font-size: 14px;
    font-weight: 600;
  }

  .ai-preview-cart-drawer__item-discount {
    display: inline-flex;
    align-items: center;
    width: max-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef1f2;
    color: #1f7a3a;
    font-size: 14px;
    font-weight: 700;
  }

  .ai-preview-cart-drawer__project-quantity {
    white-space: nowrap;
  }

  .ai-preview-cart-drawer__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
  }

  .ai-preview-cart-drawer__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
  }

  .ai-preview-cart-drawer__price.has-visual-discount strong {
    color: #15803d;
    font-weight: 800;
  }

  .ai-preview-cart-drawer__price s,
  .ai-preview-cart-drawer__total s,
  .ai-preview-cart-drawer__upgrade s {
    color: #7d8588;
    font-weight: 700;
  }

  .ai-preview-cart-drawer__upgrade {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 42px;
    margin-top: 2px;
    border: 2px solid #1dc5e2;
    border-radius: 8px;
    background: #e9fbff;
    color: #050505;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
  }

  .ai-preview-cart-drawer__footer {
    position: sticky;
    bottom: 0;
    flex: 0 0 auto;
    padding: 18px 20px 20px;
    border-top: 1px solid #d7e3e7;
    background: #fff;
    box-shadow: 0 -10px 22px rgba(0, 0, 0, 0.06);
  }

  .ai-preview-cart-drawer__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #050505;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
  }

  .ai-preview-cart-drawer__discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 8px;
    color: #15803d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
  }

  .ai-preview-cart-drawer__discount[hidden] {
    display: none !important;
  }

  .ai-preview-cart-drawer__terms {
    margin: 0 0 14px;
    color: #5f686c;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
  }

  .ai-preview-cart-drawer__terms a {
    color: inherit;
    font-weight: inherit;
    text-decoration: underline;
  }

  .ai-preview-cart-drawer__checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 62px;
    margin-top: 10px;
    border-radius: 8px;
    border: 2px solid #050505;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }

  .ai-preview-cart-drawer__checkout {
    background: #1dc5e2;
    color: #050505;
  }

  .ai-preview-cart-drawer__empty {
    margin: 28px 0;
    color: #050505;
    text-align: center;
    font: 800 18px/1.4 "Segoe UI", Arial, Helvetica, sans-serif;
  }

  .ai-preview-cart-drawer__empty-button {
    width: 100%;
    max-width: 260px;
    margin: 16px auto 0;
    padding: 14px 18px;
    border: 0;
    border-radius: 8px;
    background: #1dc5e2;
    color: #050505;
    cursor: pointer;
    font: 700 15px/1 "Segoe UI", Arial, Helvetica, sans-serif;
  }

  .ai-preview-cart-drawer.is-empty .ai-preview-cart-drawer__promo,
  .ai-preview-cart-drawer.is-empty .ai-preview-cart-drawer__footer {
    display: none;
  }

  .ai-preview-cart-drawer__future[hidden] {
    display: none;
  }

  .ai-preview-cart-drawer__upsell {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d7e3e7;
  }

  .ai-preview-cart-drawer__upsell h3 {
    margin: 0 0 8px;
    color: #050505;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
  }

  .ai-preview-cart-drawer__upsell > p {
    margin: 0 0 14px;
    color: #303030;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
  }

  .ai-preview-cart-drawer__upsell-note {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin: 0 0 14px !important;
    padding: 7px 10px;
    border: 1px solid #d7e3e7;
    border-radius: 999px;
    background: #f4f7f8;
    color: #050505 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  .ai-preview-cart-drawer__upsell-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .ai-preview-cart-drawer__upsell-tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #d7e3e7;
    border-radius: 999px;
    background: #fff;
    color: #050505;
    cursor: pointer;
    font: 700 13px/1 "Segoe UI", Arial, Helvetica, sans-serif;
  }

  .ai-preview-cart-drawer__upsell-tab.is-active {
    border-color: #050505;
    background: #050505;
    color: #fff;
  }

  .ai-preview-cart-drawer__upsell-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 42%);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    padding-bottom: 4px;
  }

  .ai-preview-cart-drawer__upsell-card {
    position: relative;
    display: grid;
    gap: 8px;
    scroll-snap-align: start;
    padding: 10px;
    border: 1px solid #d7e3e7;
    border-radius: 8px;
    background: #fff;
  }

  .ai-preview-cart-drawer__upsell-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 6px;
    background: #eef4f6;
    cursor: zoom-in;
  }

  .ai-preview-cart-drawer__upsell-card strong {
    color: #050505;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ai-preview-cart-drawer__upsell-price {
    margin: 0;
    color: #050505;
    font-size: 14px;
  }

  .ai-preview-cart-drawer__upsell-price {
    display: grid;
    gap: 4px;
  }

  .ai-preview-cart-drawer__upsell-old-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
  }

  .ai-preview-cart-drawer__upsell-price strong {
    color: #15803d;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.05;
  }

  .ai-preview-cart-drawer__upsell-price-label {
    color: #576165;
    font-size: 12px;
    font-weight: 600;
  }

  .ai-preview-cart-drawer__upsell-price small {
    display: block;
    color: #687276;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
  }

  .ai-preview-cart-drawer__upsell-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef1f2;
    color: #4d575b;
    font-size: 11px;
    font-weight: 700;
  }

  .ai-preview-cart-drawer__upsell-action {
    min-height: 38px;
    border: 2px solid #1dc5e2;
    border-radius: 8px;
    background: #1dc5e2;
    color: #050505;
    cursor: pointer;
    font: 700 13px/1.1 "Segoe UI", Arial, Helvetica, sans-serif;
  }

  .ai-preview-upsell-modal[hidden] {
    display: none;
  }

  .ai-preview-upsell-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483200;
    display: grid;
    place-items: center;
    padding: 14px;
  }

  .ai-preview-upsell-modal__backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
  }

  .ai-preview-upsell-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100dvh - 28px);
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  }

  .ai-preview-upsell-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 68px;
    padding: 16px 18px;
    border-bottom: 1px solid #d7e3e7;
  }

  .ai-preview-upsell-modal__header p,
  .ai-preview-upsell-modal__header h2 {
    margin: 0;
  }

  .ai-preview-upsell-modal__header p {
    color: #1dc5e2;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .ai-preview-upsell-modal__header h2 {
    color: #050505;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
  }

  .ai-preview-upsell-modal__close {
    width: 40px;
    height: 40px;
    border: 2px solid #050505;
    border-radius: 999px;
    background: #fff;
    color: #050505;
    cursor: pointer;
    font: 700 22px/1 "Segoe UI", Arial, Helvetica, sans-serif;
  }

  .ai-preview-upsell-modal iframe {
    display: block;
    width: 100%;
    min-height: 560px;
    border: 0;
    background: #fff;
  }

  html.ai-preview-upsell-open {
    overflow: hidden;
  }

  .ai-portrait-parent-viewer {
    position: fixed;
    inset: 0;
    z-index: 2147483600;
    display: block;
    padding: 12px;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif !important;
    font-synthesis: none;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  .ai-portrait-parent-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
  }

  .ai-portrait-parent-viewer__dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(94vw, 560px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 2px solid #1dc5e2;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  }

  .ai-portrait-parent-viewer.is-product-preview .ai-portrait-parent-viewer__dialog {
    width: min(96vw, 1120px);
    max-width: calc(100vw - 24px);
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 14px;
  }

  .ai-portrait-parent-viewer__image {
    grid-column: 2;
    width: 100%;
    max-height: 70dvh;
    object-fit: contain;
    border: 2px solid #050505;
    border-radius: 8px;
    background: #f2f6f7;
  }

  .ai-portrait-parent-viewer.is-product-preview .ai-portrait-parent-viewer__image {
    max-height: min(76dvh, 860px);
  }

  .ai-portrait-parent-viewer__close,
  .ai-portrait-parent-viewer__nav {
    border: 2px solid #050505;
    border-radius: 999px;
    background: #fff;
    color: #050505;
    font: 700 26px/1 "Segoe UI", Arial, Helvetica, sans-serif;
    cursor: pointer;
  }

  .ai-portrait-parent-viewer__close {
    position: sticky;
    top: 0;
    grid-column: 1 / -1;
    justify-self: end;
    margin-bottom: -44px;
    width: 38px;
    height: 38px;
    z-index: 3;
  }

  .ai-portrait-parent-viewer__nav {
    width: 42px;
    height: 42px;
  }

  .ai-portrait-parent-viewer__prev {
    grid-column: 1;
  }

  .ai-portrait-parent-viewer__next {
    grid-column: 3;
  }

  .ai-portrait-parent-viewer__label,
  .ai-portrait-parent-viewer__actions {
    grid-column: 1 / -1;
  }

  .ai-portrait-parent-viewer__label {
    text-align: center;
    color: #050505;
    font: 700 18px/1.2 "Segoe UI", Arial, Helvetica, sans-serif;
  }

  .ai-portrait-parent-viewer__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ai-portrait-parent-viewer__choose,
  .ai-portrait-parent-viewer__improve {
    min-height: 54px;
    border: 2px solid #050505;
    border-radius: 8px;
    font: 700 17px/1.1 "Segoe UI", Arial, Helvetica, sans-serif;
    cursor: pointer;
  }

  .ai-portrait-parent-viewer__choose {
    background: #1dc5e2;
    color: #050505;
  }

  .ai-portrait-parent-viewer__improve {
    background: #050505;
    color: #fff;
  }

  html.ai-preview-product-active form[action*="/cart/add"] button[type="submit"],
  html.ai-preview-product-active form[action*="/cart/add"] [name="add"],
  html.ai-preview-product-active quantity-input,
  html.ai-preview-product-active .product-form__buttons,
  html.ai-preview-product-active .product-form__quantity,
  html.ai-preview-product-active .quantity,
  html.ai-preview-product-active .shopify-payment-button {
    display: none !important;
  }

  @media (max-width: 520px) {
    .ai-portrait-parent-viewer {
      padding: 10px;
    }

    .ai-portrait-parent-viewer__dialog {
      width: 96vw;
      grid-template-columns: 38px 1fr 38px;
      padding: 10px;
      gap: 8px;
    }

    .ai-portrait-parent-viewer__image {
      max-height: 64dvh;
    }

    .ai-portrait-parent-viewer.is-product-preview .ai-portrait-parent-viewer__dialog {
      width: 96vw;
      grid-template-columns: 38px 1fr 38px;
    }

    .ai-portrait-parent-viewer.is-product-preview .ai-portrait-parent-viewer__image {
      max-height: 60dvh;
    }
  }

  @media (max-width: 749px) {
    .ai-preview-cart-drawer__panel {
      width: 100vw;
    }

    .ai-preview-cart-drawer__header {
      min-height: 42px;
      padding: 10px 12px 9px;
    }

    .ai-preview-cart-drawer__header h2 {
      font-size: 17px;
      font-weight: 700;
    }

    .ai-preview-cart-drawer__close {
      width: 30px;
      height: 30px;
      border-width: 1.5px;
      font-size: 18px;
    }

    .ai-preview-cart-drawer__body {
      padding: 12px 12px 10px;
    }

    .ai-preview-cart-drawer__promo {
      margin-bottom: 10px;
      padding-bottom: 10px;
    }

    .ai-preview-cart-drawer__promo strong {
      font-size: 19px;
      font-weight: 700;
      line-height: 1.15;
    }

    .ai-preview-cart-drawer__promo p {
      margin-bottom: 5px;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.12;
      letter-spacing: 0;
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .ai-preview-cart-drawer__progress {
      height: 7px;
      margin: 7px 0 3px;
    }

    .ai-preview-cart-drawer__truck {
      width: 24px;
      height: 24px;
    }

    .ai-preview-cart-drawer__truck svg {
      width: 15px;
      height: 15px;
    }

    .ai-preview-cart-drawer__item {
      grid-template-columns: 76px 1fr;
      gap: 10px;
      padding: 12px 34px 12px 10px;
    }

    .ai-preview-cart-drawer__image {
      width: 76px;
    }

    .ai-preview-cart-drawer__details {
      gap: 5px;
      font-size: 13.5px;
      font-weight: 600;
      line-height: 1.25;
    }

    .ai-preview-cart-drawer__details strong {
      max-width: 100%;
      font-size: 16px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .ai-preview-cart-drawer__price {
      display: inline-flex;
      align-items: baseline;
      font-size: 13.5px;
      gap: 4px;
    }

    .ai-preview-cart-drawer__price-row {
      display: inline-flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 4px;
      min-width: 0;
    }

    .ai-preview-cart-drawer__price s {
      font-size: 12px;
    }

    .ai-preview-cart-drawer__price.has-visual-discount strong {
      font-size: 13.5px;
      line-height: 1.25;
    }

    .ai-preview-cart-drawer__item-discount {
      display: inline-flex;
      width: max-content;
      font-size: 11px;
      font-weight: 650;
    }

    .ai-preview-cart-drawer__quantity {
      min-height: 25px;
      font-size: 12px;
      font-weight: 500;
    }

    .ai-preview-cart-drawer__upgrade {
      min-height: 36px;
      font-size: 11.5px;
      font-weight: 700;
      gap: 3px;
    }

    .ai-preview-cart-drawer__footer {
      padding: 10px 12px 12px;
    }

    .ai-preview-cart-drawer__discount {
      margin-bottom: 5px;
      font-size: 13px;
      font-weight: 700;
    }

    .ai-preview-cart-drawer__total {
      margin-bottom: 7px;
      font-size: 16px;
      font-weight: 700;
    }

    .ai-preview-cart-drawer__terms {
      margin-bottom: 8px;
      font-size: 9px;
      font-weight: 400;
      line-height: 1.35;
    }

    .ai-preview-cart-drawer__checkout {
      min-height: 48px;
      margin-top: 6px;
      font-size: 18px;
      font-weight: 700;
    }

    .ai-preview-cart-drawer__upsell h3 {
      font-size: 18px;
    }

    .ai-preview-cart-drawer__upsell-tab {
      font-size: 12px;
      font-weight: 600;
    }

    .ai-portrait-parent-viewer {
      padding: 8px;
    }

    .ai-portrait-parent-viewer__dialog,
    .ai-portrait-parent-viewer.is-product-preview .ai-portrait-parent-viewer__dialog {
      width: min(98vw, 560px);
      max-width: calc(100vw - 16px);
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      padding: 8px;
    }

    .ai-portrait-parent-viewer__close {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 34px;
      height: 34px;
      margin: 0;
      border-width: 1.5px;
      background: rgba(255, 255, 255, 0.96);
      font-size: 20px;
    }

    .ai-portrait-parent-viewer__image,
    .ai-portrait-parent-viewer.is-product-preview .ai-portrait-parent-viewer__image {
      grid-column: 1 / -1;
      grid-row: 1;
      width: 100%;
      max-height: 72dvh;
    }

    .ai-portrait-parent-viewer.is-product-preview .ai-portrait-parent-viewer__image {
      max-height: 68dvh;
    }

    .ai-portrait-parent-viewer__nav {
      grid-row: 2;
      width: 100%;
      height: 38px;
      border-width: 1.5px;
      font-size: 24px;
    }

    .ai-portrait-parent-viewer__prev {
      grid-column: 1;
    }

    .ai-portrait-parent-viewer__next {
      grid-column: 2;
    }

    .ai-portrait-parent-viewer__label,
    .ai-portrait-parent-viewer__actions {
      grid-column: 1 / -1;
    }

    .ai-portrait-parent-viewer__choose,
    .ai-portrait-parent-viewer__improve {
      min-height: 48px;
      font-size: 15px;
    }
  }

  @media (min-width: 750px) {
    .ai-portrait-shopify-embed {
      max-width: 520px;
    }

    .ai-portrait-shopify-embed iframe {
      height: 185px;
      min-height: 0;
    }
  }
