:root{
    --html-background-color:white;
    --body-background-color:white;
    --primary-color:maroon;
    --secondary-color:white;
    --text-color: #333;
    --text-light: #555;
    --border-color: #ddd;
    --background-light: #f8f8f8;
    --background-accent: #f4f2ec;
    --button-background-color:var(--primary-color);
    --button-hover-bg: #a52a2a; /* A slightly lighter brown for hover */
    --button-hover-text: white;
    --container-background-color:white;
    --container-border-color:var(--border-color);
    --form-background-color:white;
    --form-border-color:var(--border-color);
    --input-background-color:white;
    --input-forecolor:var(--text-color);
    --input-border-color:var(--border-color);

    --nav-background-color:var(--primary-color);
    --nav-border-color:var(--border-color);
    --nav-text-color:var(--body-background-color);
    --nav-text-light:var(--text-light);
    --nav-button-background-color:var(--nav-background-color);
    --nav-button-forecolor:var(--body-background-color);
    --nav-button-hover-bg: var(--body-background-color);
    --nav-button-hover-text: var(--primary-color);
    --nav-button-border-color:var(--nav-background-color);
    --nav-button-border-hover-color:var(--nav-background-color);
    
    --hero-text-forecolor:var(--primary-color);
    --hero-text-detail-color:var(--secondary-color);
    --hero-button-background-color:var(--primary-color);
    --hero-button-forecolor:var(--secondary-color);
    --hero-button-hover-bg: #a52a2a; /* A slightly lighter brown for hover */
    --hero-button-hover-text: white;
    --hero-button-border-color:var(--primary-color);
    --hero-button-border-hover-color:var(--secondary-color);

    --photo-seuence-background-color:white;
    --photo-sequence-border-color:var(--border-color);
    --photo-sequence-text-color:var(--text-color);
    --photo-sequence-text-light:var(--text-light);
    --photo-sequence-button-background-color:var(--secondary-color);
    --photo-sequence-button-forecolor:var(--secondary-color);
    --photo-sequence-button-hover-forecolor:var(--primary-color);
    --photo-sequence-button-hover-bg: none;

    --policies-page-background-color: var(--background-light);
    --policies-page-text-color: var(--text-color);
    --policies-page-text-light: var(--text-light);
    --policies-page-border-color: var(--border-color);
    --policy-heading-color: var(--primary-color);
    --policy-text-color: var(--text-color);

    --product-card-container-background-color: white;
    --product-card-background-color: white;
    --product-card-border-color: var(--border-color);
    --product-card-text-color: var(--text-color);
    --product-card-text-light: var(--text-light);
    --product-card-button-background-color: var(--primary-color);
    --product-card-button-forecolor: var(--secondary-color);
    --product-card-button-hover-bg: #a8c2e0;
    --product-card-button-hover-text: white;
    --product-card-button-hover-border-color: #c5d9ef;
    --product-card-button-hover-box-shadow-color: rgba(0, 0, 0, 0.15);
    --product-card-button-box-shadow-color: rgba(0, 0, 0, 0.1);
    --product-card-container-box-shadow-color: rgba(0, 0, 0, 0.1);
    --product-card-box-shadow-color: rgba(0, 0, 0, 0.5);
    --product-card-promo-label-background-color: red;
    --product-card-promo-label-forecolor: white;
    --product-card-image-box-shadow-color: rgba(0, 0, 0, 0.1);
    --product-card-actual-price-color:#888;
    --product-card-discount-price-color:red;
    
}

html {
  background-color:var(--html-background-color);
}
body {
    font-family: 'Segoe UI', sans-serif;
    background-color:var(--body-background-color);
    color: var(--text-color);
    /* padding: 2rem; */ /* Removed padding to allow full-width elements */
    padding: 0;
    box-sizing: border-box;
    width: 90%;
    margin: auto;
  }

main, header{
    width: 100%;
    margin: auto;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    margin-bottom: 0.5em;
}
p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1em;
}

.btn-primary-container{
  display: flex; /* Use flexbox for alignment */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically if height is set */
  height: 20vh; /* Optional: Set a height for vertical centering */
  background-color: none; /* 'none' is not a valid color; use 'transparent' if needed */
  
}
.btn-primary{
  
  width: 250px;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: transparent;
  color: var(--primary-color);
  border: solid 1px var(--primary-color);
  text-align: center;
  font-size: small;
  margin: auto;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

#messageBar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 20px;
  color: white;
  font-weight: bold;
  text-align: center;
  z-index: 9999;
  transition: all 0.3s ease;
}
#messageBar.success {
  background-color: #28a745; /* Green */
}
#messageBar.error {
  background-color: #dc3545; /* Red */
}
#messageBar.warning {
  background-color: #ffc107; /* Yellow */
}
#messageBar.info {
  background-color: #17a2b8; /* Blue */
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  }

  .loading-spinner {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }
.message_for_user {font-size: larger; text-align: center; background-color: #eeeded; color: red; font-weight: bold; position: fixed; z-index: 1;}