/* =========================================================
   ANIHIRO Fairy Global Suite v1.3.6
   Header / Front visual / Pushable navigation buttons
   ========================================================= */

/* Hide original Cocoon header/logo/menu on front-end only while this plugin is active */
body.anihiro-fairy-global-suite-enabled #header-container,
body.anihiro-fairy-global-suite-enabled .header-container,
body.anihiro-fairy-global-suite-enabled #header,
body.anihiro-fairy-global-suite-enabled .header,
body.anihiro-fairy-global-suite-enabled #navi,
body.anihiro-fairy-global-suite-enabled .navi,
body.anihiro-fairy-global-suite-enabled .navi-in {
  display: none !important;
}

.anihiro-suite-header-area,
.anihiro-suite-header-area * {
  box-sizing: border-box;
}

.anihiro-suite-header-area {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #fff7fb;
}

/* =========================================================
   Common header band
   ========================================================= */

.anihiro-suite-band {
  --ah-pink: #df6d9d;
  --ah-pink-dark: #ba4c7d;
  --ah-pink-line: #f3cadb;
  --ah-gold: #c79a39;
  --ah-shadow: 0 8px 20px rgba(216, 93, 147, 0.10);

  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fffafc 0%, #fff2f8 100%);
  border-top: 1px solid #f6d9e5;
  border-bottom: 1px solid #f0c8d9;
}

.anihiro-suite-band::before,
.anihiro-suite-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.anihiro-suite-band::before {
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 214, 230, 0.46) 0 8px, transparent 9px),
    radial-gradient(circle at 22% 44%, rgba(255,255,255,0.82) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 18%, rgba(255, 245, 185, 0.46) 0 6px, transparent 7px),
    radial-gradient(circle at 84% 40%, rgba(255,255,255,0.78) 0 3px, transparent 4px),
    radial-gradient(circle at 65% 56%, rgba(255, 220, 236, 0.42) 0 7px, transparent 8px);
  opacity: .95;
}

.anihiro-suite-band::after {
  background:
    radial-gradient(circle at 12px 0, rgba(255,255,255,0.96) 10px, transparent 11px) bottom center/24px 18px repeat-x;
  opacity: 0.95;
}

.anihiro-suite-band__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 33% 54%, rgba(255,235,180,0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 25%, rgba(255,255,255,0.82) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 45%, rgba(255,215,230,0.84) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 72%, rgba(255,255,255,0.82) 0 1px, transparent 2px);
}

.anihiro-suite-band__frame {
  position: relative;
  max-width: 1520px;
  margin: 0 auto;
  padding: 24px 28px 28px;
}

.anihiro-suite-band__frame::before,
.anihiro-suite-band__frame::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  border-radius: 26px;
  pointer-events: none;
}

.anihiro-suite-band__frame::before {
  top: 12px;
  bottom: 12px;
  border: 1px solid rgba(243,202,219,.95);
}

.anihiro-suite-band__frame::after {
  top: 24px;
  bottom: 24px;
  border: 1px solid rgba(248,220,232,.9);
}

.anihiro-suite-band__corner {
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: none;
}

.anihiro-suite-band__corner::before,
.anihiro-suite-band__corner::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  border: 2px solid #f3c6d9;
  border-radius: 18px;
}

.anihiro-suite-band__corner--lt { left: 0; top: 0; }
.anihiro-suite-band__corner--lt::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.anihiro-suite-band__corner--lt::after  { left: 6px; top: 6px; border-right: 0; border-bottom: 0; opacity: .5; }

.anihiro-suite-band__corner--rt { right: 0; top: 0; }
.anihiro-suite-band__corner--rt::before { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.anihiro-suite-band__corner--rt::after  { right: 6px; top: 6px; border-left: 0; border-bottom: 0; opacity: .5; }

.anihiro-suite-band__corner--lb { left: 0; bottom: 0; }
.anihiro-suite-band__corner--lb::before { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.anihiro-suite-band__corner--lb::after  { left: 6px; bottom: 6px; border-right: 0; border-top: 0; opacity: .5; }

.anihiro-suite-band__corner--rb { right: 0; bottom: 0; }
.anihiro-suite-band__corner--rb::before { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.anihiro-suite-band__corner--rb::after  { right: 6px; bottom: 6px; border-left: 0; border-top: 0; opacity: .5; }

.anihiro-suite-band__lace {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  background:
    radial-gradient(circle at 9px 18px, transparent 8px, rgba(255,255,255,.95) 9px, transparent 10px) center top/18px 18px repeat-x;
  pointer-events: none;
}

.anihiro-suite-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(700px, 1fr);
  gap: 22px;
  align-items: center;
}

.anihiro-suite-band__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none !important;
}

.anihiro-suite-band__logo img {
  display: block;
  max-width: 310px;
  width: 100%;
  height: auto;
}


@media screen and (max-width: 430px) {
  .anihiro-suite-front-visual__stage {
    width: calc(100% - 12px);
    aspect-ratio: 16 / 7.4;
    border-radius: 16px;
  }

  .anihiro-suite-appeal-cards {
    padding: 0 8px 2px;
    gap: 10px;
  }

  .anihiro-suite-appeal-card {
    min-height: 104px;
    padding: 15px 12px;
    grid-template-columns: 1fr 30px;
  }

  .anihiro-suite-appeal-card__body strong {
    font-size: 16px;
  }

  .anihiro-suite-appeal-card__body small {
    font-size: 11px;
  }

  .anihiro-suite-appeal-card__arrow {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

.anihiro-suite-band__characters {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.anihiro-suite-band__characters img {
  display: block;
  max-width: 120px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 8px rgba(216,93,147,.08));
}

/* =========================================================
   6-button navigation: 3 columns x 2 rows
   Pushable button style is defined in the plugin itself.
   ========================================================= */

.anihiro-suite-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: 14px 14px;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.anihiro-suite-nav__button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 58px;
  padding: 15px 18px;
  border: 2px solid #d27aa2;
  border-radius: 18px;
  outline: 1px solid #fffafe;
  outline-offset: -5px;
  background-color: #f7bdd4;
  background-image:
    linear-gradient(180deg, #fff8fc 0%, #f7c7da 48%, #eda2c2 100%);
  color: #8d3f62 !important;
  text-decoration: none !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow:
    0 4px 0 #c97b9c,
    0 9px 16px rgba(154, 66, 105, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    inset 0 -2px 0 rgba(178, 85, 123, 0.10);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background-image .16s ease,
    border-color .16s ease;
  white-space: nowrap;
  opacity: 1;
  overflow: hidden;
}

.anihiro-suite-nav__button::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 7px;
  height: 38%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.66), rgba(255,255,255,0.18));
  pointer-events: none;
  z-index: -1;
}

.anihiro-suite-nav__button:hover,
.anihiro-suite-nav__button:focus {
  background-color: #f4b0cb;
  background-image:
    linear-gradient(180deg, #fff9fd 0%, #f3bad2 44%, #e98caf 100%);
  border-color: #c76592;
  transform: translateY(-1px);
  box-shadow:
    0 5px 0 #bc6e91,
    0 12px 20px rgba(154, 66, 105, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(178, 85, 123, 0.12);
}

.anihiro-suite-nav__button:active {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 #bc6e91,
    0 4px 8px rgba(154, 66, 105, 0.16),
    inset 0 2px 5px rgba(158, 78, 113, 0.14);
}

.anihiro-suite-nav__icon {
  display: none;
}

.anihiro-suite-nav__label {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #8d3f62;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.86),
    0 2px 4px rgba(118, 48, 82, 0.10);
}

/* =========================================================
   Front visual
   ========================================================= */

.anihiro-suite-front-visual {
  width: 100%;
  background: #fff7fb;
  padding: 0 0 22px;
  margin: 0 0 12px;
}

.anihiro-suite-front-visual__stage {
  position: relative;
  max-width: 1672px;
  margin: 0 auto;
  line-height: 0;
  overflow: hidden;
  aspect-ratio: 1672 / 540;
}

.anihiro-suite-front-visual__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

/* =========================================================
   Front 6-card appeal area
   ========================================================= */

.anihiro-suite-appeal-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin: 16px auto 0;
  padding: 0 24px;
}

.anihiro-suite-appeal-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 38px;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 18px;
  border-radius: 22px;
  background-color: #f8c3d8;
  background-image:
    linear-gradient(180deg, #fff8fc 0%, #f8cddd 46%, #eea6c4 100%);
  border: 2px solid #d27aa2;
  outline: 1px solid #fffafe;
  outline-offset: -6px;
  box-shadow:
    0 5px 0 #c97b9c,
    0 11px 19px rgba(154, 66, 105, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    inset 0 -2px 0 rgba(178, 85, 123, 0.10);
  text-decoration: none !important;
  color: #744459 !important;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background-image .16s ease,
    border-color .16s ease;
  opacity: 1;
  overflow: hidden;
}

.anihiro-suite-appeal-card::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 8px;
  height: 36%;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.64), rgba(255,255,255,0.16));
  pointer-events: none;
  z-index: -1;
}

.anihiro-suite-appeal-card:hover,
.anihiro-suite-appeal-card:focus {
  transform: translateY(-1px);
  border-color: #c76592;
  background-color: #f4b4cd;
  background-image:
    linear-gradient(180deg, #fff9fd 0%, #f4bfd4 42%, #e98caf 100%);
  box-shadow:
    0 6px 0 #bc6e91,
    0 14px 22px rgba(154, 66, 105, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(178, 85, 123, 0.12);
}

.anihiro-suite-appeal-card:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #bc6e91,
    0 4px 8px rgba(154, 66, 105, 0.16),
    inset 0 2px 5px rgba(158, 78, 113, 0.14);
}

.anihiro-suite-appeal-card__icon {
  display: none;
}

.anihiro-suite-appeal-card__body {
  position: relative;
  z-index: 2;
}

.anihiro-suite-appeal-card__body strong {
  display: block;
  margin-bottom: 5px;
  color: #8d3f62;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.88),
    0 2px 4px rgba(118, 48, 82, 0.10);
}

.anihiro-suite-appeal-card__body small {
  display: block;
  color: #744459;
  font-size: 13px;
  line-height: 1.5;
}

.anihiro-suite-appeal-card__arrow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7bdd4 0%, #de78a5 100%);
  border: 1px solid #c76592;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow:
    0 3px 0 #b9678f,
    0 6px 9px rgba(154, 66, 105, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.66);
}

/* =========================================================
   Responsive
   ========================================================= */

@media screen and (max-width: 1350px) {
  .anihiro-suite-band__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .anihiro-suite-band__logo,
  .anihiro-suite-band__characters {
    justify-content: center;
  }

  .anihiro-suite-band__logo img {
    display: block;
    max-width: 310px;
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 900px) {
  .anihiro-suite-nav {
    max-width: 760px;
  }

  .anihiro-suite-nav__button {
    font-size: 16px;
    padding: 13px 12px;
  }

  .anihiro-suite-appeal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .anihiro-suite-band__frame {
    padding: 20px 14px 24px;
  }

  .anihiro-suite-band__frame::before,
  .anihiro-suite-band__frame::after {
    left: 8px;
    right: 8px;
  }

  .anihiro-suite-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    max-width: 430px;
  }

  .anihiro-suite-nav__button {
    min-height: 46px;
    padding: 9px 7px;
    border-radius: 14px;
    font-size: 13px;
    white-space: normal;
    box-shadow:
      0 4px 0 #c97b9c,
      0 8px 13px rgba(154, 66, 105, 0.17),
      inset 0 1px 0 rgba(255, 255, 255, 0.90);
  }

  .anihiro-suite-nav__button:active {
    transform: translateY(3px);
    box-shadow:
      0 1px 0 #bc6e91,
      0 3px 6px rgba(154, 66, 105, 0.14),
      inset 0 2px 4px rgba(158, 78, 113, 0.12);
  }

  .anihiro-suite-band__logo img {
    display: block;
    max-width: 240px;
    width: 100%;
    height: auto;
  }

  .anihiro-suite-front-visual {
    padding: 0 0 20px;
    margin: 0 0 12px;
    background: linear-gradient(180deg, #fff9fc 0%, #fff2f8 100%);
  }

  .anihiro-suite-front-visual__stage {
    width: calc(100% - 16px);
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 7;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(210, 122, 162, 0.38);
    box-shadow:
      0 10px 22px rgba(184, 90, 131, 0.14),
      inset 0 0 0 1px rgba(255,255,255,0.75);
  }

  .anihiro-suite-front-visual__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .anihiro-suite-appeal-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 100%;
    margin: -4px auto 0;
    padding: 0 12px 2px;
    z-index: 3;
  }

  .anihiro-suite-appeal-card {
    min-height: 112px;
    padding: 17px 14px;
    border-radius: 19px;
    grid-template-columns: 1fr 34px;
    gap: 10px;
    box-shadow:
      0 6px 0 #c97b9c,
      0 12px 20px rgba(154, 66, 105, 0.18),
      inset 0 1px 0 rgba(255,255,255,0.90),
      inset 0 -2px 0 rgba(178,85,123,0.10);
  }

  .anihiro-suite-appeal-card__body strong {
    font-size: 18px;
    line-height: 1.18;
  }

  .anihiro-suite-appeal-card__body small {
    font-size: 12px;
    line-height: 1.45;
  }
}

@media screen and (max-width: 480px) {
  .anihiro-suite-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anihiro-suite-nav__button {
    font-size: 12.5px;
    min-height: 44px;
  }

  .anihiro-suite-band__logo img {
    max-width: 220px;
  }
}

.anihiro-suite-band__characters {
  display: none !important;
}

/* v1.3.9 guard: mobile clean hero + actual appeal cards */
@media screen and (max-width: 767px) {
  html body.anihiro-fairy-global-suite-enabled.anihiro-fairy-global-suite-front:not(.wp-admin):not(.block-editor-page) .anihiro-suite-header-area .anihiro-suite-front-visual__stage {
    aspect-ratio: 16 / 7 !important;
  }

  html body.anihiro-fairy-global-suite-enabled.anihiro-fairy-global-suite-front:not(.wp-admin):not(.block-editor-page) .anihiro-suite-header-area .anihiro-suite-front-visual__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }

  html body.anihiro-fairy-global-suite-enabled.anihiro-fairy-global-suite-front:not(.wp-admin):not(.block-editor-page) .anihiro-suite-header-area .anihiro-suite-appeal-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* v1.4.0 mobile appeal cards tuned smaller and more modest */
@media screen and (max-width: 767px) {
  .anihiro-suite-appeal-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    max-width: 100% !important;
    margin: 8px auto 0 !important;
    padding: 0 10px 2px !important;
    z-index: 3;
  }

  .anihiro-suite-appeal-card {
    grid-template-columns: 1fr 28px !important;
    gap: 8px !important;
    min-height: 82px !important;
    padding: 12px 12px !important;
    border-radius: 16px !important;
    background-color: #f8d7e4 !important;
    background-image: linear-gradient(180deg, #fffdfd 0%, #f9e6ee 38%, #f2cddd 100%) !important;
    border: 1.5px solid #d8a1b9 !important;
    outline: 1px solid #fff9fc !important;
    outline-offset: -5px !important;
    box-shadow: 0 3px 0 #d18aaa, 0 7px 12px rgba(154, 66, 105, 0.12), inset 0 1px 0 rgba(255,255,255,0.92) !important;
  }

  .anihiro-suite-appeal-card__body strong {
    margin-bottom: 3px !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
    color: #9a4870 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .anihiro-suite-appeal-card__body small {
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    color: #7a6270 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .anihiro-suite-appeal-card__arrow {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    border-width: 1px !important;
    box-shadow: 0 2px 0 #c57e9e, 0 4px 7px rgba(154, 66, 105, 0.12), inset 0 1px 0 rgba(255,255,255,0.70) !important;
  }
}

@media screen and (max-width: 430px) {
  .anihiro-suite-appeal-cards {
    padding: 0 8px 2px !important;
    gap: 9px !important;
  }

  .anihiro-suite-appeal-card {
    min-height: 78px !important;
    padding: 11px 10px !important;
  }

  .anihiro-suite-appeal-card__body strong {
    font-size: 14px !important;
  }

  .anihiro-suite-appeal-card__body small {
    font-size: 10px !important;
  }

  .anihiro-suite-appeal-card__arrow {
    width: 26px !important;
    height: 26px !important;
    font-size: 13px !important;
  }
}


/* v1.4.1 mobile appeal cards extra subtle */
@media screen and (max-width: 767px) {
  .anihiro-suite-appeal-cards {
    gap: 8px !important;
    margin: 8px auto 0 !important;
    padding: 0 8px 2px !important;
  }

  .anihiro-suite-appeal-card {
    grid-template-columns: 1fr 24px !important;
    gap: 7px !important;
    min-height: 72px !important;
    padding: 10px 10px !important;
    border-radius: 14px !important;
    background-color: #f7e6ed !important;
    background-image: linear-gradient(180deg, #fffefe 0%, #fbf1f5 38%, #f3dce6 100%) !important;
    border: 1px solid #d8b8c7 !important;
    outline: 1px solid #fffafb !important;
    outline-offset: -4px !important;
    box-shadow: 0 2px 0 #d6aebf, 0 5px 9px rgba(154, 66, 105, 0.08), inset 0 1px 0 rgba(255,255,255,0.94) !important;
  }

  .anihiro-suite-appeal-card__body strong {
    margin-bottom: 2px !important;
    font-size: 13.5px !important;
    line-height: 1.12 !important;
    color: #95506f !important;
  }

  .anihiro-suite-appeal-card__body small {
    font-size: 9.5px !important;
    line-height: 1.35 !important;
    color: #7f6a76 !important;
  }

  .anihiro-suite-appeal-card__arrow {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
    background: linear-gradient(180deg, #f3d7e5 0%, #dea8c0 100%) !important;
    border: 1px solid #cd97b0 !important;
    box-shadow: 0 1px 0 #c58ba6, 0 3px 5px rgba(154, 66, 105, 0.10), inset 0 1px 0 rgba(255,255,255,0.72) !important;
  }
}

@media screen and (max-width: 430px) {
  .anihiro-suite-appeal-cards {
    gap: 7px !important;
    padding: 0 7px 2px !important;
  }

  .anihiro-suite-appeal-card {
    min-height: 66px !important;
    padding: 9px 9px !important;
    grid-template-columns: 1fr 22px !important;
  }

  .anihiro-suite-appeal-card__body strong {
    font-size: 12.5px !important;
  }

  .anihiro-suite-appeal-card__body small {
    font-size: 9px !important;
  }

  .anihiro-suite-appeal-card__arrow {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
  }
}
