/* Test Queue System Page Styles */
.test-queue-page {
  font-family: "Poppins", sans-serif;
  color: #4f4f51;
}

/* Global font family for test queue page */
body {
  font-family: "Poppins", sans-serif !important;
}

/* Ensure all text elements use Poppins */
h1, h2, h3, h4, h5, h6,
p, span, div, a, button,
.hero-title, .hero-subtitle, .category-title, .category-description,
.product-content h3, .product-content p,
.feature-item, .feature-tag,
.btn-primary, .btn-secondary, .btn-specs, .btn-view-specs,
.modal-header h3, .cta-content h2, .cta-content p {
  font-family: "Poppins", sans-serif !important;
}

/* Enhanced Queue-specific styling */
.queue-hero-accent {
  background: linear-gradient(135deg, #01898c 0%, #00b4d8 50%, #01898c 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced product cards with Queue theme */
.product-card.queue-card {
  border: 1px solid rgba(1, 137, 140, 0.1);
  background: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.queue-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(1, 137, 140, 0.15);
}

/* Enhanced feature tags */
.feature-tag.queue-tag {
  background: linear-gradient(135deg, rgba(1, 137, 140, 0.1), rgba(0, 180, 216, 0.1));
  border: 1px solid rgba(1, 137, 140, 0.2);
  font-weight: 400;
  transition: all 0.3s ease;
}

.feature-tag.queue-tag:hover {
  background: linear-gradient(135deg, rgba(1, 137, 140, 0.2), rgba(0, 180, 216, 0.2));
  transform: translateY(-1px);
}

/* Enhanced buttons with Queue theme */
.btn-primary.queue-btn {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  position: relative;
  overflow: hidden;
}

.btn-primary.queue-btn::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;
}

.btn-primary.queue-btn:hover::before {
  left: 100%;
}

/* Enhanced modal with Queue theme */
.spec-modal-content.queue-modal {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 25px 50px rgba(1, 137, 140, 0.15);
}

/* Enhanced CTA section */
.cta-section.queue-cta {
  background: linear-gradient(135deg, #01898c 0%, #00b4d8 50%, #01898c 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  position: relative;
  overflow: hidden;
}

.cta-section.queue-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

/* Enhanced floating elements for Queue theme */
.queue-hero .floating-element-1.queue-element {
  background: radial-gradient(circle, rgba(1, 137, 140, 0.15) 0%, transparent 70%);
  animation: queueFloat 6s ease-in-out infinite;
}

.queue-hero .floating-element-2.queue-element {
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  animation: queueFloat 8s ease-in-out infinite reverse;
}

@keyframes queueFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-20px) rotate(180deg) scale(1.1);
  }
}

/* Enhanced product images */
.kiosk-image.queue-image {
  transition: all 0.4s ease;
  filter: drop-shadow(0 5px 15px rgba(1, 137, 140, 0.08));
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card:hover .kiosk-image.queue-image {
  transform: scale(1.05);
  filter: drop-shadow(0 15px 30px rgba(1, 137, 140, 0.2));
}

/* Enhanced category headers */
.category-header.queue-header {
  position: relative;
}

.category-header.queue-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  border-radius: 2px;
}

/* Enhanced hero title with Queue theme */
.hero-title.queue-title {
  position: relative;
  display: inline-block;
}

.hero-title.queue-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  opacity: 0.3;
  border-radius: 1px;
}

/* Hero Section */
.queue-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f0f8ff 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 0 4rem 0;
}

.queue-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(1, 137, 140, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(1, 137, 140, 0.05) 0%, transparent 50%);
  opacity: 0.8;
  z-index: 1;
}

/* Floating background elements */
.queue-hero .floating-element-1 {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(1, 137, 140, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.queue-hero .floating-element-2 {
  content: '';
  position: absolute;
  top: 60%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 0.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.25;
  animation: fadeInUp 0.8s ease;
  word-break: break-word;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: #727376;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #4f4f51;
  font-weight: 300;
}

.feature-item i {
  color: #01898c;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 300;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(1, 137, 140, 0.3);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #01898c;
  border: 2px solid #01898c;
}

.btn-secondary:hover {
  background: #01898c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(1, 137, 140, 0.3);
}

.hero-image-container {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

/* Products Section */
.products-section {
  padding: 5rem 0;
  background: white;
}

.product-category {
  margin-bottom: 5rem;
}

.product-category:last-child {
  margin-bottom: 0;
}

.category-header {
  text-align: center;
  margin-bottom: 3rem;
}

.category-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #01898c;
  margin-bottom: 1rem;
}

.category-description {
  font-size: 1.1rem;
  font-weight: 300;
  color: #727376;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 15px;
  border: 1px solid rgba(1, 137, 140, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(1, 137, 140, 0.1);
}

.product-image {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.kiosk-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: auto;
  background: #fff;
  border-radius: 12px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
}

.image-placeholder.kiosk {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.image-placeholder.display {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.image-placeholder.accessory {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.image-placeholder.software {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(1, 137, 140, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-view-specs {
  background: white;
  color: #01898c;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-view-specs:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.product-content {
  padding: 25px;
}

.product-content h3 {
  font-size: 1.25rem;
  font-weight: 300;
  color: #4f4f51;
  margin-bottom: 15px;
  line-height: 1.3;
}

.product-content p {
  font-size: 0.9rem;
  color: #727376;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 300;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tag {
  background: rgba(1, 137, 140, 0.1);
  color: #01898c;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 300;
}

.btn-specs {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
}

.btn-specs:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(1, 137, 140, 0.3);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Specifications Modal */
.spec-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.spec-modal.show {
  display: flex;
}

.spec-modal-content {
  background: white;
  border-radius: 15px;
  max-width: 90vw;
  width: 500px;
  max-height: 90vh;
  overflow: hidden;
  animation: slideIn 0.3s ease;
  margin: 30px auto;
  border-radius: 16px;
  position: relative;
  z-index: 100000;
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #01898c;
  margin: 0;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #727376;
  cursor: pointer;
  transition: color 0.3s ease;
}

.btn-close-modal:hover {
  color: #01898c;
}

.modal-body {
  padding: 30px;
}

.pdf-container {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.modal-actions {
  display: flex;
  justify-content: center;
}

.btn-download-pdf {
  background: linear-gradient(135deg, #01898c, #00b4d8);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-download-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(1, 137, 140, 0.3);
}

.pdf-container iframe {
  width: 100%;
  height: 50vh;
  min-height: 300px;
  border: none;
  display: block;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
/* Tablet and smaller desktop */
@media (max-width: 992px) {
  .queue-hero {
    min-height: auto;
    padding: 2rem 0 3rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .category-title {
    font-size: 2.2rem;
  }
  
  .category-description {
    font-size: 1.1rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
  }
  
  .product-content h3 {
    font-size: 1.3rem;
  }
  
  .product-content p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
  
  .spec-modal-content {
    width: 95vw;
    max-width: 900px;
    margin: 20px auto;
  }
  
  .pdf-container iframe {
    height: 60vh;
    min-height: 400px;
  }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
  .queue-hero {
    padding: 1.5rem 0 2.5rem 0;
    margin-top: 0;
  }
  
  .queue-hero .container-lg {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Reorder hero content for mobile - title first, then image */
  .queue-hero .row {
    flex-direction: column;
  }
  
  .queue-hero .col-lg-6:first-child {
    order: 1;
  }
  
  .queue-hero .col-lg-6:last-child {
    order: 2;
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left;
    font-weight: 400;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: left;
  }
  
  .hero-features {
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
  }
  
  .feature-item {
    font-size: 1rem;
    text-align: left;
    padding: 0.5rem 0;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    flex: 1;
    max-width: 160px;
    padding: 14px 16px;
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    min-height: 48px;
    border-radius: 8px;
  }
  
  .hero-image-container {
    display: none;
  }
  
  .products-section {
    padding: 2.5rem 0;
  }
  
  .product-category {
    margin-bottom: 2.5rem;
  }
  
  .category-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .category-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-card {
    margin-bottom: 0;
  }
  
  .product-image {
    height: 200px;
  }
  
  .kiosk-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .product-content {
    padding: 25px;
  }
  
  .product-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .product-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
  }
  
  .product-features {
    margin-bottom: 1rem;
  }
  
  .feature-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  
  .btn-specs {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .cta-section {
    padding: 3rem 0;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .modal-header {
    padding: 15px 20px;
  }
  
  .modal-header h3 {
    font-size: 1.3rem;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .pdf-container iframe {
    height: 40vh;
    min-height: 250px;
  }
  
  .btn-download-pdf {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .queue-hero {
    padding: 0.8rem 0 1.5rem 0;
    margin-top: 0;
  }
  
  .queue-hero .container-lg {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  
  /* Maintain mobile layout order - image first */
  .queue-hero .col-lg-6:last-child {
    margin-bottom: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    text-align: left;
    font-weight: 400;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
    text-align: left;
  }
  
  .hero-features {
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    justify-content: flex-start;
  }
  
  .feature-item {
    font-size: 0.85rem;
    text-align: left;
  }
  
  .feature-item i {
    font-size: 1rem;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    flex: 1;
    max-width: 130px;
    padding: 10px 6px;
    font-size: 0.8rem;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    min-height: 44px;
  }
  
  .hero-image-container {
    display: none;
  }
  
  .products-section {
    padding: 2rem 0;
  }
  
  .product-category {
    margin-bottom: 2rem;
  }
  
  .category-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }
  
  .category-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .products-grid {
    gap: 15px;
  }
  
  .product-image {
    height: 180px;
  }
  
  .kiosk-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .product-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .product-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }
  
  .product-features {
    margin-bottom: 0.8rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 3px 6px;
  }
  
  .btn-specs {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .cta-section {
    padding: 2.5rem 0;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .spec-modal-content {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }
  
  .modal-header {
    padding: 12px 15px;
  }
  
  .modal-header h3 {
    font-size: 1.2rem;
  }
  
  .modal-body {
    padding: 15px;
  }
  
  .pdf-container iframe {
    height: 35vh;
    min-height: 200px;
  }
  
  .btn-download-pdf {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
  .queue-hero {
    padding: 0.6rem 0 1.2rem 0;
    margin-top: 0;
  }
  .queue-hero .container-lg {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 400;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .hero-features {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
  }
  
  .feature-item {
    font-size: 0.9rem;
    text-align: left;
    padding: 0.3rem 0;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    flex: 1;
    max-width: 110px;
    padding: 8px 4px;
    font-size: 0.75rem;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    min-height: 44px;
  }
  
  .hero-image-container {
    display: none;
  }
  
  .category-title {
    font-size: 1.3rem;
  }
  
  .category-description {
    font-size: 0.85rem;
  }
  
  .product-content h3 {
    font-size: 1rem;
  }
  
  .product-content p {
    font-size: 0.85rem;
  }
  
  .product-image {
    height: 160px;
  }
  
  .kiosk-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .cta-content h2 {
    font-size: 1.3rem;
  }
  
  .cta-content p {
    font-size: 0.85rem;
  }
}

/* Additional mobile improvements */
@media (max-width: 768px) {
  /* Improve touch targets */
  .btn-view-specs {
    min-height: 44px;
    min-width: 44px;
  }
  
  .btn-specs {
    min-height: 44px;
  }
  
  .btn-primary,
  .btn-secondary {
    min-height: 44px;
  }
  
  .btn-download-pdf {
    min-height: 44px;
  }
  
  /* Better spacing for mobile */
  .container-lg {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Improve modal usability on mobile */
  .spec-modal {
    padding: 10px;
  }
  
  /* Better product card spacing */
  .product-card {
    margin-bottom: 20px;
  }
  
  /* Improve text readability */
  .hero-subtitle,
  .category-description,
  .product-content p,
  .cta-content p {
    line-height: 1.6;
  }
  
  /* Better button spacing */
  .hero-buttons {
    margin-top: 1rem;
  }
  
  .cta-buttons {
    margin-top: 1.5rem;
  }
}
