/* Custom Styles for AMD Bundle Landing Page */

body.amd-bundle-page {
  --wp--style--block-gap: 0px;
}

body.amd-bundle-page .ct-container,
body.amd-bundle-page .ct-container-full,
body.amd-bundle-page .site-main,
body.amd-bundle-page article,
body.amd-bundle-page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

body.amd-bundle-page .entry-content > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

body.amd-bundle-page .entry-content > * + * {
  margin-block-start: 0 !important;
}

body.amd-bundle-page .wp-block-html,
body.amd-bundle-page .amd-section-copy {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.amd-bundle-page .amd-section-copy,
body.amd-bundle-page .amd-hero-slider-section,
body.amd-bundle-page .amd-hero-swiper {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-hero-slide,
body.amd-bundle-page .amd-hero-slide picture,
body.amd-bundle-page .amd-hero-slide img {
  display: block;
  width: 100%;
}

body.amd-bundle-page .amd-hero-slide img {
  height: auto;
  max-width: none;
  border: 0;
  border-radius: 0;
}

/* Fallback: If Swiper is not loaded/initialized, display only the first slide */
body.amd-bundle-page .amd-hero-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
}

body.amd-bundle-page .amd-hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none !important;
}

/* Custom Program Details Section Styling for AMD */
body.amd-bundle-page .amd-custom-program-details {
  width: 100% !important;
  max-width: none !important;
}

body.amd-bundle-page .amd-program-details-section {
  width: 100%;
  background-color: #0b0b0b; /* Solid premium dark background */
}

body.amd-bundle-page .amd-program-details-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-custom-heading {
  width: 100%;
  text-align: center;
  display: block;
  margin-bottom: 50px;
}

body.amd-bundle-page .amd-custom-eyebrow {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
  /* Premium AMD theme orange-to-pink gradient */
  background-image: linear-gradient(140deg, #FF6A00 0%, #EE0979 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
}

body.amd-bundle-page .amd-custom-title {
  margin: 0 !important;
  text-align: center;
  color: #ffffff;
}

body.amd-bundle-page .amd-custom-subtitle {
  margin: 8px 0 0 0 !important;
  text-align: center;
  color: #cccccc;
}

body.amd-bundle-page .amd-program-details-card {
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

body.amd-bundle-page .amd-program-details-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Scoped layout & styling for child elements inside details card content */
body.amd-bundle-page .amd-program-details-content h4,
body.amd-bundle-page .amd-program-details-content h6 {
  margin: 0 0 15px 0 !important;
  color: #ffffff;
}

body.amd-bundle-page .amd-program-details-content p {
  margin: 0 0 10px 0 !important;
  color: #cccccc;
}

body.amd-bundle-page .amd-program-details-content p:last-child {
  margin-bottom: 0 !important;
}

body.amd-bundle-page .amd-program-details-content ul {
  margin: 0 0 15px 0 !important;
  padding-left: 20px !important;
  list-style-type: disc !important;
}

body.amd-bundle-page .amd-program-details-content ul:last-child {
  margin-bottom: 0 !important;
}

body.amd-bundle-page .amd-program-details-content li {
  margin: 0 0 8px 0 !important;
  color: #cccccc;
}

body.amd-bundle-page .amd-program-details-content li strong {
  color: #ffffff;
}

body.amd-bundle-page .amd-program-details-content li:last-child {
  margin-bottom: 0 !important;
}

/* Border separator for the outro block */
body.amd-bundle-page .amd-program-details-content .amd-program-outro {
  margin-top: 15px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

body.amd-bundle-page .amd-program-note {
  color: #FF6A00 !important;
  margin: 0 !important;
}

/* Responsive adjustments */
@media screen and (max-width: 960px) {
  body.amd-bundle-page .amd-program-details-inner {
    padding: 60px 20px;
  }
  body.amd-bundle-page .amd-program-details-card {
    padding: 30px;
  }
}

@media screen and (max-width: 768px) {
  body.amd-bundle-page .amd-program-details-inner {
    padding: 40px 15px;
  }
  body.amd-bundle-page .amd-program-details-card {
    padding: 20px;
  }
}

/* Custom Promotion Highlight Section styling for AMD */
body.amd-bundle-page .amd-custom-promotion-highlight {
  width: 100% !important;
  max-width: none !important;
}

body.amd-bundle-page .amd-promo-section {
  width: 100%;
  background-image: url('/wp-content/themes/gigabyte/assets/amd-bundle/bg-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media screen and (max-width: 768px) {
  body.amd-bundle-page .amd-promo-section {
    background-attachment: scroll;
  }
}

body.amd-bundle-page .amd-promo-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}

@media screen and (max-width: 960px) {
  body.amd-bundle-page .amd-promo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 40px auto 0 auto;
  }
}

body.amd-bundle-page .amd-promo-card {
  background-color: #161616;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

body.amd-bundle-page .amd-promo-media {
  position: relative;
  width: 100%;
  background-color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* Consistent standard padding */
  box-sizing: border-box;
}

body.amd-bundle-page .amd-promo-product-img {
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
}

body.amd-bundle-page .amd-promo-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 110px;
  height: auto;
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

@media screen and (max-width: 960px) {
  body.amd-bundle-page .amd-promo-media {
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  body.amd-bundle-page .amd-promo-media {
    padding: 15px;
  }
  body.amd-bundle-page .amd-promo-badge {
    width: 85px;
    top: 10px;
    right: 10px;
  }
}

body.amd-bundle-page .amd-promo-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-promo-title {
  margin: 0 0 10px 0 !important;
  text-align: center;
  color: #ffffff;
}

body.amd-bundle-page .amd-promo-desc {
  margin: 0 0 15px 0 !important;
  color: #cccccc;
  line-height: 1.5;
  flex-grow: 1;
  text-align: center;
}

body.amd-bundle-page .amd-promo-offer {
  margin: 0 0 20px 0 !important;
  text-align: center;
  color: #FF6A00; /* Matching AMD primary identity */
}

body.amd-bundle-page .amd-promo-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
  margin-top: auto;
  width: 100%;
}

body.amd-bundle-page .amd-promo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #ff6a00;
  background: rgba(0, 0, 0, 0.35);
  color: #ff6a00;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-promo-link:hover,
body.amd-bundle-page .amd-promo-link:focus {
  background: #ff6a00;
  border-color: #ff6a00;
  color: #fff;
}

body.amd-bundle-page .amd-promo-link span,
body.amd-bundle-page .amd-promo-link svg {
  color: #fff;
  fill: #fff;
}

/* Custom Partners / Đối tác Section Styling for AMD */
body.amd-bundle-page .amd-custom-partners {
  width: 100% !important;
  max-width: none !important;
}

body.amd-bundle-page .amd-partners-section {
  width: 100%;
  background-image: url('/wp-content/themes/gigabyte/assets/amd-bundle/diy-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body.amd-bundle-page .amd-partners-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-partners-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
  justify-content: center;
}

body.amd-bundle-page .amd-partner-card {
  aspect-ratio: 1 / 1;
  background-color: #161616;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

body.amd-bundle-page .amd-partner-card:hover {
  border-color: rgba(255, 106, 0, 0.3); /* Subtle orange hover matching AMD */
  background-color: #1c1c1c;
}

body.amd-bundle-page .amd-partner-card img {
  max-width: 82%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
}

/* Responsive Grid Breakpoints */
@media screen and (max-width: 1024px) {
  body.amd-bundle-page .amd-partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
  }
  body.amd-bundle-page .amd-partners-inner {
    padding: 60px 15px;
  }
}

@media screen and (max-width: 600px) {
  body.amd-bundle-page .amd-partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body.amd-bundle-page .amd-partners-inner {
    padding: 40px 10px;
  }
  body.amd-bundle-page .amd-partner-card {
    padding: 10px; /* Slightly smaller padding on mobile to maximize logo visibility */
  }
}

/* Custom Registration Form Section Styling for AMD */
body.amd-bundle-page .amd-custom-registration {
  width: 100% !important;
  max-width: none !important;
}

body.amd-bundle-page .amd-registration-section {
  width: 100%;
  background-image: url('/wp-content/themes/gigabyte/assets/amd-bundle/ud-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

body.amd-bundle-page .amd-registration-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

body.amd-bundle-page .amd-registration-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Align heading left on desktop for 2-column layout */
body.amd-bundle-page .amd-registration-content .amd-custom-heading {
  text-align: left;
  margin-bottom: 30px;
}

body.amd-bundle-page .amd-registration-content .amd-custom-title {
  text-align: left;
}

body.amd-bundle-page .amd-registration-content .amd-custom-subtitle {
  text-align: left;
}

body.amd-bundle-page .amd-registration-benefits ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.amd-bundle-page .amd-registration-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #cccccc;
  line-height: 1.5;
  margin: 0 !important;
}

/* Beautiful custom bullet point to replace standard disc */
body.amd-bundle-page .amd-registration-benefits li::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-image: linear-gradient(140deg, #FF6A00 0%, #EE0979 100%);
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.6);
}

body.amd-bundle-page .amd-registration-form-card {
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

/* Custom Fluent Form dark style integration */
body.amd-bundle-page .amd-custom-registration .fluentform {
  --ff-primary-color: #ff6a00;
}

body.amd-bundle-page .amd-custom-registration .fluentform input[type="text"],
body.amd-bundle-page .amd-custom-registration .fluentform input[type="email"],
body.amd-bundle-page .amd-custom-registration .fluentform input[type="tel"],
body.amd-bundle-page .amd-custom-registration .fluentform select,
body.amd-bundle-page .amd-custom-registration .fluentform textarea {
  background-color: #0b0b0b !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.amd-bundle-page .amd-custom-registration .fluentform input:focus,
body.amd-bundle-page .amd-custom-registration .fluentform select:focus,
body.amd-bundle-page .amd-custom-registration .fluentform textarea:focus {
  border-color: #ff6a00 !important;
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.2) !important;
  outline: none !important;
}

body.amd-bundle-page .amd-custom-registration .fluentform select,
body.amd-bundle-page .amd-custom-registration .fluentform select.ff-el-form-control,
body.amd-bundle-page .amd-custom-registration .fluentform select option {
  background-color: #050505 !important;
  color: #ffffff !important;
}

body.amd-bundle-page .amd-custom-registration .fluentform select:focus {
  background-color: #050505 !important;
  color: #ffffff !important;
}

body.amd-bundle-page .amd-custom-registration .fluentform label {
  color: #ffffff !important;
  font-size: 14px !important;
  margin-bottom: 8px !important;
  display: inline-block !important;
}

body.amd-bundle-page .amd-custom-registration .fluentform button[type="submit"] {
  background-image: linear-gradient(140deg, #FF6A00 0%, #EE0979 100%) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 14px 28px !important;
  font-size: 16px !important;
  font-weight: bold !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
  box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3) !important;
  width: 100% !important;
}

body.amd-bundle-page .amd-custom-registration .fluentform button[type="submit"]:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.4) !important;
}

body.amd-bundle-page .amd-custom-registration .fluentform button[type="submit"]:active {
  transform: translateY(1px) !important;
}

/* Responsive Styles */
@media screen and (max-width: 960px) {
  body.amd-bundle-page .amd-registration-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px;
  }

  body.amd-bundle-page .amd-registration-content {
    align-items: center;
  }

  body.amd-bundle-page .amd-registration-content .amd-custom-heading {
    text-align: center;
    margin-bottom: 25px;
  }

  body.amd-bundle-page .amd-registration-content .amd-custom-title,
  body.amd-bundle-page .amd-registration-content .amd-custom-subtitle {
    text-align: center;
  }

  body.amd-bundle-page .amd-registration-benefits {
    max-width: 500px;
  }

  body.amd-bundle-page .amd-registration-form-card {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 30px;
  }
}

@media screen and (max-width: 600px) {
  body.amd-bundle-page .amd-registration-inner {
    padding: 40px 15px;
    gap: 30px;
  }

  body.amd-bundle-page .amd-registration-form-card {
    padding: 20px;
  }
}

/* Custom Product Showcase Section Styling for AMD */
body.amd-bundle-page .amd-custom-product-showcase {
  width: 100% !important;
  max-width: none !important;
}

body.amd-bundle-page .amd-product-showcase-section {
  width: 100%;
  background-image: url('/wp-content/themes/gigabyte/assets/amd-bundle/card-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

body.amd-bundle-page .amd-product-showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

body.amd-bundle-page .amd-product-card {
  background-color: #161616;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

body.amd-bundle-page .amd-product-card:hover {
  border-color: rgba(255, 106, 0, 0.3); /* viền cam nhẹ đặc trưng AMD */
}

body.amd-bundle-page .amd-product-media {
  position: relative;
  width: 100%;
  background-color: #0d0d0d;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-product-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

body.amd-bundle-page .amd-product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-image: linear-gradient(140deg, #FF6A00 0%, #EE0979 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(255, 106, 0, 0.4);
  line-height: 1.2;
  z-index: 2;
}

body.amd-bundle-page .amd-product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-product-title {
  margin: 0 0 15px 0 !important;
  color: #ffffff;
}

body.amd-bundle-page .amd-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto; /* đẩy tag pill xuống dưới cùng */
}

body.amd-bundle-page .amd-product-tags span {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cccccc;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  body.amd-bundle-page .amd-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  body.amd-bundle-page .amd-product-showcase-inner {
    padding: 60px 15px;
  }
}

@media screen and (max-width: 480px) {
  body.amd-bundle-page .amd-product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  body.amd-bundle-page .amd-product-showcase-inner {
    padding: 40px 10px;
  }
  body.amd-bundle-page .amd-product-card {
    max-width: 100%;
  }
}

/* Custom Sticky Dots Navigation for AMD Page */
body.amd-bundle-page .amd-sticky-dots {
  position: fixed;
  top: 50%;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  width: auto;
  max-width: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(24px, -50%);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  box-sizing: border-box;
}

body.amd-bundle-page .amd-sticky-dots.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

body.amd-bundle-page .amd-sticky-dots a {
  width: max-content;
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  align-self: flex-end;
  pointer-events: auto;
  text-decoration: none;
  padding: 0;
  margin: 0;
  background: transparent;
  outline: none;
}

body.amd-bundle-page .amd-sticky-dots a p {
  margin: 0 !important;
  color: #cccccc;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
  max-width: none !important;
  overflow: visible !important;
  text-align: right;
  transition: color 0.25s ease;
}

body.amd-bundle-page .amd-sticky-dots a::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  border: 1.5px solid #ff6a00;
  background: transparent;
  box-sizing: border-box;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Hover and active states for desktop */
body.amd-bundle-page .amd-sticky-dots a.active p,
body.amd-bundle-page .amd-sticky-dots a.is-active p,
body.amd-bundle-page .amd-sticky-dots a[aria-current="true"] p,
body.amd-bundle-page .amd-sticky-dots a:hover p,
body.amd-bundle-page .amd-sticky-dots a:focus p {
  color: #ffffff;
}

body.amd-bundle-page .amd-sticky-dots a.active::after,
body.amd-bundle-page .amd-sticky-dots a.is-active::after,
body.amd-bundle-page .amd-sticky-dots a[aria-current="true"]::after,
body.amd-bundle-page .amd-sticky-dots a:hover::after,
body.amd-bundle-page .amd-sticky-dots a:focus::after {
  background: #ff6a00;
  border-color: #ff6a00;
}

/* Mobile responsive styling (max-width: 768px) */
@media screen and (max-width: 768px) {
  body.amd-bundle-page .amd-sticky-dots {
    right: 8px;
    height: auto;
    overflow: visible;
    gap: 12px;
    transform: translate(12px, -50%);
  }

  body.amd-bundle-page .amd-sticky-dots.visible {
    transform: translate(0, -50%);
  }

  body.amd-bundle-page .amd-sticky-dots a {
    height: 16px;
    gap: 8px;
  }

  body.amd-bundle-page .amd-sticky-dots a::after {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
  }

  /* Default hide label on mobile, only show on active/hover/focus to save space */
  body.amd-bundle-page .amd-sticky-dots a p {
    font-size: 10px;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(5px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, color 0.25s ease;
  }

  body.amd-bundle-page .amd-sticky-dots a.active p,
  body.amd-bundle-page .amd-sticky-dots a.is-active p,
  body.amd-bundle-page .amd-sticky-dots a[aria-current="true"] p,
  body.amd-bundle-page .amd-sticky-dots a:hover p,
  body.amd-bundle-page .amd-sticky-dots a:focus p {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0);
  }
}
