/* Global Styles */
:root {
  --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition-speed: 300ms;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

img {
  max-width: 100%;
  height: auto;
}

/* Chooser Modal Styles */
.chooser-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.chooser-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.chooser-content {
  position: relative;
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.chooser-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.chooser-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

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

.chooser-card {
  display: block;
  text-decoration: none;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.chooser-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 4rem;
  padding: 1.5rem 0;
}

.chooser-card h2 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: #222;
}

.card-tagline {
  font-size: 1rem;
  color: #666;
  padding: 0 1rem 1.5rem;
}

/* Powertrade Card */
.powertrade-card {
  border-top: 5px solid #C8102E;
}

.powertrade-card .card-icon {
  color: #C8102E;
}

/* Grill Card */
.grill-card {
  border-top: 5px solid #E8430A;
}

.grill-card .card-icon {
  color: #E8430A;
}

/* Page Header Styles */
.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.back-link, .switch-link {
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

.header-center {
  text-align: center;
}

.division-name {
  font-size: 1.5rem;
  font-weight: bold;
}

.division-tagline {
  font-size: 1rem;
  color: #666;
}

.validity-bar {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.9rem;
  background-color: #f8f8f8;
  border-top: 1px solid #eee;
}

/* Catalogue Viewer Styles */
.catalogue-container {
  padding: 1rem;
}

.catalogue-viewer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.catalogue-page {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.page-footer {
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid #eee;
  padding: 1rem;
  z-index: 100;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact a {
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
}

.footer-disclaimers {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .chooser-content {
    padding: 1.5rem;
  }
  
  .chooser-cards {
    grid-template-columns: 1fr;
  }
  
  .header-top {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

@media (min-width: 769px) {
  .catalogue-viewer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .catalogue-page {
    max-width: calc(50% - 1rem);
  }
}