/* ✅ Apply Google Font Raleway */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&display=swap');

.cartbox-container {
  font-family: 'Raleway', sans-serif;
  margin: 30px auto;
  background: #edede9 ;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* ✅ Shopping Cart Table */
.cartbox-table .table {
  border-collapse: separate;
  border-spacing: 0 20px;
  width: 100%;
}

.cartbox-table .table th {
  background: #2b2d42;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 14px;
  font-size: 15px;
  border: none;
  border-radius: 20px 20px 0 0;
}

.cartbox-table .table td {
  background: #edede9 ;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  color: #333;
  padding: 18px 12px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ✅ Cart Image */
.cartbox-image img {
  border-radius: 8px;
  transition: transform 0.2s;
}
.cartbox-image img:hover {
  transform: scale(1.05);
}

/* ✅ Product Name */
.cartbox-product-name h4 a {
  color: #2b2d42;
  font-weight: 600;
  text-decoration: none;
}
.cartbox-product-name h4 a:hover {
  color: #ef233c;
}

/* ✅ Quantity Box */
.cartbox-quantity input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 14px;
  text-align: center;
  width: 65px;
  outline: none;
}
.cartbox-quantity input:focus {
  border-color: #2b2d42;
}

/* ✅ Price & Totals */
.cartbox-subtotal,
.cartbox-grandtotal {
  font-weight: 600;
  font-size: 15px;
  color: #2b2d42;
}
.cartbox-grandtotal {
  color: #ef233c;
  font-size: 16px;
}

/* ✅ Buttons */
.cartbox-btn .btn {
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s ease;
}
.cartbox-btn .btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}


/* ✅ Buttons Container */
.cartbox-actions {
  display: flex;
  justify-content: space-between; /* Continue = left | Update = right */
  align-items: center;
  margin-top: 20px;
}

/* ✅ Continue Shopping Button */
.cartbox-btn-continue {
  background: #c62828;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.cartbox-btn-continue:hover {
  background: #e53935;
  transform: translateY(-2px);
}

/* ✅ Update Shopping Cart Button */
.cartbox-btn-update {
  background: #16a085;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.3s ease;
  cursor: pointer;
}
.cartbox-btn-update:hover {
  background: #3c4a63;
  transform: translateY(-2px);
}

.cartbox-shipping {
  background: #2b2d42;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cartbox-shipping-title {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: block;
  text-align: center;
  padding: 12px;
  background: #202534; /* slightly darker header */
}

.cartbox-shipping-details {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  text-align: center;
  line-height: 1.8;
  padding: 18px;
  color: #f8f9fa;
}

/* ✅ Label text style */
.cartbox-label {
  font-weight: 600;
  color: #16a085;/* soft highlight (light red) */
  margin-right: 5px;
}

.cartbox-billing {
  background: #2b2d42;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cartbox-billing-title {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: block;
  text-align: center;
  padding: 12px;
  background: #202534; /* darker header */
}

.cartbox-billing-details {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  text-align: center;
  line-height: 1.8;
  padding: 18px;
  color: #f8f9fa;
}

/* ✅ Label style */
.cartbox-billing-label {
  font-weight: 600;
  color: #16a085; /* soft highlight for labels */
  margin-right: 5px;
}

/* 🔹 Container style */
.cartbox-grandtotal1 {
  background: #2b2d42;
  border-radius: 12px;
  color: #fff;
  margin-top: 20px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
}

/* 🔹 Header */
.cartbox-grandtotal-header {
  font-size: 18px;
  font-weight: 600;
  padding: 15px;
  background: #202534;
  text-align: center;
}

.cartbox-grandtotal-amount {
  color: #16a085;
  font-weight: 700;
  margin-left: 8px;
  font-size: 20px;
}

/* 🔹 Checkout buttons */
.cartbox-checkout-btn {
  text-align: right;
  padding: 15px 20px;
}

.btn-cartbox-checkout {
  background: #16a085; /* red highlight */
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 54px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.btn-cartbox-checkout:hover {
  background: #ef233c;
}

/* 🔹 Disabled button */
.btn-cartbox-disabled {
  background: #999;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
}



 /* Import Raleway font */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;700&display=swap');

/* Apply Raleway only to service and info sections */
.service_section,
.service_section * ,
.info_section,
.info_section * {
    font-family: 'Raleway', sans-serif !important;
}
.category-page-bg {
  background-color: #edede9 ;
}
	#chatButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #16a085;
  color: #fff;
  padding: 12px 16px;
  border-radius: 50px;
  cursor: pointer;
}

#chatBox {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 300px;
  background: #2b2d42;
  color: #fff;
  display: none;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
}

#chatMessages {
  max-height: 250px;
  overflow-y: auto;
  padding: 10px;
}

#chatInput {
  width: calc(100% - 20px);
  margin: 10px;
}

#chatBox button {
  background: #16a085;
  border: none;
  color: #fff;
  padding: 8px;
  margin: 10px;
}
#notifBadge {
  display: inline-block;
  min-width: 18px;
  text-align: center;
}

.category-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.category-img img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-img:hover img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  transition: opacity 0.5s ease;
}

.category-img:hover .category-overlay {
  opacity: 0;
}

.category-overlay h2 {
  font-size: 40px;
  COLOR:RED;
  font-weight: bold;
  margin-bottom: 10px;
}

.category-overlay p {
  font-size: 16px;
  font-style: italic;
  text-align: center;
  padding: 0 10px;
}

.sidebar-module-container {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.sidebar-module-container .section-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #c62828;
  padding-bottom: 5px;
}

.widget-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #444;
}

.sidebar-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-category-list li {
  margin-bottom: 10px;
}

.sidebar-category-list li a {
  display: block;
  background: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sidebar-category-list li a:hover {
  background: #c62828;
  color: #fff;
  transform: translateX(5px);
}

.sidebar-subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-subcategory-list li {
  margin-bottom: 10px;
}

.sidebar-subcategory-list li a {
  display: block;
  background: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sidebar-subcategory-list li a i {
  margin-right: 8px;
  color: #c62828;
}

.sidebar-subcategory-list li a:hover {
  background: #c62828;
  color: #fff;
  transform: translateX(5px);
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 20px;
  padding: 10px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.product-info {
  margin-top: 10px;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-price {
  margin: 10px 0;
}

.product-price .price {
  color: #c62828;
  font-size: 18px;
  font-weight: 700;
}

.product-price .price-before-discount {
  text-decoration: line-through;
  color: #999;
  margin-left: 5px;
  font-size: 14px;
}

.product-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.product-actions a {
  display: inline-block;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  background: #c62828;
  transition: 0.3s;
}

.product-actions a:hover {
  background: #a22323;
}

.btn-wishlist {
  background: #2b2d42;
}

.btn-wishlist:hover {
  background: #1a1d2b;
}

/* Fade effect */
.wow {
  visibility: hidden;
}

@media (max-width: 767px){
  .col-6 { width: 50%; float: left; }
}
@media (min-width:768px){
  .col-md-3 { width: 25%; float: left; }
}

.emoji {
  font-size: 22px;
  padding: 4px;
  cursor: pointer;
}
.emoji:hover {
  background: #eee;
  border-radius: 4px;
}
.emoji-btn {
  background: #16a085;
  border: none;
  color: #fff;
  padding: 0 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  margin-right: 5px;
}


 #chatButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #16a085;
  color: #fff;
  padding: 14px 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#notifBadge {
  background: red;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  position: absolute;
  top: -5px;
  right: -5px;
}

#chatBox {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-height: 450px;
  background: url('../img/message.bg.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  display: none;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}


#chatHeader {
  background: #2b2d42;
  padding: 12px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatHeader button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

#chatMessages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
}

/* Message bubbles */
.message {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  word-wrap: break-word;
  position: relative;
  line-height: 1.4;
  font-size: 14px;
  display: inline-block;

}

/* Sent message (customer) — right aligned */
.message.sent {
  background: #16a085;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Received message (admin) — left aligned */
.message.received {
  background: #353535;
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* Bubble tail */
.message.sent::after {
  content: '';
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 6px solid #16a085;
  border-left: 6px solid transparent;
}

.message.received::after {
  content: '';
  position: absolute;
  left: -6px;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 6px solid #353535;
  border-right: 6px solid transparent;
}


#chatInputArea {
  display: flex;
  border-top: 1px solid #333;
  padding: 8px;
  background: #2b2d42;
  align-items: center;
  position: relative; /* add this line */
}


.input-buttons {
  display: flex;
  align-items: center;
  position: relative;
}

#emojiPicker {
  display: none;
  position: absolute;
  bottom: 45px;
  right: 50px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.2s ease;
  gap: 5px;
}

#emojiPicker.show {
  display: flex;
}

.emoji {
  font-size: 22px;
  padding: 4px;
  cursor: pointer;
}

.emoji:hover {
  background: #eee;
  border-radius: 4px;
}
#chatInput {
  flex: 1;
  resize: none;
  border: none;
  padding: 10px;
  color: black;
  border-radius: 20px;
  margin-right: 8px;
  font-size: 14px;
  outline: none;
}

#chatInputArea button {
  background: #16a085;
  border: none;
  color: #fff;
  padding: 0 14px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

#chatInputArea button:hover {
  background: #13a37a;
}

.timestamp {
  font-size: 11px;
  color: #ccc;
  margin-top: 4px;
  text-align: right;
}
.message.received .timestamp {
  text-align: left;
}


.date-separator {
  text-align: center;
  font-size: 12px;
  color: #bbb;
  margin: 10px 0;
  position: relative;
}
.date-separator::before,
.date-separator::after {
  content: '';
  display: inline-block;
  width: 30%;
  height: 1px;
  background: #444;
  margin: 0 6px;
  vertical-align: middle;
}

.message-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.message-wrapper.sent {
  justify-content: flex-end;
}

.message-wrapper.received {
  justify-content: flex-start;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.message.system-message {
  background: #444;
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
  max-width: 90%;
  align-self: center;
  margin-top: 5px;
}

#systemNotice {
  padding: 5px 12px;
}
/* Modern Single Breadcrumb */
.modern-breadcrumb {
  margin: 30px auto;
  text-align: center; /* center align */
}

.modern-breadcrumb .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
}

.modern-breadcrumb .breadcrumb-inner ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* center content */
}

.modern-breadcrumb .breadcrumb-inner li {
  list-style: none;
}

.modern-breadcrumb .breadcrumb-inner li.active {
  display: inline-block;
  background: #2b2d42;
  color:#edede9;
  border: none;
  border-radius: 12px;
  padding: 10px 30px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

/* Hover/animation effect */
.modern-breadcrumb .breadcrumb-inner li.active:hover {
  background: red;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}