:root {
  --primary-red: #a20000;
  --secondary-red: #dc3545;
  --dark-red: #be2231;
  --dark-text: #1b1b1b;
  --medium-text: #565959;
  --light-text: #999999;
  --border-color: #cacaca;
}

/* CSS used here will be applied after bootstrap.css */
html,
body {
  overflow-x: hidden; /* Impede scroll horizontal */
  max-width: 100%; /* Garante que nada ultrapasse a largura */
}

body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  color: var(--dark-text);
  margin: 0;
  padding: 0;
}

/* Header */
.top-bar {
  background-color: var(--primary-red);
  height: 77px;
  display: flex;
  align-items: center;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.continue-shopping {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #dc3545;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 10px;
}

.continue-shopping .arrow {
  width: 5.66px;
  height: 5.66px;
  border: 1.33px solid var(--secondary-red);
  transform: rotate(-45deg);
}

/* Main Content */
.main-container {
  padding-top: 20px;
}

.cart-header {
  font-weight: 600;
  font-size: 27px;
  margin-bottom: 20px;
}

/* Product Cards */
.product-card {
  background: #ffffff;
  box-shadow: 0px 0.8px 0px 2px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 24px;
}

.product-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.product-image {
  width: 53px;
  height: 53px;
  background: #f5f5f5;
  margin-right: 15px;
}

.product-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  margin: 0;
}

.product-seller {
  font-size: 14px;
  line-height: 18px;
  color: var(--dark-text);
  margin-top: 5px;
}

/* Form Elements */
.form-section {
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.form-control,
.form-select {
  height: 30px;
  border: 0.5px solid var(--light-text);
  border-radius: 4px;
  font-size: 12px;
  color: var(--medium-text);
}

.form-control::placeholder {
  color: var(--medium-text);
}

textarea.form-control {
  height: 28px;
  resize: none;
}

.form-text {
  font-size: 12px;
  color: var(--dark-text);
}

.required-field {
  color: var(--secondary-red);
  font-size: 12px;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 27px;
  width: 182px;
  height: 31px;
  border: 0.5px solid var(--light-text);
  border-radius: 4px;
  padding: 8px;
}

.quantity-selector2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 27px;
  width: 100%;
  height: 31px;
  border: 0.5px solid var(--light-text);
  border-radius: 4px;
  padding: 8px;
}

.quantity-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.quantity-value {
  font-size: 14px;
}

/* Checkout Form */
.checkout-form {
  background: #ffffff;
  box-shadow: 0px 0.8px 0px 2px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 15px;
  height: 100%;
}

.checkout-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 120%;
  margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
  background-color: var(--secondary-red);
  border: none;
  border-radius: 4px;
  height: 44px;
  font-weight: 700;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

.btn-outline {
  border: 1px solid var(--secondary-red);
  border-radius: 4px;
  height: 44px;
  color: var(--secondary-red);
  font-weight: 700;
  font-size: 14px;
}

.btn-outline:hover {
  background-color: var(--secondary-red);
  color: white;
}

/* Checkboxes */
.form-check {
  margin-bottom: 15px;
}

.form-check-input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

.form-check-input:checked {
  background-color: #3483fa;
}

.form-check-label {
  font-size: 14px;
  line-height: 120%;
}

/* Tip Section - MODIFICADO PARA LARGURA TOTAL */
.tip-section {
  background-image: url("../img/Frame-122.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0;
  margin: 40px 0;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.tip-content {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 10px;
  padding: 20px;
  max-width: 778px;
  margin: 0 auto;
}

.tip-title {
  color: var(--secondary-red);
  font-size: 14px;
  margin-bottom: 10px;
  text-align: left;
}

.tip-text {
  font-weight: 600;
  font-size: 18px;
  text-align: left;
  margin: 0;
}

/* Additional Products */
.additional-products-title {
  font-weight: 600;
  font-size: 27px;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-item {
  background: #ffffff;
  box-shadow: 0px 0.8px 0px 2px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 25px;
  text-align: center;
}

.product-item-image {
  width: 148px;
  height: 148px;
  /*      background: #f5f5f5;*/
  margin: 0 auto 15px;
}

.product-item-seller {
  color: var(--dark-text);
  font-size: 14px;
  margin-bottom: 15px;
}

.product-item-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
footer {
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 35px;
}

.footer-text {
  font-size: 14px;
  color: var(--dark-text);
  text-align: center;
}

/* .breadcrumb {
  background-color: transparent;
  margin-bottom: 5px;
  padding: 0 15px;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding: 0 3px;
}
.breadcrumb a {
  text-decoration: none;
} */

/* Responsive */
@media (max-width: 1199.98px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-header {
    font-size: 20px;
  }

  .additional-products-title {
    font-size: 20px;
  }
  .footer-logo {
    display: inline-block;
    align-items: center;
    justify-content: center;
    align-content: center;
    text-align: center;
  }

  .footer-text {
    margin-top: 15px;
  }
}
