/* ===================================================================
   File: styles.css
   Description: Global styles and UI layout for the construction site.
   Site Overview:
   - A Chilean construction company site, showcasing projects, services,
     gallery, packages, and a customizable quote system.

   Pages:
   - index.html: Main page
   - galeria.html: Full gallery
   - cotizador.html: Customizable cost estimator
   - planes.html: Construction packages comparison.
   =================================================================== */

/* Basic global styles */
html {
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  color: #2c3e50;
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header {
  background: #fff;
  border-bottom: 2px solid #e8f4f8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 119, 204, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 45px;
  width: 45px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0077cc;
  text-decoration: none;
  white-space: nowrap;
}


.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #0077cc;
}

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

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #0077cc;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  background: url('images/hero.webp') center/cover no-repeat;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .btn {
  display: inline-block;
  background: #0077cc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

.hero .btn:hover {
  background: #0066b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
}

.sobre-nosotros {
  padding: 3rem 0;
  background: #f8fcfe;
  text-align: center;
}

.separador {
  height:20px;
}

.galeria {
  padding: 3rem 0;
}

.galeria h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.galeria p {
  text-align:center;
  max-width:700px;
  margin:0 auto 2rem auto;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.galeria-grid figure {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.galeria-grid figure:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.galeria-grid figure img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.galeria-grid figure iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}

.galeria-grid figcaption {
  background: #fff;
  padding: 0.5rem;
  font-weight: 600;
  text-align: center;
}

.center-btn {
  text-align:center;
  margin-top:2rem;
}

.por-que-elegirnos {
  padding: 2rem 0;
  background: #fff;
}

.por-que-elegirnos h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.pq-contenido {
  max-width:600px;
  margin:0 auto;
  background:#ffffff;
  padding:1.5rem;
  border-radius:12px;
  box-shadow:0 4px 15px rgba(0, 119, 204, 0.1);
  border: 1px solid #e8f4f8;
}

.proceso-trabajo {
  padding: 2rem 0;
  background: #f0f7fb;
}

.proceso-trabajo h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.proceso-simple {
  max-width:600px;
  margin:0 auto;
  background:#ffffff;
  padding:1.5rem;
  border-radius:12px;
  box-shadow:0 4px 15px rgba(0, 119, 204, 0.1);
  font-size:0.95rem;
  line-height:1.5;
  border: 1px solid #e8f4f8;
}

.socios-marcas {
  padding:3rem 0;
  background:#fff;
}

.socios-marcas h2 {
  text-align:center;
  margin-bottom:2rem;
}

.marcas-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap:2rem;
  align-items:center;
  justify-items:center;
}

.marcas-grid figure img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
}

.servicios {
  padding: 3rem 0;
  background: #f8fcfe;
}

.servicios h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.servicios-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.servicio {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.1);
  border: 1px solid #e8f4f8;
  transition: all 0.3s ease;
}

.servicio:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 119, 204, 0.15);
}

.contacto {
  padding: 3rem 0;
}

.contacto h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.contacto {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7fb 100%);
  padding: 5rem 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #0077cc;
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.1rem;
  color: #5a6c7d;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  color: #6c757d;
  margin-bottom: 2rem;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,119,204,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,119,204,0.1);
}

.contact-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,119,204,0.2);
  border-color: rgba(0,119,204,0.2);
}

.contact-icon-wrapper {
  padding: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.contact-option:nth-child(1) .contact-icon-wrapper {
  background: #0077cc;
}

.contact-option:nth-child(2) .contact-icon-wrapper {
  background: #25D366;
}

.contact-option:nth-child(3) .contact-icon-wrapper,
.contact-option:nth-child(4) .contact-icon-wrapper {
  background: #0077cc;
}

.contact-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.contact-option:nth-child(1) .contact-icon,
.contact-option:nth-child(2) .contact-icon {
  filter: brightness(0) invert(1);
}

.contact-details {
  flex: 1;
}

.contact-details h4 {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.contact-details a {
  font-size: 1.1rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.contact-details a:hover {
  color: #0066b3;
}

.contact-hours {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

.contact-benefits {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-top: 3rem;
  text-align: center;
}

.contact-benefits h4 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.benefit-item:hover {
  background: #e9ecef;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #0077cc;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-item p {
  margin: 0;
  color: #495057;
  text-align: left;
}

.contact-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form {
  width: 100%;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #6c757d;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #f8f9fa;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.1);
  background-color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #adb5bd;
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #0077cc;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.contact-form button:hover {
  background: #0066b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 204, 0.4);
}

@media (max-width: 968px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-form-wrapper {
    order: -1;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-header h2 {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

.pdf-download-section {
  margin-top: 3rem;
  padding: 2rem 0;
}

.pdf-buttons-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.pdf-button-wrapper {
  display: flex;
  justify-content: center;
}

.pdf-full-button {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.pdf-download-btn:hover {
  background: #0066b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 204, 0.4);
}

.pdf-download-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pdf-download-btn-full {
  background: #00a8e8;
  font-size: 1rem;
  padding: 1rem 2rem;
}

.pdf-download-btn-full:hover {
  background: #0096d0;
}

@media (max-width: 768px) {
  .pdf-buttons-container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .pdf-download-btn {
    width: 100%;
    justify-content: center;
  }
}

.quote-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.quote-popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s ease;
}

.quote-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-popup-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.quote-popup h2 {
  color: #0077cc;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  text-align: center;
}

.quote-popup p {
  color: #5a6c7d;
  text-align: center;
  margin-bottom: 2rem;
}

.quote-form-group {
  margin-bottom: 1.5rem;
}

.quote-form-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.quote-form-group input,
.quote-form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

.quote-form-group input:focus,
.quote-form-group select:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.1);
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.phone-prefix {
  position: absolute;
  left: 0.75rem;
  color: #666;
  font-weight: 600;
  pointer-events: none;
}

.phone-input-wrapper input {
  padding-left: 3rem;
}

.quote-submit-btn {
  width: 100%;
  padding: 1rem;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.quote-submit-btn:hover {
  background: #0066b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 204, 0.4);
}

.quote-submit-btn:active {
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 600px) {
  .quote-popup-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }
  
  .quote-popup h2 {
    font-size: 1.5rem;
  }
  
  .quote-form-group {
    margin-bottom: 1.2rem;
  }
}

.faq {
  padding: 3rem 0;
  background: #f8fcfe;
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 119, 204, 0.15);
  transform: translateY(-2px);
  border-color: #0077cc;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.5rem 3rem 1.5rem 1.5rem;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: 300;
  color: #0077cc;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  background: linear-gradient(to right, #f0f7fb, #fff);
  color: #0077cc;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fafafa;
}

.faq-answer p {
  padding: 1.5rem;
  margin: 0;
  line-height: 1.6;
  color: #555;
  border-top: 1px solid #eee;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonios {
  padding: 3rem 0;
  background: #f0f7fb;
  text-align: center;
}

.testimonios h2 {
  margin-bottom: 2rem;
}

.testimonios-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.testimonio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 1rem;
}

.testimonio-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonio-texto {
  width: 100%;
  text-align:center;
}

.testimonio-texto h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.testimonio-caja {
  background: #fff;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.footer {
  background: #1a3a4a;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.footer-content p {
  margin: 0.5rem 0;
}

.tabla-proyectos {
  padding: 3rem 0;
}

.tabla-proyectos h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.tabla-proyectos p {
  text-align:center;
  max-width:700px;
  margin:0 auto 2rem auto;
}

.tabla-proyectos table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.tabla-proyectos table th,
.tabla-proyectos table td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.tabla-proyectos table th {
  background: #f9f9f9;
  font-weight: bold;
}

.tabla-proyectos table tbody tr:nth-child(odd) {
  background: #f9f9f9;
}

.tabla-proyectos table tbody tr:nth-child(even) {
  background: #e9e9e9;
}

.scroll-hint {
  display: none;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo img {
    height: 40px;
    width: 40px;
  }

  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav.active ul {
    flex-direction: column;
  }

  .testimonio {
    flex-direction: column;
    text-align: center;
  }

  .testimonio-texto {
    text-align: center;
  }

  .proceso-simple, .pq-contenido, .galeria p {
    padding:1rem;
  }

  .tabla-proyectos table {
    font-size:0.9rem;
  }

  .scroll-hint {
    display: block;
  }
}

.cotizador-form-card {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 1rem;
  margin-bottom: 2rem;
}

.cotizador-form-group {
  margin-bottom: 1rem;
}

.cotizador-form-group:last-child {
  margin-bottom: 0;
}

.cotizador-form-label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: inline-block;
  position: relative;
}

.cotizador-form-input,
.cotizador-form-select {
  width: 100%;
  font-size: 1rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fafafa;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cotizador-form-input:focus,
.cotizador-form-select:focus {
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.15);
  outline: none;
}

.cotizador-form-input:hover,
.cotizador-form-select:hover {
  border-color: #999;
  background: #f2f2f2;
}

.cotizador-form-input[type="number"] {
  max-width: 150px;
}

.cotizador-form-card hr {
  margin: 1rem 0;
}

/* Tooltip */
.info-icon {
  display: inline-block;
  margin-left: 0.5rem;
  background: #0077cc;
  color: #fff;
  border-radius: 50%;
  width: 1.2rem;
  height: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.2rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.info-icon:hover {
  background: #0066b3;
}

.info-tooltip {
  display: none;
  position: absolute;
  top: 1.8rem;
  left: 0;
  z-index: 10;
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  padding: 0.5rem;
  font-size: 0.9rem;
  width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 3px;
  max-height: 300px;
  overflow: auto;
}

.info-container {
  position: relative;
  display: inline-block;
}

.info-container.active .info-tooltip {
  display: block;
}

.cotizador-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
  font-weight: normal;
}

.cotizador-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.cotizador-checkbox-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.cotizador-checkbox-label .info-icon {
  margin-left: auto;
}

.cotizador-form-label.active .info-tooltip,
.cotizador-checkbox-label.active .info-tooltip,
.cotizador-form-label:hover .info-tooltip,
.cotizador-checkbox-label:hover .info-tooltip {
  display: block;
}

/* ===========================
   Estilos Galería
============================ */
.page-galeria {
  padding: 3rem 0;
}

.page-galeria h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.wrapper-select {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-label {
  font-weight: 600;
  color: #333;
}

.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.filter-select:hover {
  border-color: #0077cc;
}

.filter-select:focus {
  outline: none;
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.15);
}

/* ===========================
   Estilos Paquetes
============================ */
.page-paquetes {
  padding: 3rem 0;
}

.page-paquetes h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.page-paquetes > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: #5a6c7d;
}

.paquetes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.paquete-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,119,204,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e8f4f8;
}

.paquete-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,119,204,0.2);
  border-color: #0077cc;
}

.paquete-card.destacado {
  border: 2px solid #0077cc;
  position: relative;
}

.paquete-card.destacado::before {
  content: "MÁS POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #00a8e8;
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.paquete-card h2 {
  margin-bottom: 1rem;
  color: #333;
}

.paquete-precio {
  font-size: 2rem;
  font-weight: bold;
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.paquete-unidad {
  color: #5a6c7d;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.paquete-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.paquete-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.paquete-features li:last-child {
  border-bottom: none;
}

.paquete-btn {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.paquete-btn:hover {
  background: #0066b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,119,204,0.3);
}

.wrapper-select.select-paquete {
  margin-bottom: 2rem;
}

/* ===========================
   Currency Toggle Styles
============================ */
.currency-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  font-weight: 600;
}

.currency-toggle {
  position: relative;
  display: inline-block;
}

.currency-toggle input {
  display: none;
}

.currency-toggle label {
  display: flex;
  align-items: center;
  background: #e0e0e0;
  border-radius: 25px;
  padding: 5px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  width: 120px;
  height: 35px;
}

.currency-toggle label::before {
  content: '';
  position: absolute;
  width: 55px;
  height: 25px;
  background: #0077cc;
  border-radius: 20px;
  left: 5px;
  top: 5px;
  transition: transform 0.3s ease;
}

.currency-toggle input:checked + label::before {
  transform: translateX(55px);
}

.currency-label {
  flex: 1;
  text-align: center;
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.currency-label.clp {
  color: #fff;
}

.currency-label.uf {
  color: #5a6c7d;
}

.currency-toggle input:checked + label .currency-label.clp {
  color: #5a6c7d;
}

.currency-toggle input:checked + label .currency-label.uf {
  color: #fff;
}

.price-display {
  display: inline-block;
}

.price-clp,
.price-uf {
  display: inline-block;
}

/* ===========================
   Casa 74 DWG Viewer Styles
============================ */
.page-header {
  background: #f9f9f9;
  padding: 2rem 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.page-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  color: #333;
}

.page-header p {
  margin: 0;
  color: #5a6c7d;
  font-size: 1.1rem;
}

.dwg-viewer-section {
  padding: 3rem 0;
  background: #fff;
}

.viewer-info {
  text-align: center;
  margin-bottom: 2rem;
}

.viewer-info h2 {
  color: #333;
  margin-bottom: 1rem;
}

.viewer-info p {
  color: #5a6c7d;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.viewer-note {
  font-style: italic;
  color: #5a6c7d;
  font-size: 0.95rem;
}

.viewer-placeholder {
  margin: 2rem 0;
  padding: 4rem 2rem;
  background: #f5f5f5;
  border: 2px dashed #ddd;
  border-radius: 8px;
  text-align: center;
}

.viewer-placeholder p {
  margin: 0;
  color: #5a6c7d;
  font-size: 1.1rem;
}


.project-details {
  margin: 3rem 0;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.project-details h3 {
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.detail-item {
  text-align: center;
}

.detail-item strong {
  display: block;
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.detail-item span {
  color: #333;
  font-size: 1.1rem;
}

.cta-section {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.cta-section h3 {
  color: #333;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #5a6c7d;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #0066b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,119,204,0.3);
}

.btn-secondary {
  background: #6c757d;
}

.btn-secondary:hover {
  background: #545b62;
}

.nav a.active {
  color: #0077cc;
  border-bottom: 2px solid #0077cc;
  padding-bottom: 3px;
}


@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* ===========================
   Casa74 Gallery Styles
   =========================== */
.casa74-gallery {
  max-width: 1000px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.casa74-images {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  overflow: hidden;
  background: #f5f5f5;
}

.casa74-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.casa74-images img.active {
  opacity: 1;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}

.gallery-nav {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.gallery-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 25px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
  background: #fff;
  transform: scale(1.3);
  border-color: #0077cc;
}

/* Responsive adjustments for Casa74 gallery */
@media (max-width: 768px) {
  .casa74-images {
    height: 400px;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .gallery-controls {
    padding: 0 10px;
  }
}

/* Projects Gallery - Mosaic Style */
.projects-gallery {
  padding: 4rem 0;
  background: #f8f8f8;
  min-height: 80vh;
}

.gallery-title {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.gallery-subtitle {
  text-align: center;
  color: #5a6c7d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.projects-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 0;
}

.project-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-card:hover::before {
  opacity: 1;
}

.project-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-number {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 5px;
}

.project-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.project-count {
  font-size: 0.9rem;
  opacity: 0.9;
}

.project-view-more {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.project-card:hover .project-view-more {
  opacity: 1;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 1.1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s ease;
  z-index: 1001;
}

.lightbox-close {
  top: 20px;
  right: 40px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

/* Responsive Design for Projects Gallery */
@media (max-width: 768px) {
  .gallery-title {
    font-size: 2rem;
  }
  
  .projects-mosaic {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .project-image {
    height: 200px;
  }
  
  .project-info {
    padding: 15px;
  }
  
  .project-title {
    font-size: 1.1rem;
  }
  
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
  }
  
  .lightbox-close {
    top: 10px;
    right: 20px;
  }
}

/* Price Tracker Styles */
.price-tracker-main {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
  background: #f8f9fa;
}

.price-tracker-header {
  text-align: center;
  margin-bottom: 3rem;
}

.price-tracker-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: -1px;
}

.price-tracker-header p {
  color: #5a6c7d;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #0077cc;
  box-shadow: 0 4px 15px rgba(0,119,204,0.2);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  height: 200px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #00a8e8;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-container {
  margin-bottom: 1rem;
}

.price-retail {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0077cc;
  margin-bottom: 0.25rem;
}

.price-wholesale {
  font-size: 0.85rem;
  color: #5a6c7d;
  background: #e8f4f8;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}



/* Product Modal */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  overflow-y: auto;
}

.product-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f0f0f0;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.modal-close:hover {
  background: #e0e0e0;
}

.modal-body {
  padding: 2rem;
}

.modal-product-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.modal-product-image {
  flex: 0 0 300px;
  max-width: 300px;
}

.modal-product-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

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

.modal-product-info h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 500;
}

.modal-price-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.modal-price-main {
  font-size: 2rem;
  font-weight: 600;
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.modal-price-wholesale {
  font-size: 1.1rem;
  color: #5a6c7d;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.shop-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.shop-button:hover {
  background: #0066b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,119,204,0.3);
}

.product-details-section {
  margin-top: 2rem;
}

.details-tabs {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  color: #5a6c7d;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: #0077cc;
}

.tab-button.active {
  color: #0077cc;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0077cc;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
}

.specs-table td:first-child {
  font-weight: 500;
  color: #0077cc;
  width: 40%;
}

.description-content {
  line-height: 1.6;
  color: #555;
}

.description-content h4 {
  color: #333;
  margin: 1.5rem 0 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .price-tracker-header h1 {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .modal-product-header {
    flex-direction: column;
  }
  
  .modal-product-image {
    flex: 1;
    max-width: 100%;
  }
  
  .details-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-button {
    white-space: nowrap;
  }
}

/* Price tracker enhancements */
.price-discount {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-offer {
  color: #d32f2f;
  font-weight: 600;
}

.price-original {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9em;
}

.discount-badge {
  background: #d32f2f;
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Image carousel styles */
.image-carousel {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}

.image-carousel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.image-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail.active {
  opacity: 1;
  border-color: #0077cc;
}

.thumbnail:hover {
  opacity: 1;
}

/* Modal price section adjustments */
.modal-price-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.modal-price-main .price-offer {
  font-size: 2rem;
}

.modal-price-main .price-original {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .image-carousel {
    height: 250px;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .modal-price-main {
    font-size: 1.5rem;
  }
  
  .modal-price-main .price-offer {
    font-size: 1.5rem;
  }
  
  .modal-price-main .price-original {
    font-size: 1.2rem;
  }
}
