body {
  font-family: 'Heebo', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
  direction: rtl;
}

h1 {
  text-align: center;
  padding: 40px 0 10px;
  background-color: #f5f5f5;
  margin: 0;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
}

.category {
  max-width: 1580px;
  margin: 0 auto;     
  padding: 20px;       
  box-sizing: border-box;
}

.category h2 {
  color: #2b3c82;
  padding: 12px;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-family: 'Heebo', sans-serif;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 280px); 
  gap: 20px;
  justify-content: center; 
  overflow: visible;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr; 
    gap: 15px;
  }

  .product img {
    width: 100%; 
    height: auto;
  }
}

.product {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
  flex: 0 0 280px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.product:hover {
  transform: scale(1.03); 
  border: 1px solid #2b3c82;
  box-shadow: 0 6px 16px rgba(43, 60, 130, 0.2); 
}

.product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product h3 {
  margin: 0 0 10px;
  font-size: 1.1em;
  font-family: 'Heebo', sans-serif;
}

.product p {
  flex-grow: 1;
  font-size: 0.9em;
  margin: 5px 0;
  font-family: 'Heebo', sans-serif;
}

.product button {
  margin-top: 10px;
  padding: 8px;
  background-color: #2b3c82;
  border: 1px solid #ffffff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Heebo', sans-serif;
  color: #ffffff;
}

.product button:hover {
  background-color: #1e2c66;
  color: #ffffff;
  border: 1px solid #2b3c82;
}

.product button i {
  margin-left: 8px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;  
}

.site-header > * {
  flex: 1;
  max-width: 1200px;        
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container {
  max-width: 1580px;   
  margin: 0 auto;    
  padding: 0 20px;    
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header + * {
  margin-top: 100px; 
}

.nav-left,
.nav-right {
  display: flex;
  gap: 20px;
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #2b3c82;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  font-family: 'Heebo', sans-serif;
}

.nav-left a:hover,
.nav-right a:hover {
  color: rgb(23, 106, 196);
}

.nav-left a.nav-btn,
.nav-right a.nav-btn {
  display: flex;
  flex-direction: column;  
  align-items: center;
  justify-content: center;
}

.nav-left a.nav-btn i,
.nav-right a.nav-btn i {
  font-size: 20px;       
  margin-bottom: 4px;    
  color: #2b3c82;     
  transition: color 0.3s;
}

.nav-left a.nav-btn:hover i,
.nav-right a.nav-btn:hover i {
  color: rgb(23, 106, 196); 
}

.logo-container {
  position: relative;
  left: auto;
  transform: none;
}

.logo-container img {
  height: 100px;
}

.category-selection {
  text-align: center;
  padding: 40px 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 300px)); 
  gap: 20px;
  margin-top: 20px;
  justify-content: center; 
}

.category-card {
  width: 300px;      
  height: 180px;    
  position: relative;     
  text-decoration: none;
  border-radius: 15px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  color: #333;
}

.category-card:hover {
  transform: scale(1.05);
}

.category-card img {
  width: 100%;
  height: 100%;       
  object-fit: cover;   
}

.category-card h3 {
  position: absolute;     
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1.5em;
  font-family: 'Heebo', sans-serif;
  font-weight: bold;        
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin: 0;
  z-index: 2;
  background: rgba(0,0,0,0.2);
  padding: 5px 0;          
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 240px)); 
    justify-content: center;
  }

  .category-card {
    width: 240px;    
    height: 145px;     
  }

  .category-card h3 {
    font-size: 1.2em;    
  }
}

#index-page .hero-image-wrapper {
  background: #fff !important;  
  padding: 0 6px !important;    
  width: 100%;
  box-sizing: border-box;
  margin-top: 100px; 
}

#index-page .hero-image {
  background: #fff;         
  border-radius: 12px;
  overflow: hidden;        
}

#index-page .hero-image img {
  display: block;
  width: 100%;
  height: 380px;
  max-height: 450px;
  object-fit: cover;
  margin: 0 !important;     
  border-radius: 0;
}

@media (max-width: 768px) {
  #index-page .hero-image img {
    height: 190px;
    max-height: 225px;
  }
}

.category-title {
  text-align: center;
  color: #2b3c82;
  font-size: 2em;
}

.promo-text {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  color: #262b36;
}

.promo-text h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: #2b3c82;
}

.promo-text p {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.location-section {
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 40px;
  text-align: center;
  font-family: 'Heebo', sans-serif;
}

.location-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #2b3c82;
  font-family: 'Heebo', sans-serif;
}

.location-content p {
  font-size: 1.2em;
  margin: 8px 0;
  color: #262b36;
  font-family: 'Heebo', sans-serif;
}

.about-us-image img {
  width: 100%;           
  max-width: 1580px;     
  height: 550px;         
  object-fit: cover;
  display: block;
  margin: 0 auto;        
  border-radius: 20px;    
}

.food-market-image img {
  width: 100%;           
  max-width: 1580px;     
  height: 550px;         
  object-fit: cover;
  display: block;
  margin: 0 auto;        
  border-radius: 20px;    
}

footer p {
  margin: 0;
  font-size: 14px;
  font-family: 'Heebo', sans-serif;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  font-family: 'Heebo', sans-serif;
}

footer a:hover {
  color: rgb(23, 106, 196);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  font-family: 'Heebo', sans-serif;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
  text-align: center;
  font-family: 'Heebo', sans-serif;
}

.footer-bottom .icons {
  font-size: 20px;
}

.footer-bottom .copyright {
  font-size: 14px;
  color: #fff;
  font-family: 'Heebo', sans-serif;
}

.footer-bottom img {
  height: 40px;
  vertical-align: middle;
}

.about-us-fullwidth {
  width: 100%;
  background-color: #fff; 
  padding: 40px 0; 
}

.cheese-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.cart {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl;
  text-align: center;
  margin-top: 30px;
  background-color: white;
}

.cart-table thead th {
  border-bottom: 2px solid #ddd;
  padding: 12px 8px;
  font-weight: bold;
  background-color: #f8f8f8;
}

.cart-table td {
  padding: 12px 8px;
  vertical-align: middle;
}

.cart-table img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 auto;
}

.cart-table td div {
  font-size: 14px;
  font-weight: 500;
}

.remove-btn {
  background: none;
  border: none;
  color: #2b3c82 !important;
  cursor: pointer;
  font-size: 10px;
}

.cart-table tbody tr td {
  border-bottom: 1px solid #e0e0e0;
}

.cart-summary-section {
  max-width: 1580px;  
  margin: 20px auto 0 auto;
  padding: 10px;
  background: #ffffff;
}

.cart-wrapper {
  max-width: 1580px; 
  margin: 0 auto;     
  padding: 20px;     
  box-sizing: border-box;
}

.cart-summary-content {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.cart-summary-content #cart-total {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.cart-summary-content button {
  display: block;
  margin: 30px auto 0;
  padding: 14px 32px;
  background-color: #2b3c82;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 240px;
  text-align: center;
}

.cart-summary-content button:hover {
  background-color: #1e2c66;
  transform: translateY(-2px);
}

.table-title {
  font-size: 22px;
  margin-bottom: 10px;
  text-align: center;
  color: #2b3c82;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

footer {
  background-color: #2B3C82;
  padding: 20px;
  text-align: center;
  margin: 0;
  border: none;
  box-shadow: none;
}

.toast {
  position: absolute;
  top: 50%;
  left: 240px;
  transform: translateY(-50%);
  background-color: #2b3c82;
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
}

.cart-icon {
  position: relative;
  display: inline-block;
}

.cart-icon img {
  width: 28px;
  height: auto;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: #e0e0e0;
  color: #2b3c82;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

.stepper {
  margin: 40px auto;
  direction: rtl;
  display: flex;
  justify-content: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  cursor: default;
}

.step.active {
  font-weight: bold;
  border-color: #2b3c82;
  color: #2b3c82;
}

.continue-btn {
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  background-color: #2b3c82;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
}

.continue-btn:hover {
  background-color: #1e2b5c;
}

.purchase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  max-width: 1580px;
  margin: 0 auto; 
  text-align: right; 
}

.back-btn {
  background: none;
  border: none;
  color: #2b3c82;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  max-width: 1580px;
  display: block;
  margin: 0 0 0 auto; 
  text-align: right;  
  align-items: center;
  gap: 4px;
  font-weight: bold;
  font-family: inherit;
  direction: rtl;
}

.back-btn:hover {
  color: rgb(23, 106, 196)
}

.back-btn i {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.back-btn:hover i {
  transform: translateX(2px);
  color: rgb(23, 106, 196)
}

.purchase-title {
  text-align: center;
  margin-top: -20px;
  font-size: 24px;
  font-weight: bold;
  color: #2b3c82;
  background: transparent;
}

.label {
  margin-top: 8px;
  font-size: 14px;
  color: #262b36;
  text-align: center;
}

.line {
  height: 4px;
  background-color: #ccc;
  flex: 1;
  margin: 0 5px;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.step.active .circle {
  background-color: #2b3c82;
}

.step.completed .circle {
  background-color: #2b3c82;
}

.line.active {
  background-color: #2b3c82;
}

.step-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px;
}

.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.checkout-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background-color: #fff;      
  max-width: 1580px;
  margin: 0 auto 40px auto;    
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.checkout-header {
  background-color: #f9f9f9; 
  padding: 20px;
}

.delivery-tabs {
  flex: 2;
  background-color: #fff;
  padding: 20px;
}

.order-summary {
  width: 400px; 
  flex-shrink: 0; 
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(128, 128, 128, 0.753);
  box-shadow: none;
}

@media (max-width: 768px) {
  .checkout-container {
  flex-direction: column;
}

  .order-summary {
    order: 2;
    margin-top: 20px;
    width: 100%;       
    max-width: 100%;    
    flex: 1 1 auto;     
    font-size: 14px;
    padding: 15px;
    box-sizing: border-box;
    overflow-x: hidden; 
  }

  .order-summary .summary-title {
    font-size: 16px;
  }

  .order-summary .total {
    font-size: 15px;
  }
  .delivery-tabs {
    order: 1;
  }
}


.tabs {
  display: flex;
  justify-content: flex-end; 
  gap: 10px; 
  max-width: 400px; 
  margin-left: auto;
  margin-right: 20px; 
}

.tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  background-color: #eee;
  border-radius: 5px;
  margin-left: 10px;
}

.tab.active {
  background-color: #2b3c82;
  color: #fff;
  font-weight: bold;
}

.tab:hover {
  background-color: #1e2b5c;
  color: #fff;
  font-weight: bold;
}

.tab-content {
  display: none;
}

.tab-content.active {
   display: block;
}

.summary-title {
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  text-align: center;
}

.summary-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.summary-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.summary-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  margin-left: 10px;
}

.summary-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.summary-name {
  flex: 1;
  font-size: 16px;
}

.summary-qty {
  flex: 0.5;
  text-align: center;
  font-size: 14px;
  color: gray;
}

.summary-price {
  flex: 0.5;
  text-align: left;
  font-weight: bold;
}

.total {
  margin-top: 20px;
  font-size: 18px;
  text-align: center;      
  font-weight: bold;
  background-color: #f0f0f0; 
  padding: 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 5px #ddd; 
}

.delivery-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;  
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #2b3c82;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  background-color: #fff;
  direction: rtl;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.bottom-fixed-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: white;
  border: none;
  box-shadow: none;
  border-top: none;
  border-bottom: none;
  margin: 20px auto 0 auto;
  position: relative;
  max-width: 1580px;
}

.main-content {
  display: flex;
  flex-direction: row; 
  gap: 30px;
  align-items: flex-start;
  margin-top: 30px;
  flex-wrap: wrap;
}

.slot-selection {
  flex: 2 1 600px;
  min-width: 300px;
}

.slots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.slot-btn {
  padding: 8px 12px;
  font-size: 14px;
  margin: 6px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f8f8f8;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 100px; 
}

.slot-btn:hover {
  background-color: #d9eefa;
  border-color: #2b3c82;
  color: #2b3c82;
}

.slot-btn.selected {
  background-color: #2b3c82;
  color: white;
  border-color: #1e2b5c;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(43, 60, 130, 0.6);
}

.pickup-day h4 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 18px;
  color: #262b36;
}

.input-error {
  border: 2px solid red !important;
}

.payment-method {
  width: 400px;
  flex-shrink: 0; 
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  font-size: 14px;
  line-height: 1.4;
  height: 100%;
}

@media (max-width: 768px) {
  .payment-method {
    width: 100%;      
    padding: 10px;    
    font-size: 14px;  
    box-sizing: border-box;
  }
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 150%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  outline-color: #2b3c82;
  transition: border-color 0.3s;
}

.form-group2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}

.form-group2 label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #2b3c82;
}

.form-group2 input,
.form-group2 textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  background-color: #fff;
  direction: rtl;
}

.form-group2 textarea {
  resize: vertical;
  min-height: 80px;
}

#delivery .delivery-fields input[type="text"],
#delivery .delivery-fields textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  outline-color: #2b3c82;
  transition: border-color 0.3s;
}

  #pickup-delivery-info {
    padding: 10px;
    font-size: 13px;
    line-height: 1.3;
  }

  #pickup-delivery-info p {
    margin: 4px 0;
  }

  #pickup-delivery-info h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

.terms-container {
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  font-size: 14px;
  direction: rtl;
  max-width: 1580px;
  margin: 0 auto; 
}

.terms-container label {
  cursor: pointer;
  user-select: none;
}

.terms-container input[type="checkbox"] {
  transform: scale(1.1);
  margin-left: 8px;
}

.terms-container a {
  color: #2b3c82;
  text-decoration: underline;
}

.terms-container a:hover {
  color: #1a285d;
}

.privacy-container {
  max-width: 900px;
  margin: 20px auto 60px;
  padding: 20px 25px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
  font-family: 'Heebo', sans-serif;
  line-height: 1.6;
  color: #262b36;
}

.privacy-container h1,
.privacy-container h2,
.privacy-container h3 {
  color: #2b3c82;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.privacy-container p,
.privacy-container ul {
  margin-bottom: 1em;
}

.privacy-container ul {
  padding-right: 20px;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}

.popup-content {
  background: white;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  width: 360px;
  max-width: 90%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  animation: popupFade 0.3s ease;
  font-family: 'Heebo', sans-serif;
}

.popup-btn {
  background: #2b3c82;
  font-family: 'Heebo', sans-serif;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 16px;
}

.popup-btn:hover {
  background: #1f2d61;
}

.footer-main {
  background-color: #2b3c82;
  padding: 30px 20px;
  text-align: center;
  color: #fff;
}

footer {
  background-color: #2b3c82;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

footer h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-family: 'Heebo', sans-serif;
}

footer p {
  margin: 5px 0;
}

footer i {
  color: #fff;
  margin-left: 6px;
}

.footer-main hr {
  margin: 30px auto;
  width: 80%;
  border: none;
  border-top: 1px solid #ccc;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-bottom .icons a {
  margin: 0 10px;
  color: #fff;
  font-size: 20px;
}

.footer-location {
  font-weight: bold;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1, h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  h1, h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 0.9rem;
  }

  p {
    font-size: 0.85rem;
  }
}

.center-buttons {
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;  
  padding: 15px 0;
  display: flex;
  justify-content: center; 
  gap: 10px;         
  z-index: 1000;        
}

@media (max-width: 768px) {
  .logo-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;            
    width: 100%;       
    height: 60px;
    z-index: 10000;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .site-header {
    position: fixed;
    top: auto;         
    bottom: 0;    
    height: 70px;
    padding: 0 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
    z-index: 9999;
    background-color: #fff;
  }

  body {
    padding-bottom: 70px;
  }

  .site-header .nav-left,
  .site-header .nav-right {
    gap: 0;
    flex: 1;
    justify-content: space-around;
    display: contents;
  }

.site-header a.nav-btn,
.site-header a.cart-icon {
  display: flex;             
  flex-direction: column;     
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-align: center;
}

  .site-header a.nav-btn i,
  .site-header a.cart-icon img {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .logo-container img {
    height: 60px;       
    max-width: 100%;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  #index-page .hero-image-wrapper {
    margin-top: 70px; 
  }

  h1 {
    padding-top: 20px; 
  }
}

@media (max-width: 768px) {

  h2 {
    margin-top: 0px;  
    margin-bottom: 15px;
    font-size: 20px;   
  }

  .products-grid {
    margin-top: 0;     
  }

  .product-content h3 {
    margin-top: 5px;    
  }
}

@media (max-width: 768px) {
  body#about-us-page {
    padding-top: 0px; 
  }

  section.promo-text {
    margin-top: 0; 
    padding-top: 10px; 
  }

  section.promo-text h2,
  section.promo-text h3 {
    margin-top: 5px; 
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .about-us-image img {
    max-width: 90%;     
    height: 300px;       
    border-radius: 15px; 
  }

  .about-us-fullwidth {
    padding: 20px 0;      
  }
}

@media (max-width: 768px) {
  .food-market-image img {
    max-width: 90%;     
    height: 300px;       
    border-radius: 15px; 
  }
}

@media screen and (max-width: 768px) {
  .checkout-header {
    padding: 5px 10px 10px 10px; 
  }
}

.image-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 200px; 
}

.image-wrapper img.product-image {
  width: 100%;
  height: 100%;  
  object-fit: cover;
}

.award-sticker {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 80px !important;  
  height: auto !important;
  max-width: none !important;
  pointer-events: none;
  z-index: 10;
}

#accessibility-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #000000;    
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 9999;
}

  #accessibility-panel {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 10px;
    display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 1000;
    width: 180px;
  }

  #accessibility-panel button {
    display: block;
    margin: 5px 0;
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #f0f0f0;
  }

  .high-contrast {
    background-color: black !important;
    color: yellow !important;
  }

  .grayscale {
    filter: grayscale(100%) !important;
  }

  .underline-links a {
    text-decoration: underline !important;
  }

  .highlight-focus :focus {
    outline: 3px solid red !important;
    outline-offset: 2px !important;
  }

  .no-animations * {
    animation: none !important;
    transition: none !important;
  }

  .readable-font {
    font-family: Arial, sans-serif !important;
  }

 @media (max-width: 768px) {
  #accessibility-btn {
    bottom: 80px; 
    left: 10px;  
    width: 35px;
    height: 35px;
  }
    #accessibility-panel {
      bottom: 150px; 
      left: 10px;
      width: 200px;
    }
  }

.form-group { position: relative; }
.suggestions {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  position: absolute;
  right: 0;
  left: 0;
  top: calc(100% + 6px);
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.suggestions li {
  padding: 8px 10px;
  cursor: pointer;
  direction: rtl;
}
.suggestions li:hover { background: #f5f5f5; }
.suggestions .empty { color: #888; padding: 8px 10px; }

.article {
  max-width: 1200px;         
  margin: 0 auto;            
  padding: 20px;           
  font-family: 'Heebo', sans-serif;
  color: #262b36;
  line-height: 1.7;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  color: #2b3c82;
  font-family: 'Heebo', sans-serif;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.article h1 { font-size: 2em; }
.article h2 { font-size: 1.8em; }
.article h3 { font-size: 1.5em; }
.article h4 { font-size: 1.3em; }
.article h5 { font-size: 1.1em; }
.article h6 { font-size: 1em; }

.article p {
  margin-bottom: 1em;
  font-size: 1em;
  color: #262b36;
}

.article a {
  color: #2b3c82;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.article a:hover {
  color: rgb(23, 106, 196);
}

.article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
}

.article ul,
.article ol {
  padding-right: 20px;
  margin-bottom: 1em;
}

.article blockquote {
  border-right: 4px solid #2b3c82;
  padding: 10px 15px;
  margin: 20px 0;
  background-color: #f5f5f5;
  color: #262b36;
  border-radius: 6px;
}

.article code,
.article pre {
  background-color: #f0f0f0;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.95em;
}

.article pre {
  overflow-x: auto;
  padding: 15px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .article {
    padding: 15px;
    font-size: 0.95em;
  }

  .article h1 { font-size: 1.6em; }
  .article h2 { font-size: 1.4em; }
  .article h3 { font-size: 1.2em; }
}

.article-image-wrapper {
  width: 1580px;
  height: 380px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin: 0 auto;
}

.article-image {
  width: 100%;
  height: 100%;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; 
}

@media (max-width: 768px) {
  .article-image-wrapper {
    width: 100%;
    height: 200px;
  }
}

.delivery-policy {
  width: 400px;
  flex-shrink: 0; 
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  font-size: 14px;
  line-height: 1.4;
  height: 100%;
}

@media (max-width: 768px) {
  .delivery-policy {
    width: 100%;      
    padding: 10px;    
    font-size: 14px;  
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .delivery-policy {
    order: 2; 
  }

  .order-summary {
    order: 3; 
  }

  .delivery-tabs {
    order: 1; 
  }
}

.product > img,
.product .image-wrapper img {
  border-radius: 12px 12px 0 0;
  display: block;
  width: 100%;
  border-bottom: 1px solid #eee;
}

.content-404 {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;    
  text-align: center;      
  min-height: 60vh;       
  padding: 20px;
}

.content-404 h1 {
  font-size: 6rem; 
  margin: 0 0 20px 0;
  color: #d35400; 
  background-color: #f9f9f9;
}

.content-404 p {
  font-size: 1.2rem;
  margin: 10px 0;
}

