/*
 * PizzaCraft – Main Stylesheet
 * Author  : Attanodsc
 * Version : 1.1
 *
 * TABLE OF CONTENTS
 * -----------------
 *  01. CSS Variables .............. :root color/font tokens
 *  02. General / Reset ............ base body, links, images
 *  03. Accessibility .............. skip-link, focus-visible
 *  04. Preloader .................. full-screen spinner
 *  05. Back to Top Button ......... floating scroll-up button
 *  06. Buttons .................... .btn-primary-custom etc.
 *  07. Topbar ..................... thin info bar above navbar
 *  08. Header / Navbar ............ sticky nav, dropdowns
 *  09. Page Header (Sub-pages) .... hero strip with breadcrumb
 *  10. Hero Section ............... homepage banner
 *  11. Statistics Section ......... counter cards
 *  12. About Page ................. story, values
 *  13. Featured Menu / Grid ....... BEM product cards
 *  14. Menu Page .................. tab pills, menu items
 *  15. Contact Page ............... form + map
 *  16. Reservation Page ........... booking form
 *  17. Franchise Banner ........... full-width CTA strip
 *  18. Footer ..................... links, social, copyright
 *  19. Gallery Page ............... lightbox grid
 *  20. Blog Page .................. article cards
 *  21. Chefs Page ................. team cards
 *  22. Offers Page ................ deal badges
 *  23. Cart Utilities ............. used by cart.js
 *  24. Admin Panel ................ dashboard, orders, reservations
 *  25. Utility Classes ............ moved from inline styles
 *  26. Responsive Breakpoints ..... @media queries
 * -----------------
 */

/* -------------------------------------------
   CSS VARIABLES (Easy Customization)
------------------------------------------- */
:root {
  --primary-color: #e63946;    /* Energetic Red */
  --primary-hover: #c62d39;    /* Darker Red for hover states */
  --secondary-color: #f4a261;  /* Warm Orange */
  --dark-color: #1d3557;       /* Dark Navy */
  --light-color: #f8f9fa;      /* Light Gray */
  --body-color: #333333;       /* Body Text */
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  --transition-speed: 0.3s;
}

/* -------------------------------------------
   GENERAL
------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--body-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

::selection { background-color: var(--primary-color); color: #fff; }
::-moz-selection { background-color: var(--primary-color); color: #fff; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

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

/* -------------------------------------------
   ACCESSIBILITY
------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

*:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* -------------------------------------------
   PRELOADER
------------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--light-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* -------------------------------------------
   BACK TO TOP BUTTON
------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-speed) ease;
  z-index: 9999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-3px);
}

/* -------------------------------------------
   BUTTONS
------------------------------------------- */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--dark-color);
  border: 2px solid var(--dark-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

.btn-outline-custom:hover {
  background-color: var(--dark-color);
  color: #fff;
}

/* Light variant for use on dark backgrounds */
.btn-outline-light-custom {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
}

.btn-outline-light-custom:hover {
  background-color: #fff;
  color: var(--dark-color);
}

/* -------------------------------------------
   TOPBAR
------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.topbar {
  background-color: var(--dark-color);
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
}

.topbar a {
  color: #ccc;
  margin-left: 15px;
}

.topbar a:hover {
  color: var(--secondary-color);
}

/* -------------------------------------------
   HEADER / NAVBAR
------------------------------------------- */
.navbar {
  padding: 15px 0;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--dark-color);
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--dark-color) !important;
  text-transform: uppercase;
  margin: 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Navbar dropdown – mirrors BurgerBlitz layout, PizzaCraft palette */
.navbar .dropdown-menu {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--border-radius, 10px);
  padding: 10px 0;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  min-width: 220px;
}
.navbar .dropdown-item {
  font-family: var(--font-body);
  color: var(--dark-color);
  font-weight: 500;
  font-size: .875rem;
  padding: 8px 20px;
  text-transform: none;
  letter-spacing: 0;
  transition: background .15s, color .15s;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
  background: rgba(230,57,70,.08);
  color: var(--primary-color);
}
.navbar .dropdown-divider {
  border-color: rgba(0,0,0,.08);
}

/* Menu page tab pills */
.nav-pills .nav-link {
  color: var(--dark-color) !important;
  border: 1px solid #dee2e6;
  background: #fff;
}

.nav-pills .nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(230, 57, 70, 0.05);
  border-color: var(--primary-color);
}

.nav-pills .nav-link.active {
  color: #fff !important;
  background-color: var(--dark-color) !important;
  border-color: var(--dark-color) !important;
}

/* -------------------------------------------
   PAGE HEADER (Sub-pages)
------------------------------------------- */
.page-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  color: #fff;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(29, 53, 87, 0.8);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1,
.page-header p {
  color: #fff;
}

/* -------------------------------------------
   HERO SECTION
------------------------------------------- */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* Background overlay */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29, 53, 87, 0.4);
  z-index: 1;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--secondary-color);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 30px;
}

/* -------------------------------------------
   STATISTICS SECTION
------------------------------------------- */
.stats-section {
  background-color: var(--primary-color);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

/* -------------------------------------------
   ABOUT PAGE
------------------------------------------- */
.about-highlight {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* -------------------------------------------
   FEATURED MENU / GRID (BEM)
------------------------------------------- */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title__subtitle {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.section-title__main {
  font-size: 2.5rem;
  font-weight: 800;
}

.menu-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform var(--transition-speed) ease;
  background: #fff;
  margin-bottom: 30px;
}

.menu-card:hover {
  transform: translateY(-10px);
}

.menu-card__img-wrap {
  height: 250px;
  overflow: hidden;
}

.menu-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card__img {
  transform: scale(1.1);
}

.menu-card__body {
  padding: 25px;
  text-align: center;
}

.menu-card__title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.menu-card__desc {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.menu-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

/* -------------------------------------------
   MENU PAGE (Tab list items)
------------------------------------------- */
.menu-list-item {
  display: flex;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 12px;
}

.menu-list-item__img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* -------------------------------------------
   CONTACT PAGE
------------------------------------------- */
.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #fff;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* -------------------------------------------
   RESERVATION PAGE
------------------------------------------- */
.reservation-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

/* -------------------------------------------
   FRANCHISE BANNER
------------------------------------------- */
.franchise-banner {
  background-color: var(--dark-color);
  padding: 80px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.franchise-banner h2 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

/* -------------------------------------------
   FOOTER
------------------------------------------- */
.footer {
  background-color: #111;
  color: #aaa;
  padding: 70px 0 20px;
}

.footer-title {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #aaa;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* -------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------- */

/* Large Devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .franchise-banner h2 {
    font-size: 2.2rem;
  }
}

/* Medium Devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero-section {
    height: 70vh;
    min-height: 500px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .section-title__main {
    font-size: 2rem;
  }
  .stats-section {
    padding: 40px 0;
  }
  .stat-item h3 {
    font-size: 2.2rem;
  }
  .franchise-banner {
    padding: 60px 0;
  }
  .franchise-banner h2 {
    font-size: 2rem;
  }
  .page-header {
    padding: 100px 0 60px;
  }
}

/* Small Devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .hero-section {
    height: auto;
    min-height: 450px;
    padding: 80px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title__main {
    font-size: 1.8rem;
  }
  .stat-item h3 {
    font-size: 2rem;
  }
  .franchise-banner h2 {
    font-size: 1.6rem;
  }
  .footer {
    padding: 50px 0 20px;
  }
  .page-header {
    padding: 80px 0 50px;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .about-highlight {
    font-size: 1.8rem;
  }
  .reservation-card {
    padding: 25px;
    margin-top: -30px;
  }
  .map-container iframe {
    height: 300px;
  }
}

/* -------------------------------------------
   GALLERY PAGE
------------------------------------------- */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-card__img {
  transform: scale(1.08);
}

.gallery-card__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29, 53, 87, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-filter.active {
  background-color: var(--dark-color) !important;
  color: #fff !important;
  border-color: var(--dark-color) !important;
}

/* -------------------------------------------
   BLOG PAGE
------------------------------------------- */
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.blog-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card__body {
  padding: 20px;
}

.blog-card__meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 10px;
}

.blog-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-card__title a {
  color: var(--dark-color);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--primary-color);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.blog-card__link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.blog-card__link:hover {
  text-decoration: underline;
}

.blog-sidebar-widget {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.blog-content p {
  line-height: 1.9;
  margin-bottom: 18px;
}

.pagination .page-link {
  border: none;
  color: var(--dark-color);
  font-weight: 600;
  margin: 0 3px;
  border-radius: 8px;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  color: #fff;
}

/* -------------------------------------------
   CHEFS PAGE
------------------------------------------- */
.chef-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chef-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.chef-card__img-wrapper {
  position: relative;
  overflow: hidden;
}

.chef-card__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.chef-card:hover .chef-card__img {
  transform: scale(1.05);
}

.chef-card__social {
  position: absolute;
  bottom: -50px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  transition: bottom 0.4s ease;
}

.chef-card:hover .chef-card__social {
  bottom: 0;
}

.chef-card__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.chef-card__social a:hover {
  background: var(--primary-color);
}

.chef-card__body {
  padding: 20px;
}

/* -------------------------------------------
   OFFERS PAGE
------------------------------------------- */
.offer-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.offer-card__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 2;
}

.offer-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.offer-card__body {
  padding: 20px;
}

/* -------------------------------------------
   CART UTILITIES (Used by cart.js)
------------------------------------------- */
.cart-count {
  display: none;
  font-size: 0.65rem;
}
.cart-price-highlight { color: var(--primary-color); }
.cart-img-thumb { width: 60px; height: 60px; object-fit: cover; }
.cart-qty-btn { width: 26px; height: 26px; }
.cart-icon-xs { font-size: 0.65rem; }
.cart-icon-sm { font-size: 0.75rem; }
.cart-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-color, #1d3557);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 99999;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: opacity 0.4s ease;
}
.cart-toast__icon { color: var(--primary-color, #e63946); }
.offer-banner-img { height: 350px; object-fit: cover; }
.newsletter-text { max-width: 500px; }
.newsletter-form { max-width: 450px; }

/* Extra Small (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn-primary-custom,
  .btn-outline-custom,
  .btn-outline-light-custom {
    padding: 10px 22px;
    font-size: 0.85rem;
  }
  .stat-item h3 {
    font-size: 1.8rem;
  }
  .section-title__main {
    font-size: 1.5rem;
  }
  .franchise-banner h2 {
    font-size: 1.4rem;
  }
  .menu-card__img-wrap {
    height: 200px;
  }
}

/* -------------------------------------------
   25. UTILITY CLASSES (moved from inline styles)
------------------------------------------- */

/* Color helpers */
.text-primary-custom        { color: var(--primary-color) !important; }
.bg-primary-custom          { background-color: var(--primary-color) !important; }
.progress-bar-primary       { background-color: var(--primary-color); }

/* Admin stat-card icon boxes */
.admin-icon-primary  { width: 48px; height: 48px; background: rgba(230, 57, 70, .12); }
.admin-icon-warning  { width: 48px; height: 48px; background: rgba(255, 193, 7, .15); }
.admin-icon-info     { width: 48px; height: 48px; background: rgba(13, 202, 240, .12); }
.admin-icon-success  { width: 48px; height: 48px; background: rgba(25, 135, 84, .12); }

/* Admin sidebar layout */
.admin-sidebar        { width: 260px; min-height: 100vh; background: #1a1a1a; }

/* Admin sidebar helpers */
.admin-nav-icon       { width: 16px; flex-shrink: 0; }
.admin-sidebar-label  { font-size: .68rem; letter-spacing: .08em; }
.admin-user-email     { font-size: .72rem; }

/* Admin sidebar — counter global .nav-link & .nav-pills rules */
.admin-sidebar .nav-link {
  color: rgba(255,255,255,.72) !important;
  background: transparent !important;
  border: none !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  padding: .45rem .75rem !important;
  border-radius: .375rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.admin-sidebar .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
}
.admin-sidebar .nav-pills .nav-link {
  border: none !important;
}
.admin-nav-active {
  color: #fff !important;
  background: rgba(230,57,70,.18) !important;
  border-left: 3px solid var(--primary-color,#e63946) !important;
  padding-left: 9px !important;
}

/* Avatar / image sizes */
.avatar-sm   { width: 36px; height: 36px; min-width: 36px; }
.avatar-md   { width: 56px; height: 56px; min-width: 56px; }
.img-xs      { width: 44px; height: 44px; object-fit: cover; flex-shrink: 0; }

/* Progress bar height */
.progress-xs { height: 4px; }

/* Order-tracking step circles */
.tracking-step         { width: 52px; height: 52px; flex-shrink: 0; }
.tracking-step-active  { background-color: var(--primary-color); }

/* Order-tracking connector lines */
.tracking-connector    { max-width: 40px; padding-top: 0; margin-top: -24px; }
.tracking-hr-active    { border-color: var(--primary-color) !important; border-width: 2px !important; }
.tracking-hr           { border-width: 2px !important; }

/* Map / delivery map placeholder */
.map-placeholder-wrap  { height: 260px; background: #f0ede8; display: flex; align-items: center; justify-content: center; }
.map-icon-xl           { font-size: 3rem; opacity: .3; }

/* Typography micro */
.text-xs               { font-size: .7rem; }

/* Coming Soon page */
.coming-soon-page      { background: #1d3557; }
.coming-soon-unit      { display: flex; flex-direction: column; align-items: center; }
.coming-soon-number    {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1rem;
  padding: .75rem 1.1rem;
  min-width: 88px;
  text-align: center;
}
.coming-soon-label     { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); margin-top: .5rem; }
.coming-soon-sep       { font-size: clamp(1.8rem, 5vw, 4rem); font-weight: 900; line-height: 1; padding-bottom: 1.6rem; opacity: .3; color: #fff; }
.coming-soon-input     { max-width: 320px; min-width: 220px; background: rgba(255,255,255,.07) !important; border-color: rgba(255,255,255,.18) !important; color: #fff !important; }
.coming-soon-input::placeholder { color: rgba(255,255,255,.38); }
.coming-soon-input:focus { background: rgba(255,255,255,.12) !important; border-color: var(--primary-color) !important; box-shadow: 0 0 0 .2rem rgba(230,57,70,.25) !important; }
.coming-soon-social    {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background var(--transition-speed), color var(--transition-speed), border-color var(--transition-speed);
}
.coming-soon-social:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

/* Admin sidebar — mobile drawer (< lg) */
@media (max-width: 991.98px) {
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    height: 100vh;
    z-index: 1050;
    transition: left 0.25s ease;
    overflow-y: auto;
  }
  .admin-sidebar.admin-sidebar-open {
    left: 0;
  }
  .admin-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
    cursor: pointer;
  }
  .admin-backdrop.show {
    display: block;
  }
}
@media (min-width: 992px) {
  .admin-backdrop { display: none !important; }
}
