:root {
  --primary-color: #ff6f00;
  --primary-dark: #b35900;
  --primary-light: #ff9f1a;
  --accent-color: #ffe0b2;
  --dark-bg: #121212;
  --dark-bg-translucent: rgba(18, 18, 18, 0.85);
  --card-bg: #1c1c1c;
  --card-bg-hover: #282828;
  --text-light: #eeeeee;
  --text-muted: #bbbbbb;
  --text-dark: #222222;
  --success-color: #00c853;
  --warning-color: #ffab00;
  --border-radius-sm: 5px;
  --border-radius-md: 12px;
  --border-radius-lg: 18px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  --box-shadow-hover: 0 8px 22px rgba(0, 0, 0, 0.35);
  --transition-fast: all 0.18s ease;
  --transition-normal: all 0.32s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
* {
  transition: var(--transition-normal);
  box-sizing: border-box;
}
body {
  background: linear-gradient(rgb(20 20 20 / 70%), rgb(10 10 10 / 90%)),
              url(https://i.imgur.com/EpogfFT.png) no-repeat center center fixed;
  background-size: cover;
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}
body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--dark-bg), transparent);
  pointer-events: none;
  z-index: 1;
}

a, .text-orange {
  color: var(--primary-color) !important;
  text-decoration: none;
}
a:hover {
  color: var(--primary-light) !important;
  text-decoration: none;
}

header, footer {
  background: var(--dark-bg-translucent);
  border-bottom: 3px solid var(--primary-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
}
footer {
  border-bottom: none;
  border-top: 3px solid var(--primary-color);
  padding: 2rem 0;
  margin-top: 3rem;
}

.navbar {
  padding: 1rem;
  transition: var(--transition-fast);
}
.navbar-shrink {
  padding: 0.5rem 1rem;
  background: var(--dark-bg);
  box-shadow: 0 2px 20px rgba(224, 95, 0, 0.15);
}
.navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-brand img {
  width: 85px;
  height: auto;
  object-fit: contain;
  margin-right: 0.75rem;
  transition: var(--transition-fast);
}
.navbar-shrink .navbar-brand img {
  width: 70px;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.navbar-nav .nav-link {
  position: relative;
  padding: 0.5rem 1.25rem;
  margin: 0 0.3rem;
  font-weight: 500;
  color: var(--text-light) !important;
  letter-spacing: 0.5px;
}
.navbar-shrink .nav-link {
  padding: 0.25rem 0.75rem;
  font-size: 0.95rem;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease-out;
  transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}
.navbar-nav .nav-link:hover {
  color: var(--primary-light) !important;
}

.produto {
  background: var(--card-bg);
  border: 1px solid rgba(224, 95, 0, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.produto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color), var(--primary-light));
  transform: translateY(-100%);
  transition: transform 0.3s;
}
.produto:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  background: var(--card-bg-hover);
  border-color: var(--primary-color);
}
.produto:hover::before {
  transform: translateY(0);
}
.produto h3 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.produto h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 40px;
  height: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
}
.produto img {
  transition: transform 0.4s ease;
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.produto:hover img {
  transform: scale(1.10) rotate(3deg) translateX(10%);
}

.btn-orange {
  background: var(--primary-color);
  border: none;
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 4px 10px rgba(224, 95, 0, 0.25);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-orange::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}
.btn-orange:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(224, 95, 0, 0.4);
}
.btn-orange:hover::before {
  left: 100%;
}

.floating-cart {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1050;
  width: 65px;
  height: 65px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(224, 95, 0, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}
.floating-cart .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--warning-color);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--dark-bg);
  border-radius: 1rem;
}
.floating-cart:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}
.floating-cart i {
  font-size: 1.5rem;
  color: white;
}
.floating-cart.shake {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

.cart-preview {
  position: fixed;
  bottom: 100px;
  right: 25px;
  z-index: 1049;
  background: var(--card-bg);
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  width: 360px;
  max-height: 80vh;
  overflow-y: auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transform-origin: bottom right;
  transition: all 0.3s;
}
.cart-preview.d-none { display: none !important; }
.cart-preview .close-cart {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-light);
  opacity: 0.7;
  line-height: 1;
}
.cart-preview .close-cart:hover { opacity: 1; }

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}
.cart-item:hover {
  background: rgba(224, 95, 0, 0.15);
}

.modal-content {
  background-color: var(--card-bg) !important;
  color: var(--text-light);
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius-md);
}
.modal-header {
  border-bottom: 1px solid rgba(224, 95, 0, 0.2);
}
.modal-title {
  color: var(--primary-color);
  font-weight: 600;
}
.table-dark {
  background: transparent;
  color: var(--text-light);
}
.table-dark th {
  background: rgba(224, 95, 0, 0.2);
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.table-dark td {
  border-color: rgba(255, 255, 255, 0.1);
  vertical-align: middle;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s;
}
.loading-logo {
  width: 360px;
  height: 360px;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}
.loading-text {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(224, 95, 0, 0.5);
  margin-top: 1rem;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(224, 95, 0, 0.2);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
  margin: 1rem auto;
}

.contato-card {
  background-color: #1c1c1c;
  border: 2px solid #ff6600;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.contato-titulo {
  color: #ff6600;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(255, 102, 0, 0.3);
  padding-bottom: 15px;
}
.contato-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #252525;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
}
.contato-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(255, 102, 0, 0.2);
}
.contato-icone {
  background-color: #ff6600;
  width: 60px !important;
  height: 60px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 50%;
  margin-right: 15px;
  box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
  min-width: 60px !important;
}
.contato-icone i {
  font-size: 24px !important;
  color: #fff;
}
.contato-info h4 {
  color: #ff6600;
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}
.contato-info p {
  color: #e0e0e0;
  font-size: 16px;
  margin-bottom: 0;
}

.carousel { overflow: visible; position: relative; }
.carousel-item { transform: scale(0.8); transform-origin: center top; transition: transform 0.5s ease; }
@media (min-width: 768px) {
  .carousel, .carousel-inner, .carousel-item { max-height: 383px; }
  .carousel-item { transform: scale(0.6); }
}
@media (min-width: 1200px) {
  .carousel, .carousel-inner, .carousel-item { max-height: 383px; }
  .carousel-item { transform: scale(0.5); }
}
.carousel-control-prev, .carousel-control-next {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}
.carousel-control-prev { left: 10px; }
.carousel-control-next { right: 10px; }
.carousel-control-prev:hover, .carousel-control-next:hover { opacity: 1; }
.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
  opacity: 0.5;
}
.carousel-indicators .active { opacity: 1; }

.form-control, .form-select {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(224, 95, 0, 0.2);
  color: var(--text-light);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem 1rem;
}
.form-control:focus, .form-select:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 0 0 3px rgba(224, 95, 0, 0.2);
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  background: #be5724 !important;
}

.btn-added { background-color: #28a745 !important; border-color: #28a745 !important; }
.qty-control { display: flex; align-items: center; margin-left: 10px; }
.qty-control button {
  background: #ff6600;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}
.qty-control span { margin: 0 8px; min-width: 20px; text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

@media (max-width: 992px) {
  .navbar-collapse {
    background: var(--dark-bg);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--primary-color);
  }
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.3rem 0;
    border-radius: var(--border-radius-sm);
  }
  .navbar-nav .nav-link:hover { background: rgba(224, 95, 0, 0.1); }
  .navbar-nav .nav-link::after { display: none; }
}
@media (max-width: 576px) {
  .floating-cart { width: 55px; height: 55px; bottom: 15px; right: 15px; }
  .cart-preview {
    bottom: 0;
    right: 0;
    width: 100%;
    max-height: 70vh;
    border-radius: 0;
    padding-top: 2.5rem;
  }
}
.seo-text {
  font-size: 0.85rem;
  color: #bdbdbd;
  margin-top: 2rem;
  line-height: 1.5;
}
