:root {
  --se-gold: #c9a038;
  --se-dark: #1c1f26;
  --se-dark-2: #262a33;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #2b2b2b;
}

/* Navbar */
.navbar.bg-dark {
  background: linear-gradient(90deg, var(--se-dark) 0%, var(--se-dark-2) 100%) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}
.nav-link {
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--se-gold) !important;
}

/* Navbar search box */
.navbar-search-form {
  margin-left: 0.5rem;
}
.navbar-search-form input {
  border-radius: 20px 0 0 20px;
  border: none;
}
.navbar-search-form button {
  border-radius: 0 20px 20px 0;
  background-color: var(--se-gold);
  border: none;
  color: #1c1f26;
  font-weight: 600;
}
.navbar-search-form button:hover {
  background-color: #b8912f;
}

/* Cart badge */
#cart-count-badge {
  background: var(--se-gold);
  color: #1c1f26;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 4px;
}

/* Product cards / rows */
.product-row {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  padding: 1rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-row:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.product-img {
  border-radius: 8px;
  max-height: 220px;
  object-fit: contain;
}
.card-title {
  color: var(--se-dark);
}

/* Buttons */
.btn-dark {
  background-color: var(--se-dark);
  border-color: var(--se-dark);
  border-radius: 6px;
  font-weight: 600;
}
.btn-dark:hover {
  background-color: #000;
}
.btn-success {
  border-radius: 6px;
  font-weight: 600;
}

/* Footer */
footer.bg-dark {
  background: var(--se-dark) !important;
}
footer a {
  color: var(--se-gold) !important;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Toast notifications for add-to-cart */
#toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 2000;
}
.se-toast {
  background: var(--se-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  min-width: 240px;
  border-left: 4px solid var(--se-gold);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.se-toast.show {
  opacity: 1;
  transform: translateX(0);
}

/* Cards on catalog page */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Cart button - standout so it's easy to spot */
.cart-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: var(--se-gold);
  color: var(--se-dark) !important;
  border-radius: 20px;
  padding: 6px 16px !important;
  font-weight: 700;
  margin-left: 8px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cart-btn:hover {
  background: #b8912f;
  transform: translateY(-1px);
}
.cart-btn .cart-icon {
  flex-shrink: 0;
}
.cart-btn #cart-count-badge {
  background: var(--se-dark);
  color: #fff;
}

/* Navbar - keep logo, links, search and cart all on ONE row, never wrap */
.navbar {
  flex-wrap: nowrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.navbar-collapse {
  flex-wrap: nowrap !important;
  overflow: visible !important;
}
.nav-link, .navbar-brand, .dropdown-item {
  white-space: nowrap;
}
.navbar-nav {
  flex-wrap: nowrap;
}
.navbar-nav .nav-link {
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}
.navbar-brand {
  margin-right: 0.75rem;
}
.navbar > img {
  width: 48px !important;
  height: 48px !important;
  margin-right: 0.4rem;
}
.navbar-search-form {
  flex-shrink: 0;
}
.navbar-search-form input {
  width: 170px;
  max-width: 170px;
}
@media (min-width: 1200px) and (max-width: 1400px) {
  .navbar-search-form input {
    width: 120px;
    max-width: 120px;
  }
  .navbar-nav .nav-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

/* Order success checkmark */
.success-check {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: #28a745;
  color: #fff;
  font-size: 2rem;
  margin: 0 auto;
}

/* Search box widens on focus so the placeholder/typed text is easier to read */
.navbar-search-form input {
  transition: width 0.2s ease, max-width 0.2s ease;
}
.navbar-search-form input:focus {
  width: 260px !important;
  max-width: 260px !important;
}

/* ---------- About/Contact page enhancements ---------- */

.hero-banner {
  position: relative;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,20,0.15) 0%, rgba(15,15,20,0.65) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
}
.hero-banner-overlay h1 {
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-banner-overlay p {
  font-size: 1.1rem;
  margin-bottom: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.stats-strip {
  background: var(--se-dark);
  color: #fff;
  padding: 2.2rem 0;
}
.stat-item {
  margin-bottom: 0.5rem;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--se-gold);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  color: #d7d7d7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.feature-card h5 {
  margin: 0.75rem 0 0.4rem;
  font-weight: 700;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff6e5;
  color: var(--se-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.about-photo-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.about-photo-card img {
  border-radius: 12px 12px 0 0;
}

.contact-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.contact-info-card h6 {
  margin: 0.6rem 0 0.4rem;
  font-weight: 700;
}
.contact-info-card a {
  color: inherit;
}

.chat-option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.chat-option-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  border-color: var(--se-gold);
  text-decoration: none;
  color: inherit;
}
