* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink-primary: #FF0080;
  --pink-light: #FF0080;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --light-black: #212121;
}

body {
  background-color: var(--white);
  overflow-x: hidden;
}

.top-banner {
  background-color: var(--pink-primary);
  color: var(--white);
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

.top-banner a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}



.logo {
  color: var(--pink-primary);
  font-size: 26px;
  font-weight: bold;
  text-decoration: none;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: var(--light-gray);
  border-radius: 20px;
  padding: 5px 15px;
  width: 40%;
  max-width: 500px;
}

.search-box input {
  border: none;
  background-color: transparent;
  padding: 8px 10px;
  width: 100%;
  outline: none;
  font-size: 14px;
}

.search-icon {
  color: var(--pink-primary);
  margin-right: 5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-actions a {
  color: var(--light-black);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--pink-primary);
  color: var(--white);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger-menu div {
  width: 25px;
  height: 3px;
  background-color: var(--pink-primary);
}

nav {
  background-color: var(--white);
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  white-space: nowrap;
}

nav::-webkit-scrollbar {
  height: 0;
}

.nav-links {
  display: flex;
  list-style-type: none;
  gap: 20px;
}

.nav-links a {
  color: var(--light-black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 0;
}

/* Product section */
.breadcrumb {
  padding: 15px 20px;
  background-color: var(--white);
  font-size: 12px;
  color: var(--dark-gray);
}

.breadcrumb a {
  color: var(--dark-gray);
  text-decoration: none;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 30px;
}

.product-gallery {
  flex: 1;
  min-width: 300px;
}

.product-image {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-info {
  flex: 1;
  min-width: 300px;
}

.product-title {
  color: var(--pink-primary);
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--dark-gray);
}

.stars {
  display: flex;
  margin: 0 5px;
}

.star {
  font-size: 16px;
  color: #e7e72e;
}

.product-price {
  margin-bottom: 20px;
}

.old-price {
  color: var(--dark-gray);
  text-decoration: line-through;
  font-size: 16px;
}

.current-price {
  color: var(--light-black);
  font-size: 24px;
  font-weight: 700;
}

.installment {
  color: var(--dark-gray);
  font-size: 14px;
  margin-left: 5px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  max-width: 120px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 20px;
  overflow: hidden;
}

.quantity-btn {
  width: 40px;
  height: 100%;
  border: none;
  background-color: var(--white);
  color: var(--pink-primary);
  font-size: 20px;
  cursor: pointer;
}

.quantity-input {
  width: 40px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 16px;
  outline: none;
}

.buy-button {
  width: 100%;
  padding: 15px;
  background-color: var(--pink-primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.buy-button:hover {
  background-color: #d42a71;
}

/* Product tabs */
.product-tabs {
  margin-top: 30px;
}

.tab-buttons {
  display: flex;
  border-bottom: 2px solid var(--pink-primary);
}

.tab-button {
  padding: 10px 20px;
  background-color: transparent;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--dark-gray);
  position: relative;
}

.tab-button.active {
  color: var(--pink-primary);
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--pink-primary);
}

.tab-content {
  padding: 20px 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.characteristics {
  background-color: var(--pink-light);
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.characteristics h3 {
  margin-bottom: 15px;
  color: var(--light-black);
}

.characteristics ul {
  list-style-type: none;
}

.characteristics li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--dark-gray);
  display: flex;
  align-items: flex-start;
}

.characteristics li::before {
  content: "•";
  color: var(--pink-primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.product-description {
  line-height: 1.6;
  color: var(--dark-gray);
}

.product-description p {
  margin-bottom: 15px;
}

.product-description strong {
  color: var(--light-black);
}

/* Footer */
footer {
  background-color: var(--light-gray);
  padding: 30px 20px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: var(--light-black);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-column ul {
  list-style-type: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--dark-gray);
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: var(--dark-gray);
  font-size: 12px;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Media queries */
@media (max-width: 768px) {
  .search-box {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .nav-links {
    justify-content: space-between;
  }

  .product-container {
    flex-direction: column;
  }

  .product-gallery,
  .product-info {
    width: 100%;
  }

  .header-actions span {
    display: none;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 20px;
  }

  .current-price {
    font-size: 20px;
  }

  .tab-button {
    padding: 8px 12px;
    font-size: 14px;
  }

  .characteristics {
    padding: 15px;
  }
}

/* Checkout modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--white);
  padding: 30px;
  border-radius: 5px;
  width: 90%;
  max-width: 600px;
  max-height: 90%;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: var(--dark-gray);
  cursor: pointer;
  background: none;
  border: none;
}

.checkout-header {
  text-align: center;
  margin-bottom: 20px;
}

.checkout-product {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.checkout-product-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.checkout-product-details h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.checkout-product-details p {
  font-size: 14px;
  color: var(--dark-gray);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 14px;
  color: var(--dark-gray);
}

.form-group input,
.form-group select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.payment-methods {
  margin-top: 20px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.payment-method input {
  margin: 0;
}

.payment-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-info .form-group {
  flex: 1;
  min-width: 200px;
}

.checkout-total {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  text-align: right;
}

.checkout-button {
  width: 100%;
  padding: 15px;
  background-color: var(--pink-primary);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
}

.checkout-button:hover {
  background-color: #d42a71;
}

@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    white-space: normal;
  }
  
  nav li {
    flex: 1 0 33%; /* 3 itens por linha */
    text-align: center;
    padding: 5px;
  }
}