.custom-component h1 a, .custom-component h2 a, .custom-component h3 a, .custom-component h4 a, .custom-component h5 a, .custom-component h6 a, .custom-component p a {
  color: inherit;
  text-decoration: underline;
}

.custom-component.narrow-width {
  margin-left: auto !important; 
  margin-right: auto !important;
}


.full-width-banner {
  width: 100%;
  position: relative;
  /* display: flex;
  justify-content: center;
  align-items: center; */
}

.full-width-banner img {
  width: 100%;
  height: 100%;
}

/* .paragraph-component-title {
  font-size: 38px;
  line-height: 1.33;
  font-weight: 600;
} */

/* .paragraph-component-description {
  font-size: 21px;
  line-height: 1.15;
} */

.image-text-card .paragraph-component-description {
    padding: 40px 0;
}




.faq-set .accordion-item {
  border: 0;
  border-bottom: 1px solid #E6E6E6;
}

.faq-set .accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.faq-set-title {
  font-size: 32px;
}

.faq-section-title {
  font-size: 24px;
}

.component-width {
  width: 50%;
  margin: 0 auto;
}
.compontent-width-elements {
  padding: 50px 10px;
}
@media (max-width: 768px) {
  .component-width {
      width: 100%;
  }
}

.faq-section .accordion-button:not(.collapsed) {
  background-color: transparent;
}
.faq-section .accordion-button:focus {
  border-color:  transparent;
}

.category-links-wrapper {
  gap: 13px;
}

.category-item-box {
  border-radius: 6px;
  padding: 37px;
  gap: 20px;
}

.category-links-wrapper a {
  width: 25%;
}

.category-links-wrapper a:hover {
  opacity: 0.8;
}

/* .category-item-box .text {
  font-size: 15px;
} */

.category-item-box .text p {
  margin-bottom: 0;
}

.icon img {
  width: 28px;
  height: 28px;
}


@media (max-width: 992px) {
  .category-links-wrapper a {
    width: 100%;
  }
}


.text-only-component .text-only-title {
  font-size: 20px;
}

.text-only-component .text-only-image img { 
  width: 100%
}

.text-only-component .description-full img[data-align="left"] {
  display: block;
}

.text-only-component .description-full img[data-align="center"] {
  display: block;
  margin: auto;
}

.text-only-component .description-full img[data-align="right"] {
  display: block;
  margin: 0 0 0 auto;
}

.custom-table-container {
  border-radius: 35px;
}

.custom-table-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
}

.custom-table-cell {
  flex-grow: 1;
  padding: 15px;
}

.custom-table-cell ul {
  padding-left: 8px;
}

.custom-table-cell .cell-text ::marker {
  content: "O";
  font-weight: bold;
  font-size: 10px;
}

@media (max-width: 768px) {
  .custom-table-row {
    flex-direction: column;
  }

  .custom-table-cell .cell-title,
  .custom-table-cell .cell-text {
    text-align: center;
  }

  .custom-table-cell:first-child {
    border-bottom-left-radius: 0;
  }

  .custom-table-cell:last-child {
    border-bottom-right-radius: 0;
  }

  .custom-table-cell {
    width: 100% !important;
  }
}

.cell-title {
  font-size: 20px;
  line-height: 1;
}

.cell-text {
  font-size: 16px;
}

/* Button List */
.custom-component .button-wrapper {
  position: relative;
}

.custom-component .button-wrapper a {
  display: block;
  color: inherit;
}

.button-dark {
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  padding-left: 30px;
  padding-right: 30px;
}

.button-dark:hover {
  background: var(--primary-color-hover);
}

.button-dark a {
  color: var(--white-color);
  text-decoration: unset;
}

.button-dark a:hover,
a:hover.button-dark {
  color:white;
}

/* .button-dark:focus {
  outline: 4px solid var(--secondary-color);
  outline-offset: 1px;
} */

/* .button-dark:active {
  border: 2px solid var(--primary-color-active);
  background: var(--primary-color-active);
} */

.button-light {
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  padding-left: 30px;
  padding-right: 30px;
  text-decoration: unset;
}

.button-light:hover {
  opacity: 0.5;
}

.button-light:focus {
  outline: 4px solid var(--secondary-color);
  outline-offset: 1px;
}

/* .button-light:active {
  border: 2px solid var(--primary-color-active);
  background: var(--primary-color-active);
} */

.button-light a {
    color: var(--primary-color);
    text-decoration: none;
  }

  
.button-light a:hover {
  color: var(--primary-color);
}

.button-light-white {
  border: 2px solid white;
  background: transparent;
  color: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  padding-left: 30px;
  padding-right: 30px;
  text-decoration: unset;
}

.button-light-white:hover {
  opacity: 0.5;
}

.button-light-white:focus {
  outline: 4px solid var(--secondary-color);
  outline-offset: 1px;
}

.button-light-white a {
    color: white;
    text-decoration: none;
  }

.button-light-white a:hover {
  color: white;
}

.button-green {
  border: 2px solid var(--secondary-color);
  background: var(--secondary-color);
  color: var(--primary-color);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  padding-left: 30px;
  padding-right: 30px;
}

.button-green:hover {
  border-color: #B4FF00CC;
  background: #B4FF00CC;
  color: inherit;
}

.button-green a {
  color: var(--primary-color);
  text-decoration: unset;
}

.button-green a:hover {
  color: var(--primary-color);
}

.button-light a:active,
.button-dark a:active,
.button-green a:active {
  color: inherit;
}
/* .button-green:focus {
  outline: 4px solid var(--secondary-color);
  outline-offset: 1px;
} */

/* .button-green:active {
  background: var(--secondary-color-active);
} */

.full-width-button {
  width: 50%;
  cursor: pointer;
  text-align: center;
  text-decoration: unset;
}

.fluid-button {
  width: fit-content;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  text-decoration: unset;
}

.button-wrapper svg {
  height: 24px;
  width: 24px;
}


/* CSS for components Tasou */

/* Text & Image */
/* Main component layout */
.text-and-image-component {
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-items: center;
}

/* Left Section: Text Content */
/* .text-and-image-component .text-and-image-left {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
} */

/* Right Section: Image */
/* .text-and-image-component .text-and-image-right {
  flex: 1;
  max-width: 50%;
  text-align: center;
} */



.text-and-image-image {
  height: 100%;
  text-align: center;
}

.text-and-image-component .text-and-image-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Title */
.text-and-image-component .paragraph-component-title {
  font-size: 26px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
  text-align: left;
  /* Ensures title starts from the left */
}

/* Custom bullet points */
.text-and-image-component .paragraph-component-description {
  text-align: left;
  /* Ensures description starts from the left */
}

.text-and-image-component .paragraph-component-description ul li {
  padding-left: 10px;
  margin-bottom: 5px;
}

.text-and-image-component .paragraph-component-description ul li::marker {
  content: "o";
  font-size: 18px;
  padding-right: 5px;
  color: inherit;
}

/* Pricing Section */

.text-and-image-component .text-and-image-price {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  padding-left: 50px;
}

.text-and-image-component .text-and-image-price-left {
  font-size: 18px;
  margin-top: 20px;
}

.text-and-image-component .text-and-image-price-right {
  font-size: 16px;
  padding-left: 20px;
}

/* Remove default paragraph spacing inside price section */
.text-and-image-component .text-and-image-price-right p {
  margin-bottom: 0;
  padding-left: 20px;
  text-indent: -16px;
}

/* Button styles */
.text-and-image-component .text-and-image-button {
  margin-top: 20px;
}

.text-and-image-component .text-and-image-button a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #B4FF00;
  /* Bright green */
  color: #002340;
  /* Dark text */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 30px;
  transition: background 0.3s, transform 0.2s;
  text-decoration: underline;
}

.text-and-image-component .text-and-image-button a:hover {
  background-color: #A4E500;
  transform: scale(1.05);
}

.text-and-image-component .text-and-image-button a:hover {
  background-color: #A4E500;
  transform: scale(1.05);
}

/* Layout Variants */
.text-and-image-component.layout-50_50 .text-and-image-left {
  flex: 1;
  max-width: 50%;
}

.text-and-image-component.layout-50_50 .text-and-image-right {
  flex: 1;
  max-width: 50%;
}

.text-and-image-component.layout-25_75 .text-and-image-left {
  flex: 0 0 25%;
  max-width: 25%;
}

.text-and-image-component.layout-25_75 .text-and-image-right {
  flex: 0 0 75%;
  max-width: 75%;
}

.text-and-image-component.layout-75_25 .text-and-image-left {
  flex: 0 0 75%;
  max-width: 75%;
}

.text-and-image-component.layout-75_25 .text-and-image-right {
  flex: 0 0 25%;
  max-width: 25%;
}

/* Responsive Design (Mobile) */
@media (max-width: 768px) {
  /* .text-and-image-component {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
    gap: 20px;
  }

  .text-and-image-component .text-and-image-right {
    order: -1;
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .text-and-image-component .text-and-image-image img {
    max-width: 100%;
    height: auto;
  } */

  /* .text-and-image-component .text-and-image-left {
    max-width: 100%;
  } */
   
  .text-and-image-right.hide-image{
    display: none;
  }

  .text-and-image-component .paragraph-component-title,
  .text-and-image-component .paragraph-component-description {
    text-align: left;
    padding: 0 10%;
  }

  .text-and-image-component .text-and-image-price {
    padding: 0 10%;
  }

  .text-and-image-component .text-and-image-button {
    text-align: center;
  }
  .text-and-image-component{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .text-and-image-component .text-and-image-right {
    max-width: 100% !important;
  }
  .text-and-image-component .text-and-image-left {
    max-width: 100% !important;
    align-items: center;
    text-align: center;
  }
  .text-and-image-component .button-space{
    padding: 10%;
  }
}


/* Text & Text card */
.text-and-text-component {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  gap: 50px;
}

/* Left Section: Text Content */
.text-and-text-left {
  flex: 1;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  max-height: fit-content;
}

.text-and-text-left .paragraph-component-title {
  font-size: 22px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 15px;
}

.text-and-text-left .paragraph-component-description {
  font-size: 16px;
  text-align: left;
}

.text-and-text-left .paragraph-component-description img {
  max-width: 100%;
  object-fit: contain;
}

.text-and-text-component .text-and-text-right .full-width-button {
    width: 100%;
}

/* Buttons inside the left section */
.text-and-text-left .text-and-text-button {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* Right Section: Text Content */
.text-and-text-right {
  flex: 1;
  max-width: 45%;
  text-align: left;

  border-radius: 10px;
}

.text-and-text-right .paragraph-component-title {
  font-size: 26px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
}

.text-and-text-right .paragraph-component-description {
  font-size: 16px;
  line-height: 1.6;
}

.text-and-text-component .text-and-text-right .paragraph-component-description ul li {
  padding-left: 10px;
}

.text-and-text-component .text-and-text-right .paragraph-component-description ul li::marker {
  content: "o";
  font-size: 18px;
  padding-right: 5px;
  color: #000;
}

/* Layout Variants */
.text-and-text-card-component.layout-50_50 .text-and-text-left {
  flex: 1;
  max-width: 50%;
}

.text-and-text-card-component.layout-50_50 .text-and-text-right {
  flex: 1;
  max-width: 50%;
}

.text-and-text-card-component.layout-25_75 .text-and-text-left {
  flex: 0 0 25%;
  max-width: 25%;
}

.text-and-text-card-component.layout-25_75 .text-and-text-right {
  flex: 0 0 75%;
  max-width: 75%;
}

.text-and-text-card-component.layout-75_25 .text-and-text-left {
  flex: 0 0 75%;
  max-width: 75%;
}

.text-and-text-card-component.layout-75_25 .text-and-text-right {
  flex: 0 0 25%;
  max-width: 25%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .text-and-text-component {
    flex-direction: column;
    gap: 0;
  }

  .text-and-text-left,
  .text-and-text-right {
    max-width: 100% !important;
  }

  .text-and-text-right {
    margin-top: 50px;
  }
  
  .text-and-image-card-component .full-width-button {
    width: 100%;
  }
}




/* Catalogue List */
.catalogue-list-container-all {
  background-color: #EBE9E8;
}

/* Title styling */
.general-title {
  font-size: 32px;
  font-weight: bold;
  color: #002340;
}

/* Catalogue container */
.catalogue-list-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

/* Individual book item */
.catalogue-list {
  width: 200px;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease-in-out;
}

.catalogue-list:hover {
  transform: scale(1.05);
}

/* Book image */
.catalogue-list-image img {
  width: 100%;
  height: auto;
}

/* Title */
.catalogue-list .paragraph-component-title {
  font-size: 18px;
  margin: 10px 0;
  color: #002340;
  text-decoration: underline;
}

/* Description */
.catalogue-list .paragraph-component-description {
  font-size: 14px;
  font-weight: bold;
  color: #002340;
}

.catalogue-list .paragraph-component-description p {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .catalogue-list{
    width: auto;
    flex: 0 0 calc(50% - 20px);
  }
}

/* Vertical Images Carousel */
/*  Carousel Container */
.vertical-images-custom-carousel {
  overflow: hidden;
  width: 100%;
}

.custom-carousel-wrapper {
  display: flex;
  flex-direction: row;
  animation: seamless-scroll linear infinite;
  width: fit-content;
}

.custom-carousel-item {
  flex-shrink: 0;
  width: 220px;
  margin-right: 16px;
  /* aspect-ratio: 9/16; */
  overflow: hidden;
  border-radius: 16px;
}

.custom-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keyframes must match exactly half the total width of the duplicated content */
@keyframes seamless-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}






/* 3 Cards in a Row */
.cards-per-row-3-container {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), 1fr);
  gap: 24px;
  justify-items: center;
}

.card-per-row-3 {
  width: 100%;
  max-width: 424px;
  height: auto;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
}
.card-per-row-3 img{
  max-height: 140px;
}

.card-per-row-3 .button-wrapper a {
  text-decoration: none;
  transition: color 0.3s ease;
}

/* 3 Cards in a Row for Medium Screens */
@media (max-width: 1024px) {
  .cards-per-row-3-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 1 Card per Row for Small Screens */
@media (max-width: 768px) {
  .cards-per-row-3-container.mobile-display-one {
    grid-template-columns: 1fr;
  }
  .cards-per-row-3-container.mobile-display-two {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Adjust Font Sizes for Mobile */
/* @media (max-width: 768px) {
  .paragraph-component-title {
    font-size: 20px;
  }

  .paragraph-component-description {
    font-size: 14px;
  }
} */

/* Two Cards in a Row */
/* Default: Two Cards in a Row (Desktop) */
.cards-per-row-2-container {
  display: flex;
  justify-content: center;
  gap: 32px;
}

/* Individual Card */
.card-per-row-2 {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 650px;
  height: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.card-per-row-2-image {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-per-row-2-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Text Content */
.card-per-row-2-text {
  flex-grow: 1;
}

/* Button */
.card-per-row-2-button a {
  text-decoration: none;
  transition: color 0.3s ease;
  border-bottom: 1px solid;
  padding-bottom: 5px;
}

.card-per-row-2-button a:hover {
  opacity: 0.8;
}

.card-per-row-2-button a::after {
  content: '→';
  font-size: 18px;
  margin-left: 6px;
}


/* Responsive Design (Stack Cards in Mobile) */
@media (max-width: 768px) {
  .cards-per-row-2-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card-per-row-2 {
    width: 100%;
    max-width: 650px;
    flex-direction: column;
    align-items: center;
  }
}

/* END CSS for component Tasou */
/* 4 Banners in a row */
/* Default: Use flexbox (for mobile) */
.four-banners-in-a-row{
  position: relative;
}
.four-banners-in-a-row .banners-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
  padding: 10px;
  position: relative;
}

/* Individual Banner */
.four-banners-in-a-row .four-carousel-banner {
  background: white;
  text-align: center;
}

/* Ensure image fills container */
.four-banners-in-a-row .four-carousel-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  aspect-ratio: 9/16;
}

/* White Space Placeholder (empty slot) */
.four-banners-in-a-row .white-space {
  background-color: #ffffff;
  display: block;
  height: auto;
}

/* Use Grid for Desktop (min-width: 481px) */
@media (min-width: 481px) {
  .four-banners-in-a-row .banners-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 equal columns */
    gap: 2%;
    /* Space between banners */
    width: 100%;
  }

  .four-banners-in-a-row .four-carousel-banner {
    width: 100%;
  }

  .four-banners-in-a-row .white-space {
    width: 100%;
  }
}

/* Mobile Carousel */
@media (max-width: 480px) {
  .four-banners-in-a-row .banners-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px;
    position: relative;
  }

  /* Mobile Individual Banner */
  .four-banners-in-a-row .four-carousel-banner {
    width: 80%;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .four-banners-in-a-row .four-carousel-banner img {
    aspect-ratio: 9/16;
  }

  /* Mobile White Space */
  .four-banners-in-a-row .white-space {
    width: 80%;
    height: 150px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    max-height: fit-content;
  }

  /* Navigation Buttons */
  .four-banners-in-a-row .four-carousel-button {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background-color: #002340;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s;
  }

  .four-banners-in-a-row .four-carousel-button:hover {
    opacity: 1;
  }

  .four-banners-in-a-row .four-carousel-prev {
    left: 10px;
  }

  .four-banners-in-a-row .four-carousel-next {
    right: 10px;
  }

  .four-banners-in-a-row .banners-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* Dots Container */
  .four-banners-in-a-row .four-carousel-dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
  }

  /* Individual Dot */
  .four-banners-in-a-row .four-carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #E5E9EC;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
  }

  /* Active Dot */
  .four-banners-in-a-row .four-carousel-dot.active {
    background-color: #002340;
    transform: scale(1.3);
  }
}

/* Hide carousel buttons on desktop */
@media (min-width: 481px) {
  .four-banners-in-a-row .four-carousel-button {
    display: none;
  }
  .four-banners-in-a-row .four-carousel-dots-container {
    display: none;
  }
}


/* Services Links */
.services-links-container .general-title {
  color: #002340;
  font-size: 52px;
}

.services-links-container .services-link-cards-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

.services-links-container .service-card {
  flex: 1 1 30%;
  max-width: 500px;
  border-radius: 15px;
  padding: 20px;
}

.services-links-container .service-title {
  font-size: 1.5em;
  font-weight: bold;
}
.services-links-container .full-width-button{
  width: 100%;
}

.services-links-container .service-description {
  font-size: 1em;
  min-height: 100px;
}
.services-links-container  .service-title {
  min-height: 50px;
}
.services-links-container .service-image {
  width: 100px;
  height: auto;
  margin: 30px 0;
}

.services-links-container .service-link-button {
  margin-top: 30px;
  display: inline-block;
}



.services-links-container .service-link-button.button-light:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.services-links-container .service-card {
  flex: 1 1 33.33%;
  max-width: 500px;
  min-width: 250px;
}

@media (max-width: 481px) {
  .services-links-container .services-link-cards-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    scrollbar-width: none;
  }

  .services-links-container .service-card {
    flex: 0 0 80%;
    /* Makes each card take 80% of the screen width */
    scroll-snap-align: center;
    /* Snaps cards into position */
    max-width: none;
    min-width: 250px;
    /* Ensures they don’t shrink too much */
    transition: transform 0.3s ease-in-out;
  }

  .services-links-container .services-link-cards-container {
    justify-content: start;
  }
}


/* FUll    --- Device */
.devices-section {
  position: relative;
  width: 100%;
}

/* Categories */
.devices-section .categories-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px; 
  margin: 20px auto;
  max-width: 800px;
}

/* Individual category item */
.devices-section .category-item {
  display: flex;
  flex-direction: column; /* Ensures elements are stacked vertically */
  align-items: center;
  width: 100%;
}

.devices-section .category-icon{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
  opacity: 0.6;
  cursor: pointer;

}
.devices-section .category-icon.active-category {
  opacity: 1;
  border-bottom: 3px solid #002340;
}
/* Hide active line below the category if there is only one category  */
.categories-wrapper > .category-item:only-child .category-icon.active-category {
  display: none;
}

.devices-section .category-image {
  width: 100%;
  text-align: center; /* Center align the image */
}

.devices-section .category-image img {
  width: 100%;
  height: auto;
  padding: 20px;
}

/* Devices Slider - Horizontal Scroll */
.devices-section .devices-slider {
  display: flex;
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  padding: 20px;
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari */
.devices-section .devices-slider::-webkit-scrollbar {
  display: none;
}

.devices-section .devices-slider-device{
  display: flex;
  background-color: #F2F4F5;
  overflow: hidden;
}
@media (min-width: 1280px) {
.devices-section .devices-slider-device.few-devices{
  display: inline-flex;
  overflow: unset;
}
}
/* Device Cards */
.devices-section .device-card {
  position: relative;
  flex: 0 0 auto; 
  width: 23%; 
  border-radius: 15px;
  padding: 20px;
  scroll-snap-align: start; 
  background-color: #ffffff;
  margin: 10px;
  overflow: hidden;
  max-width: 400px;
  min-width: 300px;
}

.devices-section .device-image{
  text-align: center;
}

/* Image Styling */
.devices-section .device-image img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  background-color: #F2F4F5 ;
  height: 250px;
  object-fit: contain;
}

/* Device Title */
.devices-section {
  color: #002340;
}
.devices-section .device-title {
  margin-top: 10px;
  padding-bottom: 50px;
}

/* Pricing */
.devices-section .device-prices {
  display: flex;
  align-items: flex-end
}

.devices-section .device-prices p{
  margin-bottom: 0;
}

.devices-section .device-prices .device-prices-left{
  display: flex;
  flex-direction: column;
}
.devices-section .device-prices .device-prices-left .old-price, .devices-section .bottom-price{
  color: #4D657A;
}
.devices-section .device-prices .right-price{
  color: #002340CC;
  opacity: 0.8;
}

.devices-section .bottom-price{
  align-items: start;
}
/* Device Button */
.devices-section .device-button {
  display: inline-block;
  margin-top: 25px;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  background: #F2F4F5;
  position: absolute;
  bottom: -50px;
  right: -40px;
  width: 100px;
  height: 100px;
}

.devices-section .button-container{
  margin-left: 90%;
}
.devices-section .button-container svg{
  margin-top: 8px;
  margin-left: 14px;
}

/* Device Tags */
.devices-section .device-tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.devices-section .device-tags p{
  margin-bottom: 0;
}
.devices-section .tag {
  padding: 5px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.devices-section .carousel-button {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  background-color: #002340;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.devices-section .carousel-button:hover {
  opacity: 1;
}

.devices-section .devices-slider-wrapper{
  position: relative;
}
.devices-section .devices-slider-buttons{
  position: absolute;
  top: 50%;
  z-index: 99;
  width: 100%;
}

.devices-section .device-carousel-prev,
.devices-section .device-carousel-next {
    background-color: #002340;
    color: white;
    padding: 10px 17px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
}

.devices-section .device-carousel-next {
  float: right;
}


@media screen and (max-width: 480px) {
  .devices-section .devices-slider-device {
    padding: 10px;
  }
  
  .devices-section .general-title{
    padding: 0;
  }
  .devices-section .device-title{
    padding-bottom: 0;
    margin-bottom: 10px;
    margin-top: 0;
  }
  .devices-section .device-image img {
    width: 100%;
  }
  .devices-section .device-prices-all{
    position: absolute;
    bottom: 0;
  }
  .devices-section .device-prices .right-price p{
    margin-bottom: 0;
  }
  .devices-section .devices-slider-buttons{
    top: 44%;
  }
  .devices-section .devices-slider{
    padding: 0;
  }
 
  .devices-section .device-card{
    position: relative;
    width: 70%;
    min-width: auto;
    padding: 10px;
    min-height: 417px;
  }
  .devices-section .device-button {
    bottom: -59px;
    right: -54px;
  }
}

/* Dots Container */
.devices-section .device-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
}

/* Individual Dot */
.devices-section .device-dot {
  width: 12px;
  height: 12px;
  background-color: #E5E9EC;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

/* Active Dot */
.devices-section .device-dot.active {
  background-color: #002340;
  transform: scale(1.3);
}

/* Hide carousel buttons on desktop */
@media (min-width: 481px) {
  .devices-section  .device-dots-container {
    display: none;
  }
}

.node--type-promo-pages main#content{
  overflow-y: hidden;
}


@media (min-width: 1200px) and (max-width: 1280px) {
    .container.narrow-width {
        max-width: 1050px !important;
    }
}
.card-per-row-2-button a.it-has-icon::after {
    content: unset;
}
.card-per-row-2-button a.it-has-icon {
  border-bottom: 0;
  padding-bottom: 0;
}
.card-per-row-2-button .button-dark, .card-per-row-2-button .button-green, .card-per-row-2-button .button-light{
  padding: 5px 10px;
}

a.new-device-card-link {
    cursor: pointer;
    inset: 0;
    position: absolute;
    z-index: 3;
}