:root {

    --primary-color:#FFC107;

    --secondary-color:#FF9800;

    --navbar-color:#212121;

    --background-color:#FFF8E1;

    --card-color:#FFFFFF;

    --text-color:#212121;
    
    --accent-color: #42A5F5;
    --success-color: #28A745;
    --danger-color: #DC3545;
    
}

/* Body */
body {
  font-size: 15px;
  line-height: 1.6;
  background: var(--background-color);
  color: var(--text-color);
  padding-top: 0; 
  margin: 0;  
  width: 100%;          /* Keep it matching the device width */
  overflow-x: hidden;   /* Disables messy side-scrolling */
}

/* Header */
.top-header {
  position: relative;
  display: block;
  width: 100%;
  font-size: 13px;
  z-index: 1031; 
  background: #1a1a1a;
  color: #FFC107;
  border-bottom: 1px solid #333;
  
}

.top-header a,
.top-header .top-link {
  color: #FFC107;
  font-weight: 500;
}

.top-header a:hover {
    color: #FF9800;
    text-decoration: none;
}

.navbar{
  position: relative;
  display: block;
  width: 100%;
  min-height: 49px;
  margin-bottom: 0; /* Eliminates the jumpy negative offset */
  background: #212121;
  border: none;
  border-radius: 0;
}

.navbar a {
    color:#FFC107 !important;
}

.navbar-brand:hover {
    opacity: .9;
}

.navbar-search .form-control {
	height: 34px;
    border: 2px solid #FFC107;
    background: #FFFDF5;
    color: #212121;
}

.navbar-search .form-control:focus {
    border-color: #FF9800;
    box-shadow: 0 0 6px rgba(255,152,0,.5);
}

.navbar-search .form-control::placeholder {
    color: #888;
}

.navbar-search .btn {
	height: 34px;
    background: #FFC107;
    border-color: #FFC107;
    color: #212121;
}

.navbar-search .btn:hover {
    background: #FF9800;
    border-color: #FF9800;
}

::selection {
    background: #FFC107;
    color: #212121;
}

::-moz-selection {
    background: #FFC107;
    color: #212121;
}

.navbar-commerce .navbar-nav > li > a:hover,
.navbar-commerce .navbar-nav > li > a:focus {
    background: rgba(255,193,7,.12);
    color: #FF9800 !important;
}

.dropdown-menu {
    background: #2b2b2b;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0,0,0,.25);
}

.dropdown-menu > li > a {
    color: #FFC107 !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background: #3a3a3a;
    color: #FF9800 !important;
}

.dropdown-menu .divider {
    background: #444;
}

.dropdown-header {
    color: #FF9800;
}

#notifBadge {
    background: var(--danger-color) !important;
    color: white;
    font-weight: bold;
}

.badge-danger,
.navbar .badge {
    background: #FFC107;
    color: #212121;
}

#notifDropdown {
    background: #2b2b2b;
    border: 1px solid #444;
}

#notifDropdown a {
    color: #FFC107 !important;
}

#notifDropdown a:hover {
    background: #3a3a3a;
}

#notifDropdown .text-muted {
    color: #cccccc !important;
}

.alert-info {
    border-left: 5px solid #42A5F5;
}

.alert-success {
    border-left: 5px solid #28A745;
}

.alert-success {
    border-left: 5px solid #28A745;
}

.alert-danger {
    border-left: 5px solid #DC3545;
}

.form-control:focus {
    border-color: #FFC107;
    box-shadow: 0 0 5px rgba(255,193,7,.4);
}

.table-hover tbody tr:hover {
    background: #FFF3CD;
}

.logo {

    color:#FFC107;

    font-weight:bold;
}

.badge-bee {

    background:#FFC107;

    color:black;

    padding:8px 15px;

    border-radius:20px;

    font-weight:bold;
}

.card {
  overflow: hidden;
  background: var(--card-color);
  border-radius:12px;
  border-top:4px solid #FFC107;
  box-shadow:0 3px 12px rgba(0,0,0,.1);
}
.card-header {
  padding: 16px 20px;
  background: transparent;
  border-bottom: 1px solid #eee;
}

.card .btn-primary {
  border-radius: 8px;
  font-weight: 600;
  background:#FFC107;
  border-color:#FFC107;
  color:black;
}
.card .btn-primary:hover {
    background:#FF9800;
}

.product-img-fixed {
	width: 100% !important;        /* Let it fill its parent block */
    max-width: 600px !important;   /* Cap it at 600px on desktop profiles */
    height: 400px !important;
    object-fit: cover; /* Keeps the aspect ratio perfect while filling the 600x600 space */
    object-position: center; /* Centers the image inside the 600x600 box */
}

.highlight {
    background-color: #ffeb3b; /* Bright yellow background */
    font-weight: bold;
    color: #000;
    padding: 0 4px;
    border-radius: 2px;
}

.preserve-lines {
    white-space: pre-line;
}

.table thead {
    background:#FFC107;
    color:black;
}

.page-title {
/*    background:
        linear-gradient(
            135deg,
            #FFC107,
            #FF9800
        );*/
        
	background:#1a1a1a;
    color:rgb(254,170,41);
    padding:20px;
}


/*Login Button*/
.nav-item-auth {
    margin-left: 10px;
}

.nav-link-auth {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .25s ease;
}

.nav-link-auth {
    background: transparent;
    color: #FFC107 !important;
    border: 2px solid #FFC107;
}

.nav-link-auth:hover {
    background: #FFC107;
    color: #212121 !important;
    transform: translateY(-1px);
}

/*Sign Up Button*/
.nav-link-primary {
    background: linear-gradient(
        135deg,
        #FFC107,
        #FF9800
    );

    color: #212121 !important;
    border: none;

    box-shadow:
        0 2px 8px rgba(255,193,7,.35);
}

.nav-link-primary:hover {
    background: linear-gradient(
        135deg,
        #FFD54F,
        #FFA726
    );

    color: #212121 !important;

    box-shadow:
        0 4px 15px rgba(255,193,7,.55);

    transform: translateY(-2px);
}

/*Footer Theme*/
.footer-commerce {
    background: #212121;
    color: #e0e0e0;
    margin-top: 40px;
}

.footer-commerce h4 {
    color: #FFC107;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-commerce a {
    color: #dddddd;
    text-decoration: none;
    transition: .2s;
}

.footer-commerce a:hover {
    color: #FFC107;
    text-decoration: none;
}

.footer-commerce p {
    color: #bbbbbb;
}

.footer-commerce hr {
    border-color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
}

.footer-commerce .text-center {
    color: #999;
    font-size: 14px;
}



/* =========================================
   FORCED MOBILE RESPONSIVENESS OVERRIDE
   ========================================= */
@media (max-width: 768px) {
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
    }
    
    /* Force all layout rows and containers to stay bounded */
    .container, .container-fluid, .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: hidden !important;
    }

    /* Force any large product images to collapse to screen size */
    .product-img-fixed {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important; /* Prevents stretching squish */
    }
}