/** Shopify CDN: Minification failed

Line 48:1 Unexpected "{"
Line 48:6 Expected ":"
Line 160:1 Unexpected "{"
Line 160:6 Expected ":"
Line 166:1 Unexpected "{"
Line 166:6 Expected ":"
Line 210:1 Unexpected "{"
Line 210:6 Expected ":"
Line 217:1 Unexpected "{"
Line 217:6 Expected ":"
... and 9 more hidden warnings

**/
/* =============================================================================
   Tab-panel CONTENT styles (spec tables/cards, at-a-glance, FAQ accordion,
   fabric grids/lightbox, panel typography) — extracted verbatim from
   sections/ame-product-tabs.liquid's inline style block (2026-08-12) so the
   shared ame-pdp-* panel snippets are styled on pdp-v2 too. The legacy tabs
   section keeps its inline copy (identical rules). Tab ROW styles are
   deliberately excluded — pdp-v2 scopes its own under .ame-pdp.
   ============================================================================= */
/* "Watch It in Action" video grid in the Overview tab */
  .ame-overview-videos { margin-top: 28px; }
.ame-overview-videos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    max-width: 880px;
  }
.ame-overview-videos__grid > :only-child { max-width: 560px; }
.ame-tabs__panel {
    display: none;
    padding: 28px 32px;
    font-size: var(--ame-text-md);              /* absolute px — ADA-friendly base for 60+ */
    line-height: 1.7;
    color: #1a1d20;               /* near-black for AAA contrast on white */
    background: #fff;
    border: 1px solid var(--ame-border, #dee2e6);
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-top: 0;
  }
@media (max-width: 768px) {
.ame-tabs__panel { padding: 20px 18px; font-size: var(--ame-text-md); }

 {None}
}
.ame-tabs__panel p { margin: 0 0 18px 0; font-size: inherit; line-height: inherit; }
.ame-tabs__panel p:last-child { margin-bottom: 0; }
.ame-tabs__panel h2 {
    font-size: var(--ame-text-xl);
    font-weight: 700;
    color: #003052;
    margin: 24px 0 16px 0;
    line-height: 1.3;
    padding-bottom: 10px;
    border-bottom: 2px solid #f2c345;
  }
.ame-tabs__panel h2:first-child { margin-top: 0; }
.ame-tabs__panel h3 {
    font-size: var(--ame-text-lg);
    font-weight: 700;
    color: #003052;
    margin: 28px 0 10px 0;
    line-height: 1.35;
  }
.ame-tabs__panel h3:first-child { margin-top: 0; }
.ame-tabs__panel ul { padding-left: 24px; margin: 0 0 18px 0; font-size: inherit; }
.ame-tabs__panel li { margin-bottom: 8px; line-height: 1.6; font-size: inherit; }
.ame-tabs__panel a {
    color: #003052;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
.ame-tabs__panel a:hover, .ame-tabs__panel a:focus-visible { color: #d4a017; }
.ame-tabs__panel.is-active {
    display: block;
  }
.ame-tabs__panel ol {
    padding-left: 24px;
    margin: 0 0 18px 0;
    font-size: inherit;
  }
.ame-tabs__panel ol li { margin-bottom: 8px; line-height: 1.6; font-size: inherit; }
.ame-tabs__intro {
    margin-bottom: 24px;
    font-size: var(--ame-text-md);
    line-height: 1.7;
    color: #1a1d20;
  }
.ame-tabs__intro h3 {
    font-size: var(--ame-text-lg);
    font-weight: 700;
    margin: 24px 0 10px 0;
    line-height: 1.35;
    color: #1a1d20;
  }
.ame-tabs__intro h3:first-child { margin-top: 0; }
.ame-tabs__intro p { font-size: inherit; line-height: inherit; margin: 0 0 12px 0; }
.ame-tabs__panel h3:first-child { margin-top: 0; }
.ame-tabs__panel h3 + p { margin-top: 0; }
.ame-tabs__panel ul { margin: 0 0 var(--ame-space-3) var(--ame-space-5); padding: 0; }
.ame-tabs__panel li { margin-bottom: var(--ame-space-1, .25rem); }
.ame-tabs__panel a { color: var(--ame-primary, #0ea5e9); text-decoration: underline; text-underline-offset: 2px; }
.ame-tabs__panel a:hover { color: var(--ame-primary-dark, #0369a1); }
/* Hero/inline figures inside overview */
  .ame-overview__hero {
    margin: 0 0 var(--ame-space-4);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ame-border, #e5e7eb);
    display: block;
  }
.ame-overview__hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    margin: 0 auto;
  }
.ame-overview__inline {
    margin: 0 0 var(--ame-space-3);
    padding: 0;
    background: #fff;
    border: 1px solid var(--ame-border, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
  }
.ame-overview__inline img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
  }
.ame-overview__inline figcaption {
    padding: 8px 12px;
    font-size: var(--ame-text-sm);
    line-height: 1.4;
    color: #495057;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    text-align: center;
  }
@media screen and (min-width: 750px) {
.ame-overview__inline {
      max-width: 280px;
      margin: 4px 0 var(--ame-space-2);
    }
.ame-overview__inline--right { float: right; margin-left: var(--ame-space-4); }
.ame-overview__inline--left { float: left;  margin-right: var(--ame-space-4); }
/* Clear floats so the next h3 doesn't wrap awkwardly */
    .ame-tabs__panel h3 { clear: both; }

 {None}
}
@media screen and (max-width: 749px) {
.ame-overview__inline { float: none !important; max-width: 100%; }
.ame-overview__hero img { max-height: 320px; }

 {None}
}
/* Full-width feature image (cleared from floats, more visual weight) */
  .ame-overview__feature {
    clear: both;
    margin: var(--ame-space-4) 0;
    border: 1px solid var(--ame-border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }
.ame-overview__feature img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: center 40%;
  }
.ame-overview__feature figcaption {
    padding: 12px 16px;
    font-size: var(--ame-text-base);
    line-height: 1.4;
    color: #495057;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    text-align: center;
    font-style: italic;
  }
/* Stats callout grid */
  .ame-overview__stats {
    clear: both;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ame-space-2);
    margin: var(--ame-space-4) 0;
    padding: 0;
  }
@media screen and (min-width: 750px) {
.ame-overview__stats {
      grid-template-columns: repeat(3, 1fr);
      gap: var(--ame-space-3);
    }

 {None}
}
@media screen and (min-width: 1100px) {
.ame-overview__stats {
      grid-template-columns: repeat(6, 1fr);
    }

 {None}
}
.ame-overview__stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: var(--ame-space-3);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--ame-border, #e5e7eb);
    border-radius: 10px;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
  }
.ame-overview__stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
  }
.ame-overview__stat-num {
    font-size: var(--ame-text-xl);
    font-weight: 700;
    color: #003052;
    letter-spacing: -.01em;
    line-height: 1.15;
  }
.ame-overview__stat-label {
    font-size: var(--ame-text-xs);
    color: #495057;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
  }
/* Specs table */
  .ame-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--ame-text-md);
    line-height: 1.5;
  }
.ame-specs-table tr:nth-child(even) {
    background: #f8f9fa;
  }
.ame-specs-table th,
  .ame-specs-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: var(--ame-text-md);
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
  }
.ame-specs-table th {
    font-weight: 700;
    width: 40%;
    color: #1a1d20;
  }
.ame-specs-table td {
    color: #1a1d20;
  }
/* Spec table wrapped as a card to match the Overview/Customize cards:
     gold top accent + colored navy-blue header band. */
  .ame-spec-card {
    border: 1px solid #e2e8ef;
    border-top: 3px solid #f2c345;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 18px rgba(0, 48, 82, .07);
    margin-top: 6px;
  }
.ame-spec-card__header {
    background: linear-gradient(135deg, #e7f0f8 0%, #f2f7fb 100%);
    border-bottom: 1px solid #d8e4ef;
    padding: 15px 22px;
    display: flex;
    align-items: center;
    gap: 13px;
  }
.ame-spec-card .ame-specs-table th,
  .ame-spec-card .ame-specs-table td {
    padding-left: 22px;
    padding-right: 22px;
  }
.ame-spec-card .ame-specs-table th { color: #003052; }
.ame-spec-card .ame-specs-table tr:last-child th,
  .ame-spec-card .ame-specs-table tr:last-child td { border-bottom: 0; }
/* Per-variant comparison table (lift chair Specs tab).
     Wrapped in a horizontally-scrollable container so chairs with many
     sizes (PR-535 has 6) don't overflow when the customize sidebar is
     beside the tabs column. */
  .ame-specs-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -4px;
    padding: 0 4px 4px;
    border-radius: 8px;
  }
.ame-specs-table-wrap::-webkit-scrollbar { height: 8px; }
.ame-specs-table-wrap::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 4px;
  }
.ame-specs-table--variants {
    table-layout: fixed;
    min-width: 560px;
  }
.ame-specs-table--variants thead th {
    background: linear-gradient(180deg, #003052 0%, #004a7c 100%);
    font-weight: 700;
    text-align: center;
    border-bottom: 3px solid #f2c345;
    color: #fff;
    font-size: var(--ame-text-base);
    padding: 11px 8px;
    word-wrap: break-word;
  }
.ame-specs-table--variants tbody th {
    width: 30%;
    background: transparent;
    font-size: var(--ame-text-base);
    padding: 12px 10px;
  }
.ame-specs-table--variants tbody td {
    text-align: center;
    padding: 12px 8px;
    font-size: var(--ame-text-base);
  }
.ame-specs-table--variants tbody tr:nth-child(even) {
    background: #f8f9fa;
  }
.ame-specs-table--variants tbody tr:hover {
    background: #fff8e1;
    transition: background 0.18s ease;
  }
@media (max-width: 749px) {
.ame-specs-table--variants {
      font-size: var(--ame-text-sm);
    }
.ame-specs-table--variants th,
    .ame-specs-table--variants td {
      padding: 8px 6px;
    }

 {None}
}
/* reference-style 3-column Overview grid for lift chairs.
     Each card has a uniform navy header band with white text + a gold icon,
     then a white card body. This matches the reference section-card pattern
     and keeps the visual rhythm consistent across all 3 columns. */
  /* Tinted backdrop for the lift-chair Overview so the cards pop as a
     designed board rather than floating on plain white. */
  .ame-tabs__panel#tab-overview {
    background: linear-gradient(180deg, #eaf1f8 0%, #f6f9fc 320px);
  }
.ame-overview-grid--liftchair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    align-items: stretch;
  }
@media (max-width: 540px) {
.ame-overview-grid--liftchair { grid-template-columns: 1fr; }

 {None}
}
/* No empty cells / white space: a lone last card (odd count, e.g. 3 cards in a
     2-col grid) spans the full row instead of leaving a blank cell beside it. */
  .ame-overview-grid--liftchair .ame-overview-grid__col:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
.ame-overview-grid--liftchair .ame-overview-grid__col {
    background: #fff;
    border: 1px solid #e2e8ef;
    border-top: 3px solid #f2c345;
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 18px rgba(0, 48, 82, .07);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
  }
.ame-overview-grid--liftchair .ame-overview-grid__col:hover {
    box-shadow: 0 12px 28px rgba(0, 48, 82, .14);
    transform: translateY(-2px);
  }
/* Colored header — soft navy-blue tint with a navy title and a gold icon
     chip. Brand navy + gold read as real color, without the heavy dark band. */
  .ame-overview-grid__col-header {
    background: linear-gradient(135deg, #e7f0f8 0%, #f2f7fb 100%);
    color: #003052;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #d8e4ef;
  }
.ame-overview-grid__col-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 9px;
    box-sizing: border-box;
    border-radius: 11px;
    background: linear-gradient(135deg, #f2c345 0%, #e0aa1f 100%);
    color: #003052;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    box-shadow: 0 2px 6px rgba(212, 160, 23, .3);
  }
.ame-overview-grid--liftchair .ame-overview-grid__col-header .ame-overview-grid__heading {
    color: #003052;
    margin: 0;
    padding: 0;
    border-bottom: none;
    display: block;
    font-size: var(--ame-text-base);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.25;
  }
.ame-overview-grid__col-body {
    padding: 18px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
.ame-overview-grid--liftchair .ame-overview-grid__list {
    list-style: disc;
    margin: 0;
    padding-left: 22px;
    font-size: var(--ame-text-md);
    line-height: 1.55;
    color: #1a1d20;
  }
.ame-overview-grid--liftchair .ame-overview-grid__list li {
    padding: 4px 0;
  }
.ame-overview-grid__col--keyspecs { position: relative; }
.ame-overview-grid__keyspecs > li > strong { font-weight: 700; color: #003052; }
.ame-overview-grid__nested {
    margin: 6px 0 8px 18px;
    padding: 0;
    list-style: disc;
    color: #495057;
    font-size: var(--ame-text-base);
  }
.ame-overview-grid__nested li { padding: 2px 0; }
.ame-tabs__panel a.ame-overview-grid__viewall,
  .ame-overview-grid__viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 9px 16px;
    color: #fff !important;
    background: #003052;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: var(--ame-text-base);
    letter-spacing: .02em;
    border: 1px solid #003052;
    box-shadow: 0 1px 3px rgba(0, 48, 82, .2);
    transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  }
.ame-tabs__panel a.ame-overview-grid__viewall:hover,
  .ame-overview-grid__viewall:hover {
    background: #f2c345;
    color: #003052 !important;
    border-color: #d4a017;
    transform: translateX(2px);
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(212, 160, 23, .3);
  }
.ame-overview-grid__viewall::after { content: '→'; }
/* Delivery & Setup card — list with two-tier text per item */
  .ame-overview-grid__delivery {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
.ame-overview-grid__delivery li {
    padding: 10px 12px 10px 14px;
    background: #f8fafc;
    border-left: 3px solid #f2c345;
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: background .15s ease, border-left-color .15s ease;
  }
.ame-overview-grid__delivery li:hover {
    background: #fff8e1;
    border-left-color: #d4a017;
  }
.ame-overview-grid__delivery li strong {
    font-weight: 700;
    font-size: var(--ame-text-base);
    color: #003052;
    line-height: 1.3;
  }
.ame-overview-grid__delivery li span {
    font-size: var(--ame-text-sm);
    color: #495057;
    line-height: 1.45;
  }
/* Manuals & Literature panel — links styled for easy scanning */
  .ame-overview-grid__manuals ul {
    list-style: none;
    margin: 0; padding: 0;
  }
.ame-overview-grid__manuals li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: var(--ame-text-base);
  }
.ame-overview-grid__manuals li:last-child { border-bottom: 0; }
.ame-overview-grid__manuals a {
    color: #003052;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color .15s ease, color .15s ease;
  }
.ame-overview-grid__manuals a:hover {
    color: #d4a017;
    border-bottom-color: #f2c345;
  }
/* Specs table scroll hint */
  .ame-specs__scroll-hint {
    color: #6c757d;
    font-size: var(--ame-text-sm);
    font-style: italic;
    margin: -4px 0 12px;
  }
@media (min-width: 1100px) {
.ame-specs__scroll-hint { display: none; }

 {None}
}
/* Fabric Collections lead copy — make it inviting */
  .ame-fabric-swatches__title {
    font-size: var(--ame-text-xl);
    color: #003052;
    margin: 0 0 8px;
    line-height: 1.2;
  }
.ame-fabric-swatches__sub--lead {
    font-size: var(--ame-text-md);
    line-height: 1.6;
    color: #1a1d20;
    margin-bottom: 18px;
    max-width: 720px;
  }
.ame-fabric-swatches__sub--lead strong { color: #003052; }
.ame-fabric-swatches__cta-line {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    color: #003052;
    font-style: italic;
  }
.ame-fabric-swatches__group-name {
    font-size: var(--ame-text-md) !important;
    color: #003052 !important;
    font-weight: 700 !important;
  }
.ame-fabric-swatches__group-upcharge {
    background: linear-gradient(135deg, #fffaeb 0%, #fff3c4 100%) !important;
    color: #7a5800 !important;
    border: 1px solid #d4a017 !important;
    font-weight: 700 !important;
  }
/* Collapsible narrative below the spec grid */
  .ame-overview-narrative { margin-top: 28px; border-top: 1px solid #dee2e6; padding-top: 18px; }
.ame-overview-narrative__summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
  }
.ame-overview-narrative__summary::-webkit-details-marker { display: none; }
.ame-overview-narrative__summary::after {
    content: '▾';
    font-size: var(--ame-text-sm);
    color: #495057;
    margin-left: auto;
  }
.ame-overview-narrative:not([open]) .ame-overview-narrative__summary::after { content: '▸'; }
.ame-overview-narrative__summary h3 { margin: 0; }
.ame-overview-narrative__body { margin-top: 12px; line-height: 1.7; }
/* FAQ */
  .ame-faq__item {
    border-bottom: 1px solid var(--ame-border);
  }
.ame-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--ame-font-body);
    font-size: var(--ame-text-md);
    font-weight: 700;
    color: #1a1d20;
    text-align: left;
    min-height: 48px;
    gap: 16px;
    line-height: 1.4;
  }
.ame-faq__question svg {
    flex-shrink: 0;
    transition: transform 0.2s;
  }
.ame-faq__question[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }
.ame-faq__answer {
    display: none;
    padding: 0 0 18px 0;
    font-size: var(--ame-text-md);
    color: #1a1d20;
    line-height: 1.7;
  }
.ame-faq__answer p { font-size: inherit; line-height: inherit; margin: 0 0 14px 0; }
.ame-faq__answer p:last-child { margin-bottom: 0; }
.ame-faq__answer.is-open {
    display: block;
  }
/* Responsive video embeds in product descriptions */
  .ame-tabs__panel iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 0;
    border-radius: var(--ame-radius, 8px);
    margin: var(--ame-space-4) 0;
  }
/* reference-style Overview header (Features | Key Specs + Manuals) */
  .ame-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--ame-space-5, 24px);
    padding-bottom: var(--ame-space-5, 24px);
    margin-bottom: var(--ame-space-5, 24px);
    border-bottom: 1px solid var(--ame-border, #e5e7eb);
  }
@media (min-width: 720px) {
.ame-overview-grid { grid-template-columns: 1fr 1fr; }

 {None}
}
.ame-overview-grid__heading {
    margin: 0 0 12px 0;
    font-size: var(--ame-text-lg);
    font-weight: 700;
    color: #003052;
    border-bottom: 3px solid #d4a017;
    padding-bottom: 6px;
    display: inline-block;
    line-height: 1.3;
  }
.ame-overview-grid__list {
    list-style: disc;
    margin: 0;
    padding-left: 22px;
    font-size: var(--ame-text-md);
    line-height: 1.7;
    color: #1a1d20;
  }
.ame-overview-grid__list li {
    padding: 4px 0;
    line-height: 1.55;
  }
.ame-overview-grid__link {
    color: #003052;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
.ame-overview-grid__manuals ul { list-style: none; padding-left: 0; margin: 8px 0 0; }
.ame-overview-grid__manuals li { padding: 6px 0; font-size: var(--ame-text-md); line-height: 1.5; }
.ame-overview-grid__manuals a {
    color: #003052;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
.ame-overview-grid__manuals a:hover { color: #d4a017; }
.ame-overview-grid__lead {
    font-size: var(--ame-text-md);
    line-height: 1.7;
    color: #1a1d20;
    margin: 0 0 18px 0;
    font-weight: 500;
  }
/* ---- fabric swatch grid (from ame-product-info's inline styles) +
   swatch lightbox (from ame-product-tabs) — needed wherever the fabric
   block renders, incl. pdp-v2's Overview placement (2026-08-13) ---- */
/* Fabric Swatches */
  .ame-fabric-swatches {
    margin: var(--ame-space-5) 0;
    padding: var(--ame-space-4);
    border: 1px solid var(--ame-border, #dee2e6);
    border-radius: 8px;
    background: var(--ame-surface-soft, #fafbfc);
  }
.ame-fabric-swatches__header { margin-bottom: var(--ame-space-3); }
.ame-fabric-swatches__title {
    margin: 0 0 .25em 0;
    font-size: 1.68rem;
    font-weight: 600;
  }
.ame-fabric-swatches__sub {
    margin: 0;
    color: var(--ame-text-muted, #6c757d);
    font-size: 1.36rem;
  }
.ame-fabric-swatches__group { margin-top: var(--ame-space-3); }
.ame-fabric-swatches__group-head {
    display: flex;
    align-items: baseline;
    gap: .5em;
    margin-bottom: .35em;
    padding-bottom: .25em;
    border-bottom: 1px dashed var(--ame-border, #dee2e6);
  }
.ame-fabric-swatches__group-name {
    font-weight: 600;
    font-size: 1.472rem;
  }
.ame-fabric-swatches__group-upcharge {
    color: #7a5800;
    background: #fff8e1;
    border: 1px solid #d4a017;
    font-size: 1.312rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 8px;
  }
.ame-fabric-swatches__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--ame-space-2);
  }
.ame-fabric-swatches__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .25em;
  }
.ame-fabric-swatches__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--ame-border, #dee2e6);
    box-shadow: 0 2px 4px rgba(0,0,0,.06);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
  }
.ame-fabric-swatches__btn:hover .ame-fabric-swatches__image,
  .ame-fabric-swatches__btn:focus-visible .ame-fabric-swatches__image {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(12, 88, 148, .25), 0 0 0 2px #1971c2;
    border-color: #1971c2;
  }
.ame-fabric-swatches__placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    border: 1px solid var(--ame-border, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ame-surface-soft, #f1f3f5);
    color: var(--ame-text-muted, #868e96);
    font-weight: 600;
  }
.ame-fabric-swatches__name {
    font-size: 1.248rem;
    color: var(--ame-text, #212529);
    line-height: 1.2;
  }
.ame-fabric-swatches__btn {
    all: unset;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .25em;
    width: 100%;
    border-radius: 6px;
    padding: 4px;
    transition: background-color .15s ease, transform .15s ease;
  }
.ame-fabric-swatches__btn:hover {
    background: rgba(25,113,194,.04);
    transform: translateY(-3px);
  }
.ame-fabric-swatches__btn:hover .ame-fabric-swatches__name {
    color: #0c5894;
    font-weight: 600;
  }
.ame-fabric-swatches__btn:focus-visible {
    outline: 2px solid var(--ame-accent, #1971c2);
    outline-offset: 2px;
  }
.ame-fabric-swatches__btn[aria-pressed="true"] {
    background: rgba(25,113,194,.12);
    box-shadow: inset 0 0 0 2px var(--ame-accent, #1971c2);
  }
/* Earth / Water / Wind sub-grouping inside a collection */
  .ame-fabric-swatches__subgroup { margin-top: var(--ame-space-2); }
.ame-fabric-swatches__subgroup-head {
    font-size: 1.28rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ame-text-muted, #6c757d);
    padding: 4px 0;
    margin-bottom: var(--ame-space-1);
    border-bottom: 1px dashed var(--ame-border, #dee2e6);
  }
.ame-fabric-lightbox {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(15, 23, 42, .82);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    animation: ame-fade-in .2s ease;
  }
@keyframes ame-fade-in {
from { opacity: 0; }
to { opacity: 1; }
  {None}
}
.ame-fabric-lightbox[hidden] { display: none; }
.ame-fabric-lightbox__close {
    position: absolute; top: 18px; right: 22px;
    background: #fff; color: #1a1d20;
    border: 0; border-radius: 50%;
    width: 44px; height: 44px;
    font-size: var(--ame-text-2xl); line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s ease, background .15s ease;
  }
.ame-fabric-lightbox__close:hover { transform: scale(1.05); background: #f1f3f5; }
.ame-fabric-lightbox__inner {
    background: #fff; border-radius: 14px;
    overflow: hidden; max-width: 640px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    animation: ame-pop .25s cubic-bezier(.2,.8,.2,1);
    margin: 0;
  }
.ame-fabric-lightbox__img {
    width: 100%; height: auto;
    display: block; aspect-ratio: 1 / 1; object-fit: cover;
  }
.ame-fabric-lightbox__caption {
    padding: 18px 22px;
    text-align: left;
  }
.ame-fabric-lightbox__name {
    margin: 0 0 4px; font-size: var(--ame-text-xl); font-weight: 700;
    color: #1a1d20;
  }
.ame-fabric-lightbox__meta {
    margin: 0; font-size: var(--ame-text-base); color: #495057; line-height: 1.5;
  }
