/**
 * Styles for the product-description widgets.
 *
 * Enqueued by product-description-widgets.php (only on pages whose content uses
 * one of the widget shortcodes). All selectors are namespaced per widget.
 */

/* ---- Hero ---- */
.my-widget-hero {
  background: #fafaf8;
  padding: 80px 32px;
}
.my-widget-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.my-widget-hero--no-media .my-widget-hero__inner {
  grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
  .my-widget-hero--reverse .my-widget-hero__media {
    order: -1;
  }

  .my-widget-hero--reverse .my-widget-hero__badge {
    left: auto;
    right: -24px;
    flex-direction: row-reverse;
  }
  .my-widget-hero--reverse .my-widget-hero__badge .my-widget-hero__badge-title {
    text-align: right;
  }
}

.my-widget-hero__badge-sub {
  margin-bottom: 0;
}
.my-widget-hero__eyebrow {
  font-size: 13px;
  color: #ec1d23;
  font-family: Nunito, sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.my-widget-hero__title {
  font-family: Nunito, sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 20px;
}
.my-widget-hero__text {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  max-width: 420px;
}
.my-widget-hero__btn {
  margin-top: 28px;
  padding: 14px 32px;
  border-radius: 50px;
  background: #ec1d23;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  font-family: Nunito, sans-serif;
}
.my-widget-hero__media {
  position: relative;
}
.my-widget-hero__frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}
.my-widget-hero__frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.my-widget-hero__badge {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}
.my-widget-hero__badge-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.my-widget-hero__badge-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.my-widget-hero__badge-title {
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.my-widget-hero__badge-sub {
  font-size: 11px;
  color: #888;
}
@media (max-width: 768px) {
  .my-widget-hero {
    padding: 48px 20px;
  }
  .my-widget-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---- Features + video ---- */
.my-widget-features {
  background: linear-gradient(
    135deg,
    #f0436a 0%,
    #e8417e 30%,
    #c945c0 70%,
    #9b59e8 100%
  );
  padding: 56px 32px;
}
.my-widget-features__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.my-widget-features__heading {
  font-family: Nunito, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
}
.my-widget-features__heading b {
  color: #fff;
  font-weight: 900;
}
.my-widget-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.my-widget-features__card-feature {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.my-widget-features__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.my-widget-features__feature-title {
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.my-widget-features__feature-text {
  font-family: Nunito, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0;
}
.my-widget-features__video {
  margin-top: 32px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.my-widget-features__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.my-widget-features__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(240, 67, 106, 0.35) 0%,
    rgba(155, 89, 232, 0.35) 100%
  );
}
.my-widget-features__duration {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: Nunito, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.my-widget-features__card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.my-widget-features__card-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.my-widget-features__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.my-widget-features__card-title {
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  margin: 0;
}
.my-widget-features__card-sub {
  font-family: Nunito, sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.my-widget-features__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition:
    transform 0.18s cubic-bezier(0.23, 1, 0.32, 1),
    background 0.18s;
  color: #fff;
  font-size: 28px;
}
.my-widget-features__video:hover .my-widget-features__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255, 255, 255, 0.35);
}
.my-widget-features__play span {
  margin-left: 4px;
}
.my-widget-features__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.my-widget-features__video.is-playing .my-widget-features__poster,
.my-widget-features__video.is-playing .my-widget-features__overlay,
.my-widget-features__video.is-playing .my-widget-features__duration,
.my-widget-features__video.is-playing .my-widget-features__card,
.my-widget-features__video.is-playing .my-widget-features__play {
  display: none;
}
@media (max-width: 768px) {
  .my-widget-features {
    padding: 40px 20px;
  }
  .my-widget-features__grid {
    grid-template-columns: 1fr;
  }
  .my-widget-features__card {
    display: none;
  }
}

/* ---- How it works ---- */
.my-widget-howto {
  background: #fff;
  padding: 80px 40px;
}
.my-widget-howto__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.my-widget-howto__stats {
  margin-bottom: 64px;
  background: #fde8ec;
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
}
.my-widget-howto__stars {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}
.my-widget-howto__number {
  font-family: Nunito, sans-serif;
  font-size: 110px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  letter-spacing: -2px;
  margin: 0 0 4px;
}
.my-widget-howto__label {
  font-family: Nunito, sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
  margin: 0 0 16px;
}
.my-widget-howto__sublabel {
  font-family: Nunito, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #666;
  margin: 0;
}
.my-widget-howto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.my-widget-howto__step {
  text-align: center;
}
.my-widget-howto__img {
  height: 240px;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
}
.my-widget-howto__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.my-widget-howto__step-title {
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.my-widget-howto__step-text {
  font-family: Nunito, sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .my-widget-howto {
    padding: 48px 20px;
  }
  .my-widget-howto__stats {
    padding: 40px 24px;
  }
  .my-widget-howto__number {
    font-size: 64px;
    letter-spacing: -1px;
  }
  .my-widget-howto__label {
    font-size: 30px;
  }
  .my-widget-howto__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- FAQ ---- */
.my-widget-faq {
  background: #fafaf8;
  padding: 72px 32px;
}
.my-widget-faq__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
}
.my-widget-faq__title {
  font-family: Nunito, sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 20px;
}
.my-widget-faq__image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f3f3f3;
  aspect-ratio: 3 / 4;
}
.my-widget-faq__image img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.my-widget-faq__cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 50px;
  background: #ec1d23;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: Nunito, sans-serif;
  border: none;
  text-decoration: none;
}
.my-widget-faq__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.my-widget-faq__item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  /* allow the open/close height to animate to/from `auto` */
  interpolate-size: allow-keywords;
}
/* Smoothly expand/collapse the answer. Browsers without ::details-content
   support simply snap open as before (graceful degradation, no JS needed). */
.my-widget-faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.3s ease,
    content-visibility 0.3s allow-discrete;
}
.my-widget-faq__item[open]::details-content {
  block-size: auto;
}
.my-widget-faq__q {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: Nunito, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1a1a1a;
  list-style: none;
}
.my-widget-faq__q::-webkit-details-marker {
  display: none;
}
.my-widget-faq__chevron {
  color: #888;
  font-size: 25px;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 0;
  transform: rotate(-90deg);
  transition: transform 0.2s;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji,
    Segoe UI Symbol;
}
.my-widget-faq__item[open] .my-widget-faq__chevron {
  transform: rotate(90deg);
  margin-right: -5px;
}
.my-widget-faq__a {
  padding: 0 20px 18px;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .my-widget-faq {
    padding: 48px 20px;
  }
  .my-widget-faq__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- Reviews ---- */
.my-widget-reviews {
  background: #fafaf8;
  padding: 56px 32px;
}
.my-widget-reviews__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.my-widget-reviews__row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.my-widget-reviews__summary {
  flex-shrink: 0;
  width: 160px;
  text-align: center;
}
.my-widget-reviews__summary-label {
  font-family: Nunito, sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.my-widget-reviews__stars {
  display: inline-flex;
  gap: 2px;
}
.my-widget-reviews__star {
  width: 20px;
  height: 20px;
  background: #22a06b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
}
.my-widget-reviews__star--empty {
  background: #dcdce6;
}
.my-widget-reviews__summary-count {
  font-size: 12px;
  color: #555;
  margin-top: 8px;
  line-height: 1.5;
}
.my-widget-reviews__count-link {
  text-decoration: underline;
  cursor: pointer;
}
.my-widget-reviews__source {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.my-widget-reviews__source-star {
  color: #ec1d23;
  font-weight: 700;
  font-size: 13px;
}
.my-widget-reviews__source-name {
  font-weight: 700;
  font-size: 13px;
  color: #1a1a1a;
}
.my-widget-reviews__track {
  flex: 1;
  overflow-x: auto;
  display: flex;
  gap: 12px;
  padding-bottom: 8px;
}
@media screen and (max-width: 647px) {
  .my-widget-reviews__track {
    max-width: calc(100%);
    overflow: auto;
  }
}

.my-widget-reviews__card {
  flex-shrink: 0;
  width: 245px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.my-widget-reviews__card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.my-widget-reviews__verified {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: #22a06b;
  font-weight: 700;
}
.my-widget-reviews__check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22a06b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.my-widget-reviews__card-title {
  font-family: Nunito, sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #1a1a1a;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.my-widget-reviews__card-body {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.my-widget-reviews__card-meta {
  font-size: 11px;
  color: #aaa;
  margin-top: 8px;
}
.my-widget-reviews__footer {
  font-size: 12px;
  color: #aaa;
  margin-top: 12px;
  margin-left: 192px;
}
@media (max-width: 768px) {
  .my-widget-reviews {
    padding: 40px 20px;
  }
  .my-widget-reviews__row {
    flex-direction: column;
    gap: 20px;
  }
  .my-widget-reviews__summary {
    width: 100%;
  }
  .my-widget-reviews__footer {
    margin-left: 0;
  }
}

button {
  outline: none !important;
  user-select: none !important;
}

button.my-cta-travel-button {
  padding: 17px 24px;
  border-radius: 50px !important;
  background: rgb(236, 29, 35) !important;
  color: rgb(255, 255, 255) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-width: medium;
  border-color: currentcolor;
  cursor: pointer;
  font-family: Nunito, sans-serif;
  letter-spacing: 0.5px !important;
}

/* ---- When (year-picker strip) ---- */
.my-widget-when {
  background: #fafaf8;
  padding: 40px 32px;
}
.my-widget-when__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.my-widget-when__title {
  font-family: Nunito, sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #1a1a1a;
  margin: 0 4px 0 0;
}
.my-widget-when__years {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.my-widget-when__year {
  padding: 10px 18px;
  border-radius: 50px;
  border: 2px solid #e8e8e8;
  background: #fff;
  color: #1a1a1a;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.my-widget-when__year:hover {
  border-color: #ec1d23;
}
.my-widget-when__year.is-active {
  background: #ec1d23;
  border-color: #ec1d23;
  color: #fff;
}
.my-widget-when__other {
  padding: 10px 16px;
  border-radius: 50px;
  border: 2px solid #e8e8e8;
  font-family: Nunito, sans-serif;
  font-size: 14px;
  width: 120px;
  outline: none;
}
.my-widget-when__other:focus {
  border-color: #ec1d23;
}
.my-widget-when__cta {
  margin-left: auto;
}
@media (max-width: 768px) {
  .my-widget-when {
    padding: 24px 16px;
  }
  .my-widget-when__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .my-widget-when__years {
    justify-content: center;
  }
  .my-widget-when__cta {
    margin-left: 0;
  }
}

.my-widget-when__other {
  width: auto !important;
  margin-bottom: 0 !important;
}

/* Bottom hero / closing CTA band */
.my-widget-bottom-hero {
  position: relative;
  background-image: url(https://www.stagingmyikona.net/wp-content/uploads/2026/06/photo-1469474968028-56623f02e42e.jpeg);
  background-size: cover;
  background-position: center;
  padding: 80px 32px;
}
/* Faint black overlay to dim the background image behind the content. */
.my-widget-bottom-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.my-widget-bottom-hero__inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.my-widget-bottom-hero__eyebrow {
  color: #ec1d23;
  font-family: Nunito, sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 12px;
}
.my-widget-bottom-hero__title {
  font-family: Nunito, sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 16px;
}
.my-widget-bottom-hero__text {
  color: rgba(255, 255, 255, 0.65);
  font-family: Nunito, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 36px;
}
.my-widget-bottom-hero__btn {
  padding: 18px 52px;
  border-radius: 50px;
  background: #ec1d23;
  color: #fff;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s;
}
.my-widget-bottom-hero__btn:hover {
  background: #d4181d;
  transform: translateY(-1px);
}
.my-widget-bottom-hero__note {
  color: rgba(255, 255, 255, 0.35);
  font-family: Nunito, sans-serif;
  font-size: 12px;
  margin: 16px 0 0;
}
@media (max-width: 768px) {
  .my-widget-bottom-hero {
    padding: 56px 20px;
  }
  .my-widget-bottom-hero__title {
    font-size: 28px;
  }
}
