@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap');

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: #F0F4F8;
  color: #212529;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.nav-link,
.btn {
  font-family: "Outfit", sans-serif;
}

main {
  flex: 1 0 auto;
  padding-top: 72px;
  /* Navbar height compensation */
}

.navbar {
  background: #003049 !important;
  border-bottom: 1px solid #002037;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand {
  color: #F77F00 !important;
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar .nav-link {
  font-weight: 500;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  background: rgba(247, 127, 0, 0.15);
  color: #F77F00;
}

/* Navbar Buttons */
.navbar .btn-outline-dark {
  border-color: #cbd5e1;
  color: #cbd5e1;
}

.navbar .btn-outline-dark:hover {
  background: #cbd5e1;
  border-color: #cbd5e1;
  color: #003049;
}

.navbar .btn-dark {
  background: #F77F00;
  border-color: #F77F00;
  color: #ffffff;
}

.navbar .btn-dark:hover {
  background: #d66d00;
  border-color: #d66d00;
  color: #ffffff;
}

.navbar .btn-outline-secondary {
  border-color: #cbd5e1;
  color: #cbd5e1;
}

.navbar .btn-outline-secondary:hover {
  background: #cbd5e1;
  border-color: #cbd5e1;
  color: #003049;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08) !important;
  color: #212529;
}

.hero-section {
  background: linear-gradient(rgba(0, 48, 73, 0.85), rgba(0, 48, 73, 0.85)), url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -72px;
  /* Pull under navbar */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.hero-section .breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
}

.hero-section .breadcrumb a:hover {
  color: #F77F00;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content .lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-inline: auto;
}

.hero-section h1 {
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-actions .btn {
  font-weight: 600;
}

.section-spacing {
  padding: 40px 0;
}

.section-heading h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #003049;
}

.section-heading p {
  max-width: 520px;
  color: #6c757d;
  margin-bottom: 0;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid #dee2e6;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(247, 127, 0, 0.15);
  border-color: #F77F00;
}

.product-card.compact {
  padding: 14px;
}

.product-thumb {
  background: #f1f5f9;
  border-radius: 8px;
  height: 140px;
  margin-bottom: 8px;
}

.product-card.compact .product-thumb {
  height: 120px;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: #003049;
  margin-top: 2px;
  display: block;
}

.product-body h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: #212529;
}

.product-body h6 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #212529;
}

.product-body .badge {
  font-size: 0.75rem;
  margin-bottom: 5px;
}

.product-body p,
.product-body .text-muted {
  font-size: 0.85rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 24px;
}

.category-card,
.category-card-lg {
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  color: #003049;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
  border: 1px solid #dee2e6;
  transition: border-color 0.2s, background 0.2s;
}

.category-card:hover,
.category-card-lg:hover {
  border-color: #F77F00;
  background: #f8fafc;
}

.category-card-lg {
  grid-row: span 2;
}

.filter-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
  border: 1px solid #dee2e6;
}

.filter-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #003049;
  margin-bottom: 15px;
}

.filter-card ul li,
.filter-card label {
  font-size: 0.875rem;
  color: #495057;
  margin-bottom: 6px;
}

.search-inline {
  display: flex;
  gap: 12px;
}

.search-inline input {
  border-radius: 999px;
  padding-left: 18px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  color: #212529;
}

.search-inline input:focus {
  background: #ffffff;
  border-color: #F77F00;
  color: #212529;
  box-shadow: 0 0 0 0.2rem rgba(247, 127, 0, 0.25);
}

.search-inline .btn {
  border-radius: 999px;
  padding-inline: 26px;
}

table thead tr {
  background: #003049;
  color: #ffffff;
}

table tbody tr td {
  padding-block: 18px;
  color: #212529;
}

table {
  color: #212529;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.page-hero {
  background: linear-gradient(rgba(0, 48, 73, 0.85), rgba(0, 48, 73, 0.85)), url('assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -72px;
  /* Pull under navbar */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.category-pill {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
  border: 1px solid #dee2e6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}

.category-pill:hover {
  border-color: #F77F00;
}

.category-pill h5 {
  color: #003049;
}

.category-pill span {
  color: #6c757d;
  font-size: 0.9rem;
}

.product-detail-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 48, 73, 0.1);
  border: 1px solid #dee2e6;
}

.product-gallery {
  border-radius: 20px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-gallery img {
  width: 100%;
  object-fit: cover;
}

.spec-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.spec-list li {
  padding: 10px 0;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  color: #495057;
}

.cart-table table {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dee2e6;
}

.summary-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
  border: 1px solid #dee2e6;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.checkout-card,
.qr-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
  border: 1px solid #dee2e6;
}

.qr-code {
  width: 240px;
  height: 240px;
  background: #f1f5f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.status-pill.waiting {
  background: rgba(148, 163, 184, 0.2);
  color: #64748b;
}

.status-pill.success {
  background: rgba(25, 135, 84, 0.2);
  color: #198754;
}

.status-pill.failed {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.history-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
  border: 1px solid #dee2e6;
}

.badge-soft {
  background: rgba(247, 127, 0, 0.15);
  color: #F77F00;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.08);
  border: 1px solid #dee2e6;
  height: 100%;
}

.contact-card h4,
.contact-card h5,
.contact-card h6 {
  color: #003049;
}

.site-footer {
  background: #003049;
  padding: 40px 0;
  margin-top: auto;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  color: #cbd5e1;
}

/* Form Controls */
.form-control {
  background: #ffffff;
  border: 1px solid #dee2e6;
  color: #212529;
}

.form-control:focus {
  background: #ffffff;
  border-color: #F77F00;
  color: #212529;
  box-shadow: 0 0 0 0.2rem rgba(247, 127, 0, 0.25);
}

.form-control::placeholder {
  color: #6c757d;
}

.form-select {
  background: #ffffff;
  border: 1px solid #dee2e6;
  color: #212529;
}

.form-select:focus {
  background: #ffffff;
  border-color: #F77F00;
  color: #212529;
}

/* Buttons */
.btn-primary {
  background: #F77F00;
  border-color: #F77F00;
  color: #ffffff;
}

.btn-primary:hover {
  background: #d66d00;
  border-color: #d66d00;
}

.btn-dark {
  background: #F77F00;
  border-color: #F77F00;
  color: #ffffff;
}

.btn-dark:hover {
  background: #d66d00;
  border-color: #d66d00;
}

.btn-outline-dark {
  border-color: #003049;
  color: #003049;
}

.btn-outline-dark:hover {
  background: #003049;
  border-color: #003049;
  color: #ffffff;
}

.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background: #6c757d;
  border-color: #6c757d;
  color: #ffffff;
}

.btn-light {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #003049;
}

.btn-light:hover {
  background: #F77F00;
  border-color: #F77F00;
  color: #ffffff;
}

.btn-success {
  background: #198754;
  border-color: #198754;
}

.btn-success:hover {
  background: #157347;
  border-color: #157347;
}

.btn-outline-success {
  border-color: #198754;
  color: #198754;
}

.btn-outline-success:hover {
  background: #198754;
  color: #ffffff;
}

/* Badges */
.badge {
  font-weight: 600;
}

.bg-light {
  background: transparent !important;
  color: #212529 !important;
}

.text-muted {
  color: #6c757d !important;
}

.text-dark {
  color: #212529 !important;
}

.text-primary {
  color: #F77F00 !important;
}

/* Alerts */
.alert {
  border-radius: 12px;
  border: 1px solid;
}

.alert-success {
  background: rgba(25, 135, 84, 0.1);
  border-color: #198754;
  color: #0f5132;
}

.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  color: #842029;
}

.alert-warning {
  background: rgba(148, 163, 184, 0.1);
  border-color: #94a3b8;
  color: #475569;
}

.alert-info {
  background: rgba(13, 202, 240, 0.1);
  border-color: #0dcaf0;
  color: #055160;
}

/* List Groups */
.list-group-item {
  background: #ffffff;
  border-color: #dee2e6;
  color: #212529;
}

.bg-transparent {
  background: transparent !important;
}

/* Tables */
.table-light {
  background: #f8f9fa !important;
}

.table-hover tbody tr:hover {
  background: #f1f5f9;
}

@media (max-width: 992px) {
  .hero-section {
    padding: 120px 0 80px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 180px);
  }

  .category-card-lg {
    grid-row: span 1;
  }

  .search-inline {
    flex-direction: column;
  }
}

/* Account Layout (Sidebar) */
.account-wrapper {
  display: flex;
  min-height: calc(100vh - 72px);
}

.account-sidebar {
  width: 280px;
  background: #ffffff;
  border-right: 1px solid #dee2e6;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #495057;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s;
}

.account-nav-link:hover {
  background: #f8f9fa;
  color: #003049;
}

.account-nav-link.active {
  background: rgba(247, 127, 0, 0.1);
  color: #F77F00;
}

.account-section {
  display: none;
}

.account-section.active {
  display: block;
}

.account-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #dee2e6;
  box-shadow: 0 4px 12px rgba(0, 48, 73, 0.05);
}


@media (max-width: 991.98px) {
  .account-wrapper {
    flex-direction: column;
  }

  .account-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    padding: 16px;
    flex-direction: row;
    overflow-x: auto;
  }

  .account-nav-link {
    white-space: nowrap;
    padding: 8px 16px;
  }
}

/* Global Search Styles */
.input-group .form-control:focus {
  border-color: #F77F00;
  box-shadow: 0 0 0 0.25rem rgba(247, 127, 0, 0.25);
  z-index: 3;
}

.hero-actions .form-control:focus {
  background-color: #fff;
}

.navbar form .form-control {
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.navbar form .form-control:focus {
  background-color: #fff;
  width: 120%;
  /* Expand slightly on focus in desktop if room permits, or just stay as is */
}

/* Navbar Refining */
.navbar-nav .nav-link {
  font-weight: 500;
  transition: all 0.2s;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.navbar .btn-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.navbar-brand {
  margin-right: 2rem;
  font-size: 1.4rem;
}

@media (max-width: 991px) {
  .navbar form {
    margin: 1rem 0;
  }
}

@media (max-width: 991px) {
  .navbar form .form-control:focus {
    width: 100%;
  }
}

/* Cache Buster: 2026-01-10 13:18 */
/* Full Screen Mode */
.account-wrapper.full-screen-mode .account-sidebar {
  display: none !important;
}

.account-wrapper.full-screen-mode .account-content {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
}

/* Ensure table actions column doesn't wrap */
.table td .d-flex.flex-nowrap {
  white-space: nowrap;
}