/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 189:0 Unexpected "<"

**/
<style>
  .size-panel-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100%;
    z-index: 99999; /* aumentado */
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border-left: 1px solid #ddd;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.08);
  }

  .size-panel-overlay.active {
    transform: translateX(0%);
  }

  .size-panel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99998; /* corrigido */
  }

  .size-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    z-index: 99999; /* segurança extra */
  }

  .size-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }

  .panel-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
  }

  .close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
  }

  .important-notice {
    background-color: #f9f9f9;
    padding: 16px;
    font-size: 14px;
    line-height: 1.5;
    border-top: 2px solid #ccc;
    margin-bottom: 24px;
  }

  .important-notice p {
    margin: 6px 0;
    color: #333;
  }

  .collapsible-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .collapsible-field {
    border: 1px solid #ddd;
    border-radius: 0px;
    overflow: hidden;
    background: #fff;
  }

  .field-header {
    width: 100%;
    text-align: left;
    background: #f5f5f5;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111;
    transition: background 0.2s ease;
  }

  .field-header:hover {
    background-color: #ececec;
  }

  .field-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
  }

  .field-content.expanded {
    padding: 16px;
  }

  .table-wrapper {
    overflow-x: auto;
  }

  .size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: auto;
  }

  .size-table th,
  .size-table td {
    border: 1px solid #ccc;
    padding: 8px 10px;
    text-align: center;
    min-width: 65px; /* ajuda a alinhar melhor */
    white-space: nowrap; /* previne quebra de linha */
  }

  .size-table th {
    background-color: #eee;
    font-weight: 600;
  }

  .measurement-guide {
    margin-top: 32px;
    border-top: 1px solid #ccc;
    padding-top: 24px;
  }

  .measurement-guide h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
  }

  .measurement-guide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
  }

  @media (max-width: 480px) {
    .size-panel {
      padding: 16px;
    }

    .panel-title {
      font-size: 18px;
    }
  }

  /* Segurança para sobrepor tudo */
  main, .template-product, .product-wrapper {
    overflow: visible !important;
    position: relative;
    z-index: auto;
  }

</style>
