*{
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "SamsungSharpSans", "SamsungOne", arial, verdana, sans-serif;
  background: white;
  color: #333;
}

.product-details {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.product-details h2 {
  font-size: 2em;
  margin-bottom: 40px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-item {
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-5px);
}

.detail-item img {
  width: 60px;
  margin-bottom: 20px;
}

.detail-item h3 {
  font-size: 1.1em;
  color: #333;
}

.feature-block {
  background: white;
  text-align: center;
  margin-bottom: 20px;
}

.feature-block-title {
  font-family: "SamsungSharpSans", "SamsungOne", arial, verdana, sans-serif;
  font-size: 35px;
  margin-bottom: 15px;
}

.feature-block-text {
  font-family: "SamsungOne";
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  margin-bottom: 15px;
}

.custom-cards {
  background-color: whrite;
  padding: 60px 20px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.card {
  background-color: #f0f0f0;
  border-radius: 16px;
  padding: 30px 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 60px;
  margin-bottom: 20px;
}

.card p {
  font-size: 1.1em;
  color: #fdfdfd;
  margin: 0;
}


.carousel-section {
  background-color: whrite;
  color: black;
  text-align: center;
  padding: 60px 20px;
}

.carousel-section h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.carousel-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  line-height: 1.6;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.carousel-item-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: rgb(11, 11, 11);
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}


.video-feature {
  background-color: whrite;
  color: black;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.video-text {
  flex: 1 1 300px;
  max-width: 500px;
}

/* botao pause e player */

.video-container {
    position: relative;
}

.play-pause-button {
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: 50px; 
    height: 50px; 
    font-size: 24px; 
    color: black; 
    background-color: white;
    border: 2px solid black; 
    border-radius: 50%; 
    cursor: pointer;
    z-index: 10; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    transition: background-color 0.3s, color 0.3s; 
}

.play-pause-button:hover {
    background-color: black; 
    color: white; 
}

.battery-highlight {
  background-color: whrite;
  color: black;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.battery-text {
  flex: 1 1 300px;
  max-width: 600px;
}

.battery-visual {
  flex: 1 1 200px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card-row {
  background-color: white;
  color: black;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.info-card {
  background-color: #ffffff10;
  border-radius: 12px;
  padding: 30px 20px;
  max-width: 320px;
  flex: 1 1 280px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.info-card-title {
  font-size: 1.3em;
  margin-bottom: 15px;
}

.info-card-text {
  font-size: 1em;
  line-height: 1.5;
  color: black;
}

.bixby-feature {
  background-color: white;
  color: black;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.bixby-image {
  flex: 1 1 400px;
  max-width: 500px;
}

.bixby-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.bixby-text {
  flex: 1 1 300px;
  max-width: 600px;
}

.bixby-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.bixby-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.gallery-section {
  max-width: 1300px;
  background-color: white;
  margin: 40px auto;
  color: black;
  padding: 60px 20px;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

.gallery-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.gallery-carousel img {
  height: 200px;
  border-radius: 10px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.gallery-carousel img:hover {
  transform: scale(1.05);
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: black;
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.left {
  position: absolute;
  left: 0;
}

.carousel-btn.right {
  position: absolute;
  right: 0;
}

.gallery-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 3em;
  cursor: pointer;
}

.modal-nav.left {
  left: 20px;
}

.modal-nav.right {
  right: 20px;
}

.especificacoes {
  max-width: 1300px;
  margin: 40px auto;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.especificacoes h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.expand-all {
  float: right;
  font-size: 14px;
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
  margin-top: -30px;
}

.accordion {
  background-color: #f9f9f9;
  color: #222;
  cursor: pointer;
  padding: 14px 20px;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: left;
  outline: none;
  font-size: 16px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion:hover,
.accordion.active {
  background-color: #e6f0ff;
}

.accordion .icon {
  font-weight: bold;
  font-size: 18px;
}

.panel {
  display: none;
  padding: 15px 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 6px 6px;
  margin-bottom: 10px;
}

.panel p {
  margin: 0;
  line-height: 1.6;
}

.info-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.info-row>div {
  flex: 1;
  min-width: 250px;
}

.interactive-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.icon-option img {
  width: 80px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.icon-option img:hover {
  transform: scale(1.1);
}

.icon-display {
  text-align: center;
}

.icon-display {
  width: 150px;
  margin-bottom: 10px;
}

.block-small {
  font-family: "SamsungIFRg", Arial, sans-serif;;
  font-size: 14px;
  text-align: center;
  max-width: 70%;
  margin: 0 auto;
}

.justify {
  text-align: justify;
}


@media (max-width: 600px) {
  body {
    padding: 15px;
  }

  .product-details {
    padding: 30px 5px; 
    max-width: 100%; 
    margin: auto 5px; 
    /* text-align: center;  */
  }

  .product-details h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .details-grid {
    /* grid-template-columns: 1fr; */
    /* gap: 15px; */
    width: 80%;
  }

  .detail-item {
    padding: 5px;
  }

  .detail-item img {
    width: 50px;
  }

  .feature-block-title {
    font-family: "SamsungSharpSans", "SamsungOne", arial, verdana, sans-serif;
    font-size: 24px;
  }

  .feature-block-text {
    font-family: "SamsungOne";
    font-size: 16px;
  }

  .feature-block-img {
    width: 100%;
  }

  .banner3 {
    content: url("../image/banner-3-mobile.png");
    width: 100%;
    height: auto;
  }

  .video-feature {
    flex-direction: column;
    padding: 20px 10px;
    align-items: center;
  }

  .video-text {
    flex: 1 1 auto;
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .video-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .video-container video {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .battery-highlight-img {
    width: 100%;
  }

  .custom-cards {
    flex-direction: column;
    padding: 30px 10px;
  }

  .card {
    width: 100%;
    margin-bottom: 20px;
  }

  .carousel-section {
    padding: 30px 10px;
  }

  .carousel-section h2 {
    font-size: 1.5em;
  }

  .carousel-section p {
    font-size: 1em;
  }

  .battery-highlight {
    margin: auto;
    flex-direction: column;
    width: 90%;
  }

  .info-card {
    max-width: 100%;
  }

  .gallery-carousel img {
    height: auto;
    max-width: 100%;
  }

  .modal-content {
    max-width: 90%;
    max-height: 70vh;
  }

  .accordion {
    font-size: 14px;
  }

  .icon-option img {
    width: 60px;
  }

  .block-small {
    font-size: 12px;
  }

  .justify {
    text-align: center;
  }
}