:root {
  --onize-burgundy: #4A0E0E;
  --onize-camel: #C19A6B;
  --onize-camel-light: #E6D5C3;
  --onize-cream: #FDFBF7;
  --onize-dark: #1A1A1A;
  --onize-gray: #808080;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  font-family: 'Inter', sans-serif;
  background-color: var(--onize-cream);
  color: var(--onize-dark);
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

/* Custom Colors */
.text-burgundy {
  color: var(--onize-burgundy) !important;
}

.text-camel {
  color: var(--onize-camel) !important;
}

.bg-burgundy {
  background-color: var(--onize-burgundy) !important;
  color: white;
}

.bg-camel {
  background-color: var(--onize-camel) !important;
  color: white;
}

/* Buttons */
.btn-burgundy {
  background-color: var(--onize-burgundy);
  color: white;
  border: 1px solid var(--onize-burgundy);
  transition: all 0.3s ease;
}

.btn-burgundy:hover {
  background-color: #310909;
  color: white;
  border-color: #310909;
}

.btn-outline-burgundy {
  background-color: transparent;
  color: var(--onize-burgundy);
  border: 1px solid var(--onize-burgundy);
  transition: all 0.3s ease;
}

.btn-outline-burgundy:hover {
  background-color: var(--onize-burgundy);
  color: white;
}

.btn-camel {
  background-color: var(--onize-camel);
  color: white;
  border: 1px solid var(--onize-camel);
  transition: all 0.3s ease;
}

.btn-camel:hover {
  background-color: #A37F55;
  color: white;
  border-color: #A37F55;
}

/* Navbar */
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Forms */
.form-control:focus, .form-select:focus {
  border-color: var(--onize-camel);
  box-shadow: 0 0 0 0.25rem rgba(193, 154, 107, 0.25);
}

/* Cards */
.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Sidebar for Admin */
.admin-sidebar {
  background-color: var(--onize-burgundy);
  color: white;
  min-height: calc(100vh - 56px);
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
  transition: all 0.2s;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero-slider {
    height: 70vh;
    min-height: 500px;
}
.hero-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}
.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    background-color: white;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.product-card .card-img-top {
    height: 350px;
    object-fit: cover;
}

/* Badge overlay */
.badge-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

/* ---- Notification Bell Panel ---- */
.notification-unread {
    background-color: #f0f6ff;
    border-left: 3px solid #4A90D9 !important;
    transition: background 0.25s;
}
.notification-unread:hover {
    background-color: #e4f0ff;
}
.notification-item {
    transition: background 0.2s;
}
.notification-item:hover {
    background-color: #f8f8f8;
}
.notification-item:not(.notification-unread) {
    border-left: 3px solid transparent;
}
#notif-panel {
    animation: fadeSlideDown 0.18s ease;
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
#notif-bell-btn {
    line-height: 1;
}

/* Notification Panel */
#notif-panel {
    width: 340px;
    min-width: 300px;
    white-space: normal;
    overflow: hidden;
}

.notification-panel-inner {
    width: 100%;
}

.notification-panel-inner .d-flex {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.notification-panel-inner .notification-list .flex-grow-1 {
    white-space: normal;
    word-break: break-word;
}

/* Mobile Responsiveness Additions */
@media (max-width: 767.98px) {
    .notif-panel-responsive {
        position: fixed !important;
        top: 70px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
    }
    
    .hero-slider {
        height: 50vh !important;
        min-height: 400px !important;
    }
    
    .product-card .card-img-top {
        height: 250px !important;
    }
    
    .category-img-box {
        height: 300px !important;
    }
    .product-details-img {
        height: 350px !important;
    }
}

.category-img-box {
    height: 400px;
}

.product-details-img {
    height: 550px;
}

@media (min-width: 992px) {
    .product-info-panel {
        position: sticky;
        top: 100px;
    }
}