/* Aurora COA Page */

/* ── COA page spacing rhythm (spacing only) ── */
body.aurora-coa-page .PageHero_hero__qlWDQ {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: 24px;
}

body.aurora-coa-page main .page-section.page-section--flush-top {
  padding-top: 0 !important;

}

body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {
  /* Removed - controlled by aggressive symmetric lock below */
}

@media (max-width: 1024px) {
  body.aurora-coa-page .PageHero_hero__qlWDQ {
    padding-top: clamp(36px, 4vw, 52px);
    padding-bottom: 24px;
  }

  body.aurora-coa-page main .page-section.page-section--flush-top {
    padding-top: 0 !important;

  }

  body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {
    /* Removed - controlled by aggressive symmetric lock below */
  }
}

@media (max-width: 768px) {
  body.aurora-coa-page .PageHero_hero__qlWDQ {
    padding-top: 40px;
    padding-bottom: 24px;
  }

  body.aurora-coa-page main .page-section.page-section--flush-top {
    padding-top: 0 !important;

  }

  body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {
    /* Removed - controlled by aggressive symmetric lock below */
  }
}

@media (max-width: 390px) {
  body.aurora-coa-page .PageHero_hero__qlWDQ {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  body.aurora-coa-page main .page-section.page-section--flush-top {
    padding-top: 0 !important;

  }

  body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {
    /* Removed - controlled by aggressive symmetric lock below */
  }
}

/* ── COA search form — center + row layout ── */
body.aurora-coa-page .coa-search-form.search-row.card-panel,
body.aurora-coa-page .coa-search-form.coa-search-row {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 20px;
}

body.aurora-coa-page .coa-search-form .search-input,
body.aurora-coa-page .coa-search-row .search-input {
  flex: 1 1 auto;
  min-width: 0;
}

body.aurora-coa-page .coa-search-form .btn-primary,
body.aurora-coa-page .coa-search-row .btn-primary {
  flex: 0 0 auto;
  min-width: 140px;
}

@media (max-width: 640px) {

  body.aurora-coa-page .coa-search-form.search-row.card-panel,
  body.aurora-coa-page .coa-search-form.coa-search-row {
    flex-wrap: wrap;
  }

  body.aurora-coa-page .coa-search-form .btn-primary,
  body.aurora-coa-page .coa-search-row .btn-primary {
    width: 100%;
    min-width: 0;
  }
}

body.aurora-storefront .coa-search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 8px;
}

body.aurora-storefront .coa-search-row .search-input {
  flex: 1;
  min-width: 220px;
}

body.aurora-storefront .coa-search-row .btn-primary {
  min-width: 140px;
}

body.aurora-storefront .aurora-coa-results {
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 36px);
}

body.aurora-storefront .aurora-coa-card {
  background: var(--aurora-surface, rgba(8, 13, 30, 0.78));
  border: 1px solid var(--aurora-border, rgba(255, 255, 255, 0.08));
  border-radius: var(--aurora-radius-card, 16px);
  padding: clamp(20px, 3vw, 24px);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

body.aurora-storefront .aurora-coa-card:hover {
  border-color: var(--aurora-border-accent);
  transform: translateY(-2px);
  box-shadow: var(--aurora-shadow-card);
}

body.aurora-storefront .aurora-coa-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-d, "Bebas Neue", sans-serif);
  font-size: var(--aurora-h3, 28px);
  letter-spacing: 0.04em;
  color: var(--txt, #edf4ff);
}

body.aurora-storefront .aurora-coa-card h3 a {
  color: inherit;
  text-decoration: none;
}

body.aurora-storefront .aurora-coa-card h3 a:hover {
  color: var(--acc, #00d4ff);
}

body.aurora-storefront .aurora-coa-card .meta {
  color: var(--aurora-text-muted);
  font-size: var(--aurora-body-sm, 14px);
  margin-bottom: 12px;
  font-family: var(--font-m, monospace);
  letter-spacing: 0.06em;
}

body.aurora-storefront .aurora-coa-empty {
  text-align: center;
  padding: clamp(40px, 6vw, 56px) 24px;
  background: var(--aurora-surface);
  border: 1px dashed var(--aurora-border-accent);
  border-radius: var(--aurora-radius-card);
  color: var(--txt2);
}

body.aurora-storefront.single-coa .page-section .card-panel {
  max-width: var(--site-max);
}

/* ── Fix extra space on tablet (820px to 1180px) ── */
@media (min-width: 768px) and (max-width: 1180px) {
  body.aurora-coa-page main {
    min-height: auto !important;
  }

  body.aurora-coa-page main .page-section {
    min-height: auto !important;
  }

  body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {
    /* Removed - controlled by aggressive symmetric lock below */
  }

  .FaqAccordion_list__kNb0L {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .FaqAccordion_item__LMy_M:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* ── FAQ Accordion — smooth animation ── */

/* Aggressive margin reset for perfect symmetry */
body.aurora-coa-page .page-section .container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.aurora-coa-page .FaqAccordion_list__kNb0L {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.aurora-coa-page .FaqAccordion_item__LMy_M:first-child {
  margin-top: 0 !important;
}

body.aurora-coa-page .FaqAccordion_item__LMy_M:last-child {
  margin-bottom: 0 !important;
}

body.aurora-coa-page .FaqAccordion_list__kNb0L>*:first-child {
  margin-top: 0 !important;
}

body.aurora-coa-page .FaqAccordion_list__kNb0L>*:last-child {
  margin-bottom: 0 !important;
}


body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {

  padding-bottom: 23px !important;
}

@media (max-width: 1024px) {
  body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {

    padding-bottom: 23px !important;
  }
}

@media (max-width: 768px) {
  body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {

    padding-bottom: 23px !important;
  }
}

@media (max-width: 390px) {
  body.aurora-coa-page main .page-section.page-section--flush-top+.page-section {

    padding-bottom: 23px !important;
  }
}

/* FAQ accordion animation */
body.aurora-coa-page .FaqAccordion_a__Ib8zk {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transition:
    max-height 0.42s var(--ease, cubic-bezier(0.4, 0, 0.2, 1)),
    opacity 0.42s var(--ease, cubic-bezier(0.4, 0, 0.2, 1)),
    padding 0.42s var(--ease, cubic-bezier(0.4, 0, 0.2, 1));
}

body.aurora-coa-page .FaqAccordion_item__LMy_M.FaqAccordion_open__h1ccq .FaqAccordion_a__Ib8zk {
  max-height: 500px;
  opacity: 1;
  padding: 0 24px 20px;
}

body.aurora-coa-page .FaqAccordion_item__LMy_M:not(.FaqAccordion_open__h1ccq) .FaqAccordion_a__Ib8zk {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Badge spacing consistency */
body.aurora-coa-page .coa-hero-chip-wrap {
  margin-bottom: clamp(8px, 1.2vw, 12px) !important;
}


/* COA search results — product-style rows */
body.aurora-coa-page .aurora-coa-search-results-wrap { margin-top: 24px; }
body.aurora-coa-page .aurora-coa-search-results { display: grid; gap: 24px; }
body.aurora-coa-page .aurora-coa-search-result__product { margin: 0 0 12px; font-family: var(--font-m, 'JetBrains Mono', monospace); font-size: 13px; letter-spacing: 0.04em; }
body.aurora-coa-page .aurora-coa-search-result__product a { color: #67e8ff; text-decoration: none; }
body.aurora-coa-page .aurora-coa-search-result__product a:hover { color: #b8f7ff; }
body.aurora-coa-page .aurora-product-coa { margin-top: 0; }
