:root {
  --primary: #0055b3;      /* Primary Blue Official */
  --primary-hover: #004394;
  --secondary: #fc5b12;    /* Secondary Orange Official */
  --secondary-hover: #d84507;
  --text-dark: #1f2937;    /* Charcoal */
  --text-muted: #6b7280;   /* Cool Gray */
  --bg-light: #f8fafc;     /* Very Light slate-grayish Blue for civil construction feeling */
  --bg-white: #ffffff;     /* Pure White */
  --border-color: #e2e8f0; /* Soft Border */
  --shadow: 0 10px 30px rgba(0, 85, 179, 0.04); /* Subtly colored shadow */
  --success: #059669;      /* Green for OK states */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  color: var(--text-dark);
  min-height: 100vh;
  background-color: var(--bg-white);
  position: relative;
  overflow-x: hidden;
}

/* Remove decorative background elements from old app */
body::before,
body::after,
.hero::before,
.section::before {
  display: none !important;
  content: none !important;
}

.container {
  max-width: 1120px;
  margin: auto;
  padding: 20px;
}

.hero {
  text-align: center;
  padding: 30px 20px 20px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.logo-text {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: inline-block;
  margin-bottom: 15px;
}

h1 {
  margin: 10px 0;
  font-weight: 800;
  color: var(--secondary);
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
}

.hero-text {
  max-width: 680px;
  margin: 15px auto 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.btn, .btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  margin: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: all .2s ease;
  border: none;
  cursor: pointer;
}

.btn {
  background: var(--primary);
  color: white;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 85, 179, 0.2);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 85, 179, 0.2);
}

.banner-media {
  width: min(100%, 980px);
  margin: 30px auto 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.banner-media img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-placeholder {
  min-height: 200px;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--bg-light);
  text-align: center;
  border: 2px dashed var(--border-color);
  border-radius: 8px;
}

.banner-placeholder span {
  color: var(--text-muted);
  font-size: .9rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.banner-placeholder strong {
  color: var(--primary);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  margin-top: 5px;
}

.section {
  padding: 40px 0 60px;
}

.section h2 {
  text-align: center;
  color: var(--secondary);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.catalog-intro {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
}

.catalog-section {
  margin-top: 40px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.section-title span {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.section-title h2 {
  margin: 0;
  text-align: left;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--secondary);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product {
  background: var(--bg-white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all .25s ease;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product h3 {
  color: var(--text-dark);
  font-size: 1.15rem;
  margin: 10px 0 8px;
  font-weight: 700;
  line-height: 1.3;
}

.product-description {
  min-height: 40px;
  color: var(--text-muted);
  line-height: 1.4;
  font-size: .9rem;
  margin-bottom: 10px;
}

.price {
  display: block;
  font-size: 1.3rem;
  margin: 12px 0;
  font-weight: 800;
  color: var(--primary);
}

.qty {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.qty button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
}

.qty button:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.qty button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qty input {
  width: 48px;
  height: 36px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px;
  background: var(--bg-white);
  font-weight: bold;
  font-size: 1rem;
  color: var(--text-dark);
}

.total-wrap {
  text-align: center;
  margin-top: 40px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.total {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 8px 0;
  color: var(--text-dark);
}

.minimo {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.minimo-msg {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #c53030; /* Dark Red */
}

.minimo-msg.ok {
  color: var(--success);
}

.btn-large {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 30px auto;
  padding: 16px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(0, 85, 179, 0.15);
}

.btn-large:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 85, 179, 0.25);
}

.btn-large:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

footer {
  padding: 40px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

footer p {
  margin: 6px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-social:hover {
  color: var(--primary-hover);
}

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: all .2s ease;
}

.footer-social:hover .icon-circle {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 6px 15px rgba(0, 85, 179, 0.1);
}

.icon-circle svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.footer-social:hover .icon-circle svg {
  fill: var(--primary-hover);
}

/* Floating Cart */
.floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 85, 179, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 100;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart.show {
  transform: translateY(0);
  opacity: 1;
}

.floating-cart:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.floating-cart .cart-icon {
  font-size: 1.25rem;
}

.floating-cart strong {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Responsive adjust */
@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .floating-cart {
    left: 24px;
    right: 24px;
    justify-content: center;
  }
}

/* Official Brand and Header Adjustments */
.logo-link {
  display: inline-block;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}
.logo-link:hover {
  transform: scale(1.02);
}
.official-logo {
  height: 115px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Premium Hero Banner Styles */
.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 85, 179, 0.15);
  margin-top: 15px;
  text-align: center;
}
.hero-banner-overlay {
  padding: 50px 30px;
  background: linear-gradient(135deg, rgba(0, 85, 179, 0.88) 0%, rgba(0, 20, 50, 0.92) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-banner h1 {
  color: #ffffff !important;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--secondary) !important; /* Vibrant Orange color */
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.banner-differentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 850px;
  width: 100%;
  margin-bottom: 35px;
  text-align: left;
}
@media (max-width: 650px) {
  .banner-differentials {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.diff-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.diff-icon {
  font-size: 24px;
  line-height: 1;
}
.diff-item strong {
  display: block;
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 4px;
}
.diff-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.hero-instructions {
  max-width: 680px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 25px;
}
.hero-banner .cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
}
.hero-banner .btn {
  background: var(--secondary);
  color: #ffffff !important;
  border: none;
}
.hero-banner .btn:hover {
  background: #e04e0a;
  transform: translateY(-2px);
}
.hero-banner .btn-outline {
  border-color: #ffffff;
  color: #ffffff !important;
}
.hero-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Product Carousel Display Styles */
.product-image-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}
.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 18px;
  font-weight: bold;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}
.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.15);
}