/* Start custom css styles for yourfriend theme */

@font-face {
  font-family: 'BPG_GEL_Excelsior';
  src: url('../stylesheet/fonts/exclesion/BPG_GEL_Excelsior.eot');
  src: url('../stylesheet/fonts/exclesion/BPG_GEL_Excelsior.eot') format('embedded-opentype'),
    url('../stylesheet/fonts/exclesion/BPG_GEL_Excelsior.woff2') format('woff2'),
    url('../stylesheet/fonts/exclesion/BPG_GEL_Excelsior.woff') format('woff'),
    url('../stylesheet/fonts/exclesion/BPG_GEL_Excelsior.ttf') format('truetype'),
    url('../stylesheet/fonts/exclesion/BPG_GEL_Excelsior.svg#BPG_GEL_Excelsior') format('svg');
  font-display: swap;
}


:root {
  --primary-color: #ff4d4d;
  --text-color: #555;
  --bg-light: #f4f4f4;
  --bg-dark: #333;
  --bg-white: #ffffff;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'BPG_GEL_Excelsior', 'Arial', sans-serif;
}

body {
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}


/* Container for the whole slider area */
.content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: var(--bg-white);
}

/* The White Box Frame */
.slider-frame {
  width: 100%;
  max-width: 1200px;
  height: 530px;
  background: var(--bg-white);
  /* This creates the white border around the photo */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border-radius: 4px;
}

.slider-wrapper {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  width: 100%;
  height: 100%;
  background-size: auto;
  background-position: center;
  flex-shrink: 0;
}

/* Dots Styling (Outside the frame) */
.dots-container {
  margin-top: 25px;
  /* Spacing below the white frame */
  display: flex;
  gap: 12px;
}

.dot {
  height: 8px;
  width: 8px;
  background-color: #ccc;
  /* Light gray for inactive */
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #444;
  /* Dark gray/black for active */
  transform: scale(1.2);
}

/* Header & Top Nav */
header {
  background: #fff;
  padding: 10px 0;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  border-bottom: 1px solid #eee;
}

.phone-link a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nav-links i {
  font-size: 1.1rem;
}

/* Logo Section */
.logo-container {
  text-align: center;
  padding: 0px 0px 10px 0px;
}

.main-logo {
  height: 100px;
  /* Adjusted to match visual prominence in image */
  object-fit: contain;
}



/* Pagination Dots */
.dots {
  text-align: center;
  padding: 20px;
}

.dot {
  height: 8px;
  width: 8px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.dot.active {
  background-color: #555;
}

/* Footer */
footer {
  padding: 20px;
  background-color: var(--bg-dark);
  text-align: center;
  color: #888;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
  border-top: 1px solid #eee;
}

/* Mobile Responsive & Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    /* Hidden by default on mobile */
    position: absolute;
    top: 60px;
    right: 5%;
    background: white;
    flex-direction: column;
    width: 200px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
  }


  .slider-frame {
    height: 250px;
  }
}



/* Form Frame - Matches the Slider Frame */
.form-frame {
  width: 100%;
  max-width: 550px;
  height: auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  margin-bottom: 20px;
}

.auth-form h2 {
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: #333;
  text-align: center;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

.input-group input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-color: #444;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background-color: #333;
  /* Dark theme to match active dots */
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background-color: #000;
}

.form-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

.form-footer a {
  color: #ff4d4d;
  text-decoration: none;
  font-weight: bold;
}

/* Switch Radio Styling */

.switch-container {
  display: flex;
  position: relative;
  background: #eeeeee;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 25px;
  cursor: pointer;
  overflow: hidden;
}

.switch-container input[type="radio"] {
  position: absolute;
  opacity: 0;
  /* Hide the radio but keep it clickable via label */
  width: 0;
  height: 0;
}

.switch-container label {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  z-index: 2;
  cursor: pointer;
  transition: color 0.3s ease;
}

.switch-selection {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Logic for 2-item toggle movement */
#customer-group-2:checked~.switch-selection {
  transform: translateX(0);
}

#customer-group-3:checked~.switch-selection {
  transform: translateX(100%);
}

/* Text color change when checked */
.switch-container input:checked+label {
  color: #000;
}


/* Checkbox Alignment */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 5px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

/* OpenCart Required Star */
.required label:after {
  content: " *";
  color: #ff4d4d;
}

/* Validation Feedback */
.invalid-feedback {
  color: #ff4d4d;
  font-size: 0.75rem;
  margin-top: 4px;
  display: block;
}



/* Profile Layout Grid */
.profile-layout .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
}

/* Sidebar Styling */
.profile-sidebar {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  height: fit-content;
  overflow: hidden;
}

.profile-user-info {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.sidebar-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid #f4f4f4;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  text-decoration: none;
  color: #666;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.sidebar-menu a i {
  margin-right: 15px;
  width: 20px;
  text-align: center;
}

.sidebar-menu a:hover {
  background: #f9f9f9;
  color: #000;
}

.sidebar-menu a.active {
  background: #f4f4f4;
  color: #000;
  border-left-color: #ff4d4d;
  /* Theme red color */
  font-weight: 600;
}

.logout-link:hover {
  color: #ff4d4d !important;
}

/* Main Content Frame */
.profile-main-frame {
  flex: 1;
  min-width: 0;
  background: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.frame-header h2 {
  margin-bottom: 5px;
  color: #333;
}

.frame-header p {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin-bottom: 30px;
}

.detail-row {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #f9f9f9;
}

.detail-row .label {
  width: 150px;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}

.detail-row .value {
  color: #777;
  font-size: 0.9rem;
}




/* dragging table orders */

.order-table tbody tr.dragging {
    opacity: 0.6;
    background: #f2f7ff;
    position: relative;
    z-index: 10;
}

.order-table tbody tr.dragging td {
    background: #f2f7ff;
    border-top: 2px solid #4a90e2;
    border-bottom: 2px solid #4a90e2;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {

  .order-table{
    transform: scale(0.8);
    transform-origin: top left;
    width: 125%;
  }

    /* Prevent weird text selection while dragging */
    .order-table tbody tr {
        user-select: none;
        -webkit-user-select: none;
        touch-action: none;
    }

    /* Stronger visual feedback on mobile */
    .order-table tbody tr.dragging {
        opacity: 0.8;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        transform: scale(1.02);
    }

    .order-table tbody tr.dragging td {
        background: #eaf2ff;
    }
}





/* Table Layout */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}



.order-table th {
  padding: 15px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #eee;
}

.order-table td {
  padding: 10px 5px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: #555;
  vertical-align: middle;
}

.text-right {
  text-align: right;
}

/* Status Badges */
.badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background-color: #e6f4ea;
  color: #1e7e34;
}

.badge-pending {
  background-color: #fff4e5;
  color: #b07d00;
}

.badge-shipped {
  background-color: #e8f0fe;
  color: #1a73e8;
}

/* Action Button */
.btn-view {
  color: #444;
  text-decoration: none;
  background: #f4f4f4;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-view:hover {
  background: #000;
  color: #fff;
}

.order-row {
  cursor: pointer;
  transition: background 0.2s;
}

.order-row:hover {
  background-color: #f9f9f9;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  width: 100%;
  padding: 11px 35px 11px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  appearance: none;
  /* Removes default browser arrow */
  background: #fff;
  cursor: pointer;
  outline: none;
}

.select-wrapper select:focus {
  border-color: #333;
}

.select-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  font-size: 0.8rem;
}




/* Pagination Styling */
.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 30px 0 10px 0;
  justify-content: center;
  /* Centers pagination under the table */
  gap: 5px;
}

.pagination .page-item {
  display: inline-block;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  text-decoration: none;
  color: #555;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

/* Hover State */
.pagination .page-item a.page-link:hover {
  background-color: #f8f8f8;
  border-color: #bbb;
  color: #000;
}

/* Active State - Signature Red */
.pagination .page-item.active .page-link {
  background-color: #333;
  /* Dark gray to match your buttons */
  border-color: #333;
  cursor: default;
}

/* Special Case for Red Accent (Optional) */
/* If you want the active page to be your theme red: */
.pagination .page-item.active .page-link {
  background-color: #ff4d4d;
  border-color: #ff4d4d;
}

/* Arrow/Navigation Icons adjustment */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  font-weight: bold;
  background-color: #fafafa;
}

.btn-close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f4f4f4;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  transition: all 0.2s;
  z-index: 10;
}

.btn-close-modal:hover {
  background: #ff4d4d;
  /* Theme red on hover */
  color: #fff;
}

.btn-assign-order {
  color: #1e7e34;
  padding: 15px;
}

.btn-unassign {
  color: red;
}



.order-filters-wrapper {
  width: 100%;
  float: left;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.filter-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
}

.filter-actions .btn-primary {
  padding: 10px 25px;
  height: 47px;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.mobile-only-flex {
  display: none;
}

.statistic-range-diapazon {
  width: 40%;
}




/* order images Upload Styling */
.photo-upload-section {
  background: #fdfdfd;
  padding: 15px;
  border: 1px dashed #ddd;
  border-radius: 8px;
  margin-top: 15px;
}

#order-gallery .col-4 {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#order-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}

.btn-delete-photo {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 77, 77, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.btn-delete-photo:hover {
  transform: scale(1.1);
  background: #ff4d4d;
}

.btn-upload-trigger {
  background: #fff;
  color: #333;
  font-weight: 600;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.btn-upload-trigger:hover {
  background: #333;
  color: #fff;
}

/* Lightbox Container */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

/* The Zoomed Image */
.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Gallery Hover Effect */
#order-gallery img {
  cursor: zoom-in;
  transition: opacity 0.2s;
}

#order-gallery img:hover {
  opacity: 0.8;
}

/*END  order images Upload Styling */




/* Responsive adjustment */
@media (max-width: 768px) {

  .order-filter-box {
    grid-template-columns: 1fr;

  }

  .statistic-range-diapazon {
    width: 100% !important;
  }

  .filter-actions {
    margin-top: 10px;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-only-flex {
    display: flex !important;
  }

}

/* Desktop: Always visible */
.filter-toggle-btn {
  display: none;
  /* Hide button on desktop */
}

.order-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 15px;
  align-items: flex-end;
  margin-bottom: 25px;
}

/* Mobile: Hidden by default */
@media (max-width: 850px) {
  .filter-toggle-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
  }

  .order-filters {
    display: none;
    /* Hidden state */
    grid-template-columns: 1fr;
    gap: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    margin-bottom: 20px;
    padding: 15px;
  }

  /* Shown state when active */
  .order-filters.active {
    display: grid;
  }

  .filter-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
  }
}

.filter-actions {
  display: flex;
  gap: 10px;
}

.btn-reset {
  padding: 7px 15px;
  background-color: #f4f4f4;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-reset:hover {
  background-color: #ebebeb;
  color: #ff4d4d;
  /* Theme red highlight on hover */
  border-color: #ccc;
}

/* Ensure buttons take full width on mobile stack */
@media (max-width: 480px) {
  .filter-actions {
    flex-direction: column;
  }

  .btn-reset,
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
}




/* Dashboard Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  border-left: 4px solid #333;
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 700;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #333;
  margin-top: 5px;
}

.stat-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  opacity: 0.7;
}

/* Financial Summary List (Matching Screenshot Style) */
.summary-box {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item:hover {
  background: #fafafa;
}

.summary-info strong {
  display: block;
  font-size: 1rem;
  color: #333;
}

.summary-info span {
  font-size: 0.8rem;
  color: #aaa;
}

.summary-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

/* Red Highlight for specific metrics */
.summary-item.border-red {
  border-left: 4px solid #ff4d4d;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .summary-item {
    padding: 15px;
  }

  .summary-info strong {
    font-size: 0.9rem;
  }
}








/* responsive */

@media (max-width: 850px) {

  /* 1. Header & Navigation */
  .top-nav {
    padding: 10px 20px;
  }

  .hamburger {
    display: block;
    /* Show menu icon */
    order: 3;
  }

  .phone-link {
    order: 1;
    font-size: 0.8rem;
  }

  .nav-links {
    display: none;
    /* Hide desktop nav */
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    gap: 15px;
  }

  .nav-links.show {
    display: flex;
    /* Toggle via JS */
  }

  .nav-links a {
    flex-direction: row;
    /* Horizontal icons on mobile */
    gap: 15px;
    font-size: 1rem;
    padding: 10px 0;
    border-bottom: 1px solid #f4f4f4;
  }

  /* 2. Slider & Frames */
  .slider-frame {
    height: 300px;
    /* Shorter slider on mobile */
    padding: 10px;
    /* Smaller white border */
  }

  .form-frame,
  .profile-main-frame {
    padding: 20px 15px;
    /* More space for inputs */
    max-width: 100%;
    /* Less internal padding */
  }

  /* 3. Profile Two-Column Layout */
  .profile-layout .container {
    flex-direction: column;
  }

  .profile-sidebar {
    flex: 1 1 1%;
    width: 100%;
    margin-bottom: 10px;
  }

  .sidebar-menu {
    display: flex;
    overflow-x: auto;
    /* Allows menu to scroll horizontally if links are long */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
  }

  .sidebar-menu::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
  }

  .sidebar-menu a {
    padding: 15px 10px;
    white-space: nowrap;
    /* Keeps text on one line in horizontal scroll */
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .sidebar-menu a.active {
    border-left: none;
    border-bottom: 3px solid #ff4d4d;
  }

  .profile-user-info {
    padding: 10px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .sidebar-avatar {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }


}

@media (max-width: 480px) {

  /* 4. Small Phones & Tables */
  .main-logo {
    height: 70px;
    /* Scale logo down */
  }

  .content {
    padding: 20px 10px;
    justify-content: flex-start;
  }

  .profile-main-frame {
    padding: 20px;
  }

  /* Switch Radio adjustment */
  .switch-container label {
    font-size: 0.8rem;
  }

  /* Pagination scale */
  .pagination .page-link {
    min-width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}




/* END of custom css styles for yourfriend theme */






/* Chrome border line */
button:focus {
  outline: none !important;
}



#alert {
  z-index: 9999;
  position: fixed;
  top: 10%;
  right: 10%;
  width: 400px;
  margin-left: -200px;
}

@media (min-width: 992px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

@media (min-width: 1140px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

@media (min-width: 1320px) {
  #alert {
    width: 600px;
    margin-left: -300px;
  }
}

#alert .alert {
  margin-bottom: 15px;
}

#alert .alert-primary {
  box-shadow: 0 0 0 5px rgb(var(--bs-primary-rgb), 0.1);
}

#alert .alert-secondary {
  box-shadow: 0 0 0 5px rgb(var(--bs-secondary-rgb), 0.1);
}

#alert .alert-success {
  box-shadow: 0 0 0 5px rgb(var(--bs-success-rgb), 0.1);
}

#alert .alert-warning {
  box-shadow: 0 0 0 5px rgb(var(--bs-warning-rgb), 0.1);
}

#alert .alert-danger {
  box-shadow: 0 0 0 5px rgb(var(--bs-danger-rgb), 0.1);
}

#alert .alert-info {
  box-shadow: 0 0 0 5px rgb(var(--bs-info-rgb), 0.1);
}

#alert .alert-light {
  box-shadow: 0 0 0 5px rgb(var(--bs-light-rgb), 0.1);
}

#alert .alert-dark {
  box-shadow: 0 0 0 5px rgb(var(--bs-dark-rgb), 0.1);
}

/* top */
#top {
  background-color: var(--bs-tertiary-bg);
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}

#top ul.list-inline {
  margin-bottom: 0;
}

#top .list-inline-item>a,
#top .list-inline-item .dropdown>a {
  font-size: 1.1em;
  color: var(--bs-gray-600);
  line-height: 40px;
  vertical-align: middle;
  padding: 10px 0px 5px 0px;
}


/* search */
#search {
  margin-bottom: 10px;
}

#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}

#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF;
}

/* cart */
#cart {
  margin-bottom: 10px;
}

#cart .img-thumbnail {
  min-width: 100px;
}

#cart .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 14px 35px;
}

#cart .dropdown-menu {
  background: #eee;
}

#cart .dropdown-menu li {
  min-width: 300px;
}

@media (max-width: 768px) {
  #cart .dropdown-menu li {
    min-width: 100%;
  }
}

/* menu */
#menu {
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border: 1px solid #1f90bb;
  border-color: #1f90bb #1f90bb #145e7a;
  min-height: 40px;
  border-radius: 4px;
  padding: 0 1rem;
  margin-bottom: 20px;
}

#menu .navbar-nav>li>a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px 10px 15px;
  background-color: transparent;
}

#menu .navbar-nav>li>a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#menu .dropdown-menu {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#menu .dropdown-inner {
  display: flex;
  flex-direction: column;
}

#menu .dropdown-inner ul {
  width: 100%;
  min-width: 200px;
}

@media (min-width: 960px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }

  #menu .dropdown-inner {
    flex-direction: row;
  }

  #menu .nav-item+.nav-item+.nav-item .dropdown-column-3 {
    left: -200px;
  }

  #menu .nav-item+.nav-item+.nav-item .dropdown-column-4 {
    left: -400px;
  }

  #menu .nav-item+.nav-item+.nav-item+.nav-item .dropdown-column-2 {
    left: -200px;
  }

  #menu .nav-item+.nav-item+.nav-item+.nav-item .dropdown-column-3 {
    left: -400px;
  }

  #menu .nav-item+.nav-item+.nav-item+.nav-item .dropdown-column-4 {
    left: -600px;
  }
}

#category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: 0.9em;
}





/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-tertiary-bg);
}

.breadcrumb i {
  font-size: 15px;
}

.breadcrumb>li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}

.breadcrumb>li.breadcrumb-item>a {
  text-decoration: none;
}

.breadcrumb>li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 29px;
  height: 29px;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  transform: rotate(-45deg);
}

.breadcrumb>li.breadcrumb-item+li:before {
  content: "";
  padding: 0;
}

.product-thumb {
  border: 1px solid #ddd;
  position: relative;
  height: 100%;
}

.product-thumb .image {
  text-align: center;
}

.product-thumb .image a:hover {
  opacity: 0.8;
}

.product-thumb .description {
  padding: 15px;
  margin-bottom: 45px;
}

.product-thumb .description h4 {
  font-weight: bold;
}

.product-thumb .button {
  display: flex;
  position: absolute;
  width: 100%;
  bottom: 0;
}

.product-thumb .button button {
  width: 33.33%;
  border: none;
  border-top: 1px solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-gray-600);
  line-height: 38px;
  text-align: center;
}

.product-thumb .button button:hover {
  color: var(--bs-gray-600);
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}

.product-thumb .button button+button {
  border-left: 1px solid var(--bs-border-color);
}

@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }

  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px;
  }

  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }

  .product-list .product-thumb .button {
    border-left: 1px solid #ddd;
    width: calc(100% - 15px);
    margin-left: 15px;
  }
}

.rating .fa-stack {
  width: 20px;
}

.rating .fa-star {
  color: #999;
  font-size: 15px;
}

.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}

.rating .fa-star+.fa-star {
  color: #E69500;
}

/* product list */
.price {
  color: #444;
}

.price-new {
  font-weight: 600;
}

.price-old {
  color: #dc512c;
  text-decoration: line-through;
}

.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}

/* blog */
.blog-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.blog-thumb h4 {
  font-weight: bold;
}

.blog-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}

.blog-thumb .image a:hover {
  opacity: 0.8;
}

.blog-thumb .description {
  padding: 15px;
}

/* Theme Custom CSS */
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}

#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}