/* ============================================
   FRONTEND STYLE.CSS - MAIN STYLESHEET
   Consolidated CSS for Frontend
   ============================================ */

/* ============================================
   1. BASIC RESET & GLOBAL STYLES
   Essential HTML, Body, and Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  height: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: "Merriweather", serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background: #ffffff;
  overflow-x: hidden;
  max-width: 100vw;
  overflow-y: auto;
  height: 100%;
  margin: 0;
  padding: 0;
  direction: ltr;
}

/* Body Layout Classes */
body.horizontal-layout {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

body.horizontal-menu {
  width: 100%;
  background: #ffffff;
}

body.horizontal-layout.horizontal-menu {
  background: #ffffff;
}

/* Profile Page Body Background */
body .frontform-section {
  background: #ffffff;
  min-height: calc(100vh - 200px);
}

body .frontform-section.profile-form {
  background: #ffffff;
  padding-top: 30px;
}

/* Links */
a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

a.img-sprite:hover {
  color: transparent;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  line-height: 1.2;
}

/* Paragraphs */
p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* Lists */
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Form Elements */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

button:focus {
  outline: none;
}

/* ============================================
   2. LAYOUT & CONTAINERS
   Extracted from: app-assets-horizontal/scss/frontend_style.css
   ============================================ */
.col {
  word-break: break-word;
}

.row.m-0 {
  width: 100%;
}

.row:not(.m-0) {
  width: calc(100% + 28px);
}

/* ============================================
   BOOTSTRAP CONTAINER - ESSENTIAL
   ============================================ */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ============================================
   BOOTSTRAP ROW - ESSENTIAL
   ============================================ */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.row::before,
.row::after {
  content: "";
  display: table;
}

.row::after {
  clear: both;
}

/* Bootstrap Columns - Essential Grid */
.col-md-2,
.col-md-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Bootstrap Responsive Utilities */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }
  .d-md-none {
    display: none !important;
  }
  .d-md-flex {
    display: flex !important;
  }
}

/* ============================================
   3. SECTIONS
   Extracted from: app-assets-horizontal/scss/frontend_style.css
   ============================================ */
section {
  padding: 45px 0px !important;
}

/* ============================================
   4. ANIMATIONS
   Extracted from: app-assets-horizontal/scss/frontend_style.css
   ============================================ */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translatex(0);
  }
  40% {
    transform: translatex(2px);
  }
  60% {
    transform: translatex(4px);
  }
}

/* ============================================
   5. OWL CAROUSEL BASIC STYLES
   Extracted from: app-assets-horizontal/css/owl-carousel/owl.carousel.css
   ============================================ */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
}

.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}

.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
  display: none;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
  background: none;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
  float: right;
}

.owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}

.owl-carousel.owl-hidden {
  opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}

.owl-carousel.owl-rtl {
  direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
  float: right;
}

.no-js .owl-carousel {
  display: block;
}

/* ============================================
   6. OWL THEME STYLES
   Extracted from: app-assets-horizontal/js/owl-carousel/owl.theme.default.css
   ============================================ */
.owl-theme .owl-nav {
  margin-top: 10px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav [class*='owl-'] {
  color: #FFF;
  font-size: 14px;
  margin: 5px;
  padding: 4px 7px;
  background: #D6D6D6;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
}

.owl-theme .owl-nav [class*='owl-']:hover {
  background: #869791;
  color: #FFF;
  text-decoration: none;
}

.owl-theme .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}

.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 10px;
}

.owl-theme .owl-dots {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
  /* IE6-7 hack removed */
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  background: #D6D6D6;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #869791;
}

/* ============================================
   7. CHECKED CLASS (for star ratings)
   Extracted from: app-assets-horizontal/scss/frontend_style.css
   ============================================ */
.checked {
  color: #f0c60e;
}

/* ============================================
   8. MODAL STYLES
   Extracted from: app-assets-horizontal/scss/frontend_style.css
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
}

.modal.show {
  display: block !important;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.modal.fade.show {
  opacity: 1;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
  pointer-events: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 20px);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #e9ecef;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.modal-backdrop.show {
  opacity: 0.5;
}

/* Modal Open Body State */
body.modal-open {
  overflow: hidden;
  padding-right: 0 !important;
}

body.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.close {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  opacity: 0.5;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  cursor: pointer;
}

.close:hover {
  opacity: 0.75;
}

.modal .form-control:focus {
  box-shadow: none;
  border: 1px solid #d9d9d9;
}

/* ============================================
   9. FORM CONTROL STYLES
   Extracted from: app-assets-horizontal/scss/frontend_style.css
   ============================================ */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::-moz-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* ============================================
   10. BUTTON STYLES
   Extracted from: app-assets-horizontal/scss/frontend_style.css
   ============================================ */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
}

/* ============================================
   11. ALGOLIA AUTOCOMPLETE STYLES
   Extracted from: assets/css/app.css
   ============================================ */
.aa-demo-3 .aa-input-container {
  display: inline-block;
  position: relative;
}

.aa-demo-3 {
  font-size: 14px;
}

.aa-demo-3 .algolia-autocomplete {
  top: 0 !important;
  width: 100%;
}

.aa-demo-3 .aa-input-search::-webkit-search-decoration,
.aa-demo-3 .aa-input-search::-webkit-search-cancel-button,
.aa-demo-3 .aa-input-search::-webkit-search-results-button,
.aa-demo-3 .aa-input-search::-webkit-search-results-decoration {
  display: none;
}

.aa-demo-3 .aa-dropdown-menu {
  background-color: #fff;
  border: 2px solid rgba(228,228,228,0.6);
  border-top-width: 0;
  width: 100%;
  margin-top: 10px;
  box-shadow: 4px 4px 0 rgba(241,241,241,0.35);
  font-size: 11px;
  border-radius: 4px;
  box-sizing: border-box;
}

.aa-demo-3 .aa-suggestion {
  padding: 6px 12px !important;
  border-bottom: 0 !important;
  font-size: 1.1rem !important;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aa-demo-3 .aa-suggestion:hover,
.aa-demo-3 .aa-suggestion.aa-cursor {
  background-color: rgba(241,241,241,0.35) !important;
}

.aa-demo-3 .aa-suggestions-category {
  border-bottom: 2px solid rgba(228,228,228,0.6);
  border-top: 2px solid rgba(228,228,228,0.6);
  padding: 6px 12px;
  text-align: left;
}

.aa-demo-3 .aa-suggestion > span:first-child em,
.aa-demo-3 .aa-suggestion > span:last-child em {
  font-weight: 700;
  font-style: normal;
  background-color: rgba(58,150,207,0.1);
  padding: 2px 0 2px 2px;
}

.aa-demo-3 .aa-suggestion > span.category {
  text-align: right;
  width: 50%;
  font-size: 12px;
}

.aa-demo-3 p {
  margin: 0;
}

.aa-demo-3 .form-control {
  border: 0;
  border-radius: 0;
  font-size: 14px;
  color: #bcbcbf;
}

.aa-demo-3 .aa-empty {
  padding: 6px 12px;
}

/* ============================================
   12. HORIZONTAL LAYOUT STYLES
   Extracted from: framework.blade.php body classes
   ============================================ */
.horizontal-layout {
  width: 100%;
}

.horizontal-menu {
  width: 100%;
}

.footer-static {
  position: relative;
}

/* ============================================
   13. IMAGE UTILITIES
   Extracted from: Bootstrap & frontend_style.css
   ============================================ */
.img-fluid {
  max-width: 100%;
  height: auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   14. TEXT UTILITIES
   Extracted from: Bootstrap
   ============================================ */
.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

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

/* ============================================
   15. FONT AWESOME ICON SUPPORT
   Basic icon styles (full Font Awesome CSS is loaded separately)
   ============================================ */
.fa {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* ============================================
   16. BOOTSTRAP RESPONSIVE UTILITIES
   Essential display utilities for responsive design
   ============================================ */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

@media (min-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-flex {
    display: flex !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
}

@media (min-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-flex {
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  .d-xl-none {
    display: none !important;
  }
  .d-xl-block {
    display: block !important;
  }
  .d-xl-flex {
    display: flex !important;
  }
}

/* ============================================
   17. BOOTSTRAP FLEXBOX UTILITIES
   Flexbox alignment and direction utilities
   ============================================ */
.flex-row {
  flex-direction: row !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-baseline {
  align-items: baseline !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

@media (min-width: 576px) {
  .flex-sm-row {
    flex-direction: row !important;
  }
  .flex-sm-column {
    flex-direction: column !important;
  }
  .justify-content-sm-between {
    justify-content: space-between !important;
  }
  .align-items-sm-center {
    align-items: center !important;
  }
}

@media (min-width: 768px) {
  .flex-md-row {
    flex-direction: row !important;
  }
  .flex-md-column {
    flex-direction: column !important;
  }
  .justify-content-md-between {
    justify-content: space-between !important;
  }
  .align-items-md-center {
    align-items: center !important;
  }
}

@media (min-width: 992px) {
  .flex-lg-row {
    flex-direction: row !important;
  }
  .flex-lg-column {
    flex-direction: column !important;
  }
  .flex-lg-column-reverse {
    flex-direction: column-reverse !important;
  }
  .justify-content-lg-between {
    justify-content: space-between !important;
  }
  .align-items-lg-center {
    align-items: center !important;
  }
}

/* ============================================
   18. BOOTSTRAP GRID COLUMNS
   Essential column classes for layout
   ============================================ */
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* ============================================
   19. BOOTSTRAP UTILITY CLASSES
   Spacing, sizing, and other utilities
   ============================================ */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }

.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.position-sticky {
  position: sticky !important;
  top: 0;
  z-index: 1020;
}

/* ============================================
   20. BREADCRUMB STYLES
   Extracted from: bootstrap-extended.css
   ============================================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: transparent;
  border-radius: 0.25rem;
}

.breadcrumb-item {
  display: flex;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  display: inline-block;
  padding-right: 0.5rem;
  color: #6c757d;
  content: "/";
}

.breadcrumb-item.active {
  color: #6c757d;
}

.breadcrumb-item a {
  color: #1A5319;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* ============================================
   21. FORM VALIDATION STYLES
   Extracted from: bootstrap-extended.css
   ============================================ */
.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.help-block {
  display: block;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  color: #dc3545;
  font-size: 0.875rem;
}

.help-block ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: disc;
}

.help-block li {
  margin-bottom: 0.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

/* ============================================
   22. COLLAPSE FUNCTIONALITY
   Bootstrap collapse component
   ============================================ */
.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/* ============================================
   23. SELECT2 STYLES
   Extracted from: select2.min.css
   ============================================ */
.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle;
}

.select2-container .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 38px;
  user-select: none;
  -webkit-user-select: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  display: block;
  padding-left: 12px;
  padding-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 38px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
  height: 36px;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 20px;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}

.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
  padding-right: 12px;
  padding-left: 20px;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444;
  line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
  right: 1px;
  width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}

.select2-dropdown {
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051;
}

.select2-results {
  display: block;
}

.select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0;
}

.select2-results__option {
  padding: 6px;
  user-select: none;
  -webkit-user-select: none;
}

.select2-results__option[aria-selected] {
  cursor: pointer;
}

.select2-container--open .select2-dropdown {
  left: 0;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 4px 5px 4px;
}

.select2-search--dropdown {
  display: block;
  padding: 4px;
}

.select2-search--dropdown .select2-search__field {
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
}

.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #ddd;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #5897fb;
  color: white;
}

.select2-results__option {
  padding: 6px;
  user-select: none;
  -webkit-user-select: none;
}

.select2-results__option--selectable {
  cursor: pointer;
}

/* ============================================
   24. PROFILE PAGE STYLES
   Extracted from: frontend_style.css & components.css
   ============================================ */
/* App Content Layout */
.app-content {
  padding: 0;
  position: relative;
  transition: all 0.3s ease;
  min-height: calc(100% - 4rem);
}

.app-content .content-overlay {
  position: fixed;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.7s;
  z-index: -1;
}

.header-navbar-shadow {
  display: none;
}

.content-wrapper {
  padding: calc(2.2rem - 0.4rem) 2.2rem 0;
  margin-top: 6rem;
}

.frontform-section .content-wrapper {
  padding: 0;
  margin-top: 0;
}

.input-validation {
  padding: 0;
}

/* Frontform Section */
.frontform-section {
  background: #ffffff;
  border-bottom: 1px solid #dfddd9;
  padding-bottom: 50px;
  padding-top: 30px;
  width: 100%;
  float: left;
  min-height: calc(100vh - 200px);
}

.frontform-section.profile-form {
  background: #ffffff;
  padding-top: 30px;
  padding-bottom: 50px;
}

.frontform-section .content.app-content {
  overflow: visible;
}

.frontform-section .content-wrapper {
  padding: 0;
}

.frontform-section.profile-form .card label.w-100 {
  margin-bottom: 5px !important;
}

.frontform-section.profile-form .card .form-group {
  margin-bottom: 15px;
}

.frontform-section.profile-form .card input.form-control {
  border: 1px solid #dbe1e9;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, 0.09);
}

/* Card Styles - Basic Card */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1rem;
}

.card-content {
  padding: 0;
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
  background-color: #fff;
}

.frontform-section .card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  padding: 0;
}

.frontform-section .card .card-body {
  padding: 30px;
  background-color: #fff;
}

.frontform-section.profile-form .card .card-body {
  padding: 30px;
  background-color: #fff;
}

.frontform-section .card .form-group {
  margin-bottom: 13px;
}

.frontform-section .card input.form-control,
.frontform-section .card select.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgb(213, 219, 229);
  border-radius: 4px;
  box-shadow: inset 0px 1px 1px 0px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  height: 36px;
}

.frontform-section .card input.form-control:focus,
.frontform-section .card select.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #1A5319;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(26, 83, 25, 0.25);
}

.frontform-section .card input.form-control:disabled,
.frontform-section .card input.form-control[readonly]:not(.pickadate) {
  background-color: #f5f5f1;
  cursor: not-allowed;
  pointer-events: none;
}

/* Form Label */
.form-label {
  font-size: 13px;
  color: rgb(87, 100, 119);
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 8px !important;
}

.frontform-section .card label.w-100 {
  font-size: 13px;
  color: rgb(87, 100, 119);
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 8px !important;
}

/* Form Actions */
.form-actions {
  border-top: 1px solid #dfdfdf;
  padding: 20px 0;
  margin-top: 20px;
}

.form-actions.filled {
  background-color: #f8f8f8;
}

.form-actions.center {
  text-align: center;
}

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

.form-actions.top {
  border-top: 0;
  border-bottom: 1px solid #dfdfdf;
  margin-top: 0;
  margin-bottom: 20px;
}

/* Button Primary */
.btn-primary {
  color: #fff;
  background-color: #14532D;
  border-color: #14532D;
  border-radius: 3px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.25);
  height: 39px;
  padding: 0.85rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0d813b;
  border-color: #0d813b;
  color: #fff;
}

.btn-primary:focus,
.btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(20, 83, 45, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
  background-color: #0d813b;
  border-color: #0d813b;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.btn-primary.btn-lg {
  height: auto;
  padding: 1rem 2.5rem;
}

/* Profile Picture Section */
.profile-picture-section {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-image-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1A5319;
  display: block;
  margin: 0 auto;
}

.profile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.profile-image-container:hover .profile-overlay {
  opacity: 1;
}

.change-image-btn {
  color: #fff;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.change-image-btn i {
  font-size: 1.5rem;
}

.change-image-btn span {
  font-size: 0.875rem;
  font-weight: 500;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A5319;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Profile Form Section */
.profile-form-section {
  padding: 0;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A5319;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title i {
  font-size: 1.125rem;
}

/* Profile Page Container */
.profile-page-container {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 30px 0;
  overflow: visible !important;
}

.profile-page-header {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.profile-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1A5319;
  margin: 0;
}

.profile-content-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Button Success */
.btn-success {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
  border-radius: 3px;
  padding: 0.85rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
  color: #fff;
}

.btn-success:focus,
.btn-success.focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

.btn-success:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled).active {
  background-color: #1e7e34;
  border-color: #1c7430;
}

/* Text Utilities */
.text-danger {
  color: #dc3545 !important;
}

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

.text-center {
  text-align: center !important;
}

/* ============================================
   25. NAVIGATION & DROPDOWN SUPPORT
   Basic navigation styles
   ============================================ */
.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: none;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0.25rem;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration: none;
}

.dropdown-item:hover {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

/* ============================================
   END OF BASIC STYLES
   ============================================ */


   /* ============================================
   MODERN LANDING PAGE STYLES
   ============================================ */

/* Global Section Styles */
.landing-section {
  padding: 60px 0;
  position: relative;
}

.landing-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.landing-section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1A5319;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.landing-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1A5319 0%, #2d7a29 100%);
  border-radius: 2px;
}

.landing-section-subtitle {
  font-size: 18px;
  color: #666;
  margin-top: 20px;
  font-weight: 400;
  line-height: 1.6;
}

/* ============================================
 NEWLY ADDED PRODUCTS SECTION
 ============================================ */
.landing-new-products {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

.landing-new-products-header {
  text-align: center;
  margin-bottom: 50px;
}

.landing-new-products-title {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.landing-new-products-subtitle {
  font-size: 18px;
  color: #666;
  margin-top: 15px;
}

.landing-product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  min-width: 0;
}

.landing-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(26, 83, 25, 0.15);
}

.landing-product-image-wrapper {
  position: relative;
  padding: 20px 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.landing-product-image-wrapper img {
  max-height: 220px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.landing-product-card:hover .landing-product-image-wrapper img {
  transform: scale(1.05);
}

.landing-product-info {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.landing-product-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-product-price-wrapper {
  margin-top: auto;
}

.landing-product-price {
  font-size: 22px;
  font-weight: 700;
  color: #1A5319;
  margin-bottom: 4px;
}

.landing-product-mrp {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 5px;
}

.landing-product-discount {
  font-size: 14px;
  color: #009d0a;
  font-weight: 600;
}

.landing-new-products-carousel {
  position: relative;
}

.landing-new-products-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}

.landing-new-products-carousel .owl-item {
  display: flex;
  height: auto;
}

.landing-new-products-carousel .owl-item .item {
  width: 100%;
  display: flex;
}

.landing-new-products-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.landing-new-products-carousel .owl-nav button {
  width: 50px;
  height: 50px;
  background: white !important;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: all 0.3s ease;
  border: none;
}

.landing-new-products-carousel .owl-nav button:hover {
  background: #1A5319 !important;
  transform: scale(1.1);
}

.landing-new-products-carousel .owl-nav button span {
  font-size: 28px;
  color: #1A5319;
  line-height: 1;
}

.landing-new-products-carousel .owl-nav button:hover span {
  color: white;
}

.landing-new-products-carousel .owl-dots {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 30px;
  gap: 8px;
  height: 20px;
}

.landing-new-products-carousel .owl-dots button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: #ddd !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.3s ease;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

.landing-new-products-carousel .owl-dots button.active {
  background: #1A5319 !important;
  width: 30px !important;
  height: 12px !important;
  border-radius: 6px !important;
}

/* ============================================
 SHOP BY CATEGORY SECTION
 ============================================ */
.landing-categories {
  background: white;
  padding: 80px 0;
}

.landing-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.landing-category-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.landing-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(26, 83, 25, 0.15);
  text-decoration: none;
  color: inherit;
}

.landing-category-image-wrapper {
  position: relative;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-category-image-wrapper img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.landing-category-card:hover .landing-category-image-wrapper img {
  transform: scale(1.1);
}

.landing-category-info {
  padding: 20px 15px;
}

.landing-category-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.landing-category-btn {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
  color: white;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.landing-category-card:hover .landing-category-btn {
  background: linear-gradient(135deg, #2d7a29 0%, #1A5319 100%);
  transform: scale(1.05);
}

/* ============================================
 POPULAR COLLECTION SECTION
 ============================================ */
.landing-popular {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
}

.landing-popular-carousel {
  position: relative;
  margin-top: 50px;
}

.landing-popular-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.landing-popular-carousel .owl-nav button {
  width: 50px;
  height: 50px;
  background: #b98b58 !important;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: all 0.3s ease;
  border: none;
}

.landing-popular-carousel .owl-nav button:hover {
  background: #1A5319 !important;
  transform: scale(1.1);
}

.landing-popular-carousel .owl-nav button span {
  font-size: 28px;
  color: white;
  line-height: 1;
}

.landing-popular-carousel .owl-dots {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-top: 30px;
  gap: 8px;
  height: 20px;
}

.landing-popular-carousel .owl-dots button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: #ddd !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.3s ease;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

.landing-popular-carousel .owl-dots button.active {
  background: #b98b58 !important;
  width: 30px !important;
  height: 12px !important;
  border-radius: 6px !important;
}

/* ============================================
 REVIEWS SECTION
 ============================================ */
.landing-reviews {
  background: white;
  padding: 80px 0;
}

.landing-reviews-header {
  text-align: center;
  margin-bottom: 50px;
}

.landing-reviews-subtitle {
  font-size: 18px;
  color: #b98b58;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.landing-reviews-title {
  font-size: 42px;
  font-weight: 700;
  color: #1A5319;
  margin-bottom: 15px;
}

.landing-review-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  margin: 15px;
  position: relative;
}

.landing-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(26, 83, 25, 0.15);
}

.landing-review-rating {
  margin-bottom: 20px;
}

.landing-review-rating .checked {
  color: #ffc107;
  font-size: 20px;
}

.landing-review-content {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
  min-height: 100px;
}

.landing-review-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.landing-review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
}

.landing-review-author-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.landing-reviews-slider {
  margin-top: 50px;
}

.landing-reviews-slider .slick-dots {
  bottom: -50px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px;
  height: 20px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.landing-reviews-slider .slick-dots li {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

.landing-reviews-slider .slick-dots li button {
  width: 12px !important;
  height: 12px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #ddd !important;
  font-size: 0 !important;
  line-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.landing-reviews-slider .slick-dots li button:before {
  display: none !important;
}

.landing-reviews-slider .slick-dots li.slick-active button {
  background: #1A5319 !important;
  width: 30px !important;
  border-radius: 6px !important;
}

/* ============================================
 CONTACT/HELP SECTION
 ============================================ */
.landing-contact {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.landing-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1A5319 0%, #2d7a29 100%);
}

.landing-contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.landing-contact-title {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.landing-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.landing-contact-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.landing-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1A5319 0%, #2d7a29 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.landing-contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(26, 83, 25, 0.15);
  border-color: #1A5319;
}

.landing-contact-card:hover::before {
  transform: scaleX(1);
}

.landing-contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 83, 25, 0.2);
}

.landing-contact-card:hover .landing-contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(26, 83, 25, 0.3);
}

.landing-contact-icon img {
  width: 45px;
  height: auto;
  filter: brightness(0) invert(1);
}

.landing-contact-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.landing-contact-card-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #666;
}

.landing-contact-card-text strong {
  color: #1A5319;
  font-weight: 600;
}

.landing-contact-card-link {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
  color: white;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(26, 83, 25, 0.2);
}

.landing-contact-card-link:hover {
  background: linear-gradient(135deg, #2d7a29 0%, #1A5319 100%);
  transform: scale(1.05);
  text-decoration: none;
  color: white;
  box-shadow: 0 6px 20px rgba(26, 83, 25, 0.3);
}

/* ============================================
 RESPONSIVE DESIGN
 ============================================ */
@media (max-width: 1200px) {
  .landing-section-title,
  .landing-new-products-title,
  .landing-reviews-title,
  .landing-contact-title {
      font-size: 36px;
  }
  
  .landing-categories-grid {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 20px;
  }
}

@media (max-width: 768px) {
  .landing-section {
      padding: 40px 0;
  }
  
  .landing-section-title,
  .landing-new-products-title,
  .landing-reviews-title,
  .landing-contact-title {
      font-size: 28px;
  }
  
  .landing-section-subtitle,
  .landing-new-products-subtitle {
      font-size: 16px;
  }
  
  .landing-categories-grid {
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 15px;
  }
  
  .landing-contact-cards {
      grid-template-columns: 1fr;
  }
  
  .landing-new-products-carousel .owl-nav,
  .landing-popular-carousel .owl-nav {
      padding: 0 10px;
  }
  
  .landing-new-products-carousel .owl-nav button,
  .landing-popular-carousel .owl-nav button {
      width: 40px;
      height: 40px;
  }
  
  .landing-new-products-carousel .owl-nav button span,
  .landing-popular-carousel .owl-nav button span {
      font-size: 20px;
  }
}

@media (max-width: 576px) {
  .landing-product-card,
  .landing-review-card {
      margin: 10px;
  }
  
  .landing-product-image-wrapper {
      min-height: 220px;
      padding: 20px;
  }
  
  .landing-category-image-wrapper {
      min-height: 150px;
      padding: 20px 15px;
  }
}

/* ============================================
 FOOTER STYLES (for Get In Touch section - Landing Page)
 ============================================ */
/* Note: Footer styles (.footer-new-section-card, .footer-new-contact-item, etc.) 
   are defined later in the file (around line 7048). 
   This section only adds landing-info-section specific padding override */

/* ============================================
 LANDING INFO SECTION (About Us & Quick Links)
 ============================================ */
.landing-info-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: visible;
}

.landing-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1A5319 0%, #2d7a29 100%);
}

.landing-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.landing-info-card {
  position: relative;
  padding-top: 50px;
}

/* Landing info section uses footer-new-section-card with different padding */
.landing-info-section .footer-new-section-card {
  padding: 73px 25px;
}

.landing-info-icon-wrapper {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(26, 83, 25, 0.3);
  transition: all 0.3s ease;
  z-index: 2;
}

.landing-info-card:hover .landing-info-icon-wrapper {
  transform: translateX(-50%) scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(26, 83, 25, 0.4);
}

.landing-info-contact .footer-new-contact-item {
  margin-bottom: 15px;
}

.landing-info-contact .footer-new-contact-item:last-child {
  margin-bottom: 0;
}

.footer-new-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* Note: .footer-new-links-list styles are defined later in the file (around line 7009) */

@media (max-width: 992px) {
  .landing-info-section {
      padding: 120px 0 80px;
  }
  
  .landing-info-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
  }
  
  .landing-info-card {
      padding-top: 50px;
  }
  
  .landing-info-icon-wrapper {
      top: -40px;
      width: 70px;
      height: 70px;
      font-size: 28px;
  }
}

@media (max-width: 768px) {
  .landing-info-section {
      padding: 120px 0 80px;
  }
  
  .landing-info-grid {
      grid-template-columns: 1fr;
      gap: 60px;
  }
  
  .footer-new-content-grid {
      grid-template-columns: 1fr;
      gap: 25px;
  }
  
  .landing-info-card {
      padding-top: 50px;
  }
  
  .landing-info-icon-wrapper {
      top: -40px;
      width: 70px;
      height: 70px;
      font-size: 28px;
  }
}

/* Modern Wishlist Styles */
.wishlist-modern-wrapper {
  background: #f8f9fa;
  padding: 30px 0;
  min-height: 100vh;
}

.wishlist-modern-header {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wishlist-modern-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wishlist-modern-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}

.wishlist-modern-toolbar {
  background: #fff;
  border-radius: 12px;
  padding: 20px 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.wishlist-modern-count {
  font-size: 14px;
  color: #4a5568;
  font-weight: 500;
}

.wishlist-modern-count strong {
  color: #1A5319;
  font-weight: 700;
}

.wishlist-modern-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wishlist-modern-sort-label {
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wishlist-modern-sort-select {
  min-width: 200px;
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.wishlist-modern-sort-select:focus {
  outline: none;
  border-color: #1A5319;
  box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

.wishlist-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.wishlist-modern-product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.wishlist-modern-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.wishlist-modern-product-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #f8f9fa;
}

.wishlist-modern-product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wishlist-modern-product-card:hover .wishlist-modern-product-image {
  transform: scale(1.05);
}

.wishlist-modern-product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.wishlist-modern-heart-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wishlist-modern-heart-btn:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.wishlist-modern-heart-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wishlist-modern-heart-btn i {
  font-size: 18px;
  color: #dc3545;
}

.wishlist-modern-heart-btn.active i {
  color: #dc3545;
}

.wishlist-modern-heart-btn:hover i {
  color: #c82333;
}

.wishlist-modern-cart-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(26, 83, 25, 0.3);
  color: white;
}

.wishlist-modern-cart-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.4);
}

.wishlist-modern-cart-btn i {
  font-size: 16px;
  color: white;
}

.wishlist-modern-product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wishlist-modern-product-name {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wishlist-modern-product-name:hover {
  color: #1A5319;
  text-decoration: none;
}

.wishlist-modern-product-desc {
  font-size: 13px;
  color: #718096;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.wishlist-modern-product-price-section {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.wishlist-modern-price-current {
  font-size: 20px;
  font-weight: 700;
  color: #1A5319;
  margin-bottom: 4px;
}

.wishlist-modern-price-original {
  font-size: 14px;
  color: #a0aec0;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.wishlist-modern-discount-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #d4edda;
  color: #155724;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}

.wishlist-modern-stock-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #f8d7da;
  color: #721c24;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.wishlist-modern-empty {
  background: #fff;
  border-radius: 12px;
  padding: 80px 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  grid-column: 1 / -1;
}

.wishlist-modern-empty-icon {
  font-size: 80px;
  color: #cbd5e0;
  margin-bottom: 30px;
}

.wishlist-modern-empty-icon i {
  font-size: 80px;
}

.wishlist-modern-empty-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
}

.wishlist-modern-empty-text {
  font-size: 16px;
  color: #718096;
  margin-bottom: 30px;
}

.wishlist-modern-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wishlist-modern-empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
  color: #fff;
  text-decoration: none;
}

.wishlist-modern-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.wishlist-modern-pagination .pagination {
  margin: 0;
}

.wishlist-modern-pagination .page-link {
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #4a5568;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  margin: 0 4px;
  transition: all 0.2s ease;
}

.wishlist-modern-pagination .page-link:hover {
  border-color: #1A5319;
  color: #1A5319;
  background: #f7fafc;
}

.wishlist-modern-pagination .page-item.active .page-link {
  background: #1A5319;
  color: #fff;
  border-color: #1A5319;
}

.wishlist-modern-pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .wishlist-modern-toolbar {
      flex-direction: column;
      align-items: stretch;
  }
  
  .wishlist-modern-sort {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
  }
  
  .wishlist-modern-sort-select {
      width: 100%;
  }
  
  .wishlist-modern-grid {
      grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      gap: 15px;
  }
  
  .wishlist-modern-product-info {
      padding: 15px;
  }
  
  .wishlist-modern-product-name {
      font-size: 14px;
  }
  
  .wishlist-modern-price-current {
      font-size: 18px;
  }
}

/* Modern Profile Page Styles */
.profile-form {
	padding: 30px 0;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	min-height: 100vh;
}

.profile-picture-section {
	background: white;
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	height: fit-content;
}

.profile-image-container {
	position: relative;
	width: 200px;
	height: 200px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid #1A5319;
	box-shadow: 0 8px 25px rgba(26, 83, 25, 0.3);
}

.profile-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s ease;
}

.profile-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(26, 83, 25, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all 0.3s ease;
	cursor: pointer;
}

.profile-image-container:hover .profile-overlay {
	opacity: 1;
}

.change-image-btn {
	color: white;
	text-align: center;
	cursor: pointer;
	font-weight: 600;
}

.change-image-btn i {
	font-size: 24px;
	display: block;
	margin-bottom: 8px;
}

.profile-name {
	color: #1A5319;
	font-weight: 600;
	margin-bottom: 0;
}

.profile-form-section {
	background: white;
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-title {
	color: #1A5319;
	font-weight: 600;
	margin-bottom: 25px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e8ecef;
}

.form-label {
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 8px;
}

.form-control {
	border: 2px solid #e8ecef;
	border-radius: 8px;
	padding: 12px 15px;
	transition: all 0.3s ease;
	font-size: 14px;
}

.form-control:focus {
	border-color: #1A5319;
	box-shadow: 0 0 0 0.2rem rgba(26, 83, 25, 0.25);
}

.form-control.is-invalid {
	border-color: #dc3545;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right calc(0.375em + 0.1875rem) center;
	background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
	padding-right: calc(1.5em + 0.75rem);
}

.invalid-feedback {
	display: block;
	width: 100%;
	margin-top: 0.25rem;
	font-size: 0.875em;
	color: #dc3545;
	font-weight: 500;
}

.invalid-feedback.d-block {
	display: block !important;
}

.btn-primary {
	background: linear-gradient(135deg, #1A5319 0%, #2d5a2d 100%);
	border: none;
	border-radius: 8px;
	padding: 12px 30px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background: linear-gradient(135deg, #2d5a2d 0%, #1A5319 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(26, 83, 25, 0.3);
}

.alert-success {
	background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
	border: 1px solid #c3e6cb;
	border-radius: 8px;
	color: #155724;
}

.breadcrumb {
	background: transparent;
	padding: 0;
	margin-bottom: 20px;
}

.breadcrumb-item a {
	color: #1A5319;
	text-decoration: none;
}

.breadcrumb-item.active {
	color: #6c757d;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.profile-form {
		padding: 15px 0;
	}
	
	.profile-picture-section,
	.profile-form-section {
		padding: 20px;
		margin-bottom: 20px;
	}
	
	.profile-image-container {
		width: 150px;
		height: 150px;
	}
	
	.form-actions {
		text-align: center;
	}
}

/* Toastr Override - Ensure visibility */
#toast-container,
.toast-container {
	z-index: 999999 !important;
	pointer-events: none !important;
}

#toast-container > div,
.toast-container > div {
	opacity: 1 !important;
	pointer-events: auto !important;
	box-shadow: 0 0 12px rgba(0,0,0,0.3) !important;
}

#toast-container .toast-success {
	background-color: #51A351 !important;
	color: white !important;
}

#toast-container .toast-error {
	background-color: #BD362F !important;
	color: white !important;
}

.toast-top-right {
	top: 12px !important;
	right: 12px !important;
}

/* order list page */
.orders-page-container {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 30px 0;
  overflow: visible !important;
}

.orders-page-header {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: visible !important;
}

.orders-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 25px 0;
}

.orders-filter-section {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.orders-filter-group {
  flex: 1;
  min-width: 200px;
}

.orders-filter-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orders-filter-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.orders-filter-input:focus {
  outline: none;
  border-color: #1A5319;
  box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

/* Date Picker Styling - Beautiful & Centered */
.picker {
  z-index: 999999 !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.picker__holder {
  background: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25) !important;
  overflow: hidden !important;
  min-width: 320px !important;
}

.picker__frame {
  padding: 0 !important;
  border-radius: 12px !important;
}

.picker__wrap {
  background: #fff !important;
}

/* Calendar Header */
.picker__header {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%) !important;
  color: white !important;
  padding: 20px !important;
  text-align: center !important;
}

.picker__month,
.picker__year {
  color: white !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

.picker__nav--prev,
.picker__nav--next {
  color: white !important;
  padding: 10px !important;
  border-radius: 50% !important;
}

.picker__nav--prev:hover,
.picker__nav--next:hover {
  background: rgba(255,255,255,0.2) !important;
}

/* Calendar Body */
.picker__table {
  margin: 0 !important;
  padding: 20px !important;
  border-collapse: separate !important;
  border-spacing: 4px !important;
}

.picker__weekday {
  color: #1A5319 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  padding: 10px 0 !important;
}

.picker__day {
  padding: 10px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  transition: all 0.2s ease !important;
}

.picker__day:hover {
  background: #e8f5e9 !important;
  color: #1A5319 !important;
  cursor: pointer !important;
}

.picker__day--selected,
.picker__day--selected:hover {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%) !important;
  color: white !important;
  font-weight: 700 !important;
}

.picker__day--highlighted {
  background: #fff3cd !important;
  color: #856404 !important;
}

.picker__day--today {
  position: relative !important;
  color: #1A5319 !important;
  font-weight: 700 !important;
}

.picker__day--today:before {
  content: '' !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 4px !important;
  height: 4px !important;
  background: #1A5319 !important;
  border-radius: 50% !important;
}

.picker__day--disabled {
  color: #cbd5e0 !important;
  cursor: not-allowed !important;
}

.picker__day--disabled:hover {
  background: transparent !important;
  color: #cbd5e0 !important;
}

.picker__day--outfocus {
  color: #cbd5e0 !important;
}

/* Calendar Footer */
.picker__footer {
  padding: 15px 20px !important;
  background: #f8f9fa !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.picker__button--today,
.picker__button--clear,
.picker__button--close {
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.picker__button--today {
  background: #1A5319 !important;
  color: white !important;
}

.picker__button--today:hover {
  background: #2d7a2e !important;
}

.picker__button--clear {
  background: #fff !important;
  color: #dc3545 !important;
  border: 1px solid #dc3545 !important;
}

.picker__button--clear:hover {
  background: #dc3545 !important;
  color: white !important;
}

.picker__button--close {
  background: #e2e8f0 !important;
  color: #4a5568 !important;
}

.picker__button--close:hover {
  background: #cbd5e0 !important;
}

/* Select dropdowns in header */
.picker__select--month,
.picker__select--year {
  background: rgba(255,255,255,0.2) !important;
  color: white !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 6px !important;
  padding: 5px 10px !important;
  font-weight: 600 !important;
  margin: 0 5px !important;
}

/* Ensure containers don't hide the picker */
.orders-page-container,
.orders-page-header,
.orders-filter-section,
.orders-table-wrapper {
  overflow: visible !important;
}

/* Backdrop for picker */
.picker--opened:before {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0,0,0,0.4) !important;
  z-index: 999998 !important;
}

.orders-filter-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orders-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
}

.orders-filter-btn-clear {
  padding: 12px 24px;
  background: #fff;
  color: #4a5568;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.orders-filter-btn-clear:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
}

.orders-table-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: visible !important;
}

.orders-table-loading {
  position: relative;
  min-height: 400px;
}

.orders-table-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.orders-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 11;
  display: none;
}

.orders-loader.active {
  display: block;
}

.orders-loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e2e8f0;
  border-top-color: #1A5319;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.orders-loader-text {
  margin-top: 15px;
  color: #718096;
  font-size: 14px;
  font-weight: 500;
}

.orders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.orders-table thead {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
}

.orders-table th {
  padding: 18px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.orders-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.orders-table tbody tr:hover {
  background: #f7fafc;
}

.orders-table tbody tr:last-child {
  border-bottom: none;
}

.orders-table td {
  padding: 20px;
  font-size: 14px;
  color: #4a5568;
  vertical-align: middle;
}

.orders-id-link {
  color: #1A5319;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.orders-id-link:hover {
  color: #2d7a2e;
  text-decoration: underline;
}

.orders-amount {
  font-weight: 600;
  color: #2d3748;
}

.orders-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orders-badge-success {
  background: #c6f6d5;
  color: #22543d;
}

.orders-badge-warning {
  background: #feebc8;
  color: #744210;
}

.orders-badge-danger {
  background: #fed7d7;
  color: #742a2a;
}

.orders-badge-info {
  background: #bee3f8;
  color: #2c5282;
}

.orders-empty {
  text-align: center;
  padding: 60px 20px;
  color: #718096;
}

.orders-empty-icon {
  font-size: 64px;
  color: #cbd5e0;
  margin-bottom: 20px;
}

.orders-empty-text {
  font-size: 18px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 10px;
}

.orders-empty-subtext {
  font-size: 14px;
  color: #718096;
}

.orders-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  gap: 10px;
}

.orders-pagination-btn {
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #4a5568;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.orders-pagination-btn:hover:not(.disabled) {
  border-color: #1A5319;
  color: #1A5319;
  background: #f7fafc;
}

.orders-pagination-btn.active {
  background: #1A5319;
  color: #fff;
  border-color: #1A5319;
}

.orders-pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.orders-pagination-info {
  color: #718096;
  font-size: 14px;
  margin: 0 15px;
}

.orders-view-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orders-view-detail-btn:hover {
  background: linear-gradient(135deg, #2d7a2e 0%, #1A5319 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
  color: #fff;
  text-decoration: none;
}

.orders-view-detail-btn i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .orders-filter-section {
      flex-direction: column;
  }
  
  .orders-filter-group {
      width: 100%;
  }
  
  .orders-table-wrapper {
      overflow-x: auto !important;
      overflow-y: visible !important;
  }
  
  .orders-table {
      min-width: 800px;
  }
}


/* Modern Invoice Report Styles */
.invoice-report-wrapper {
  background: #f8f9fa;
  padding: 30px 0;
  min-height: 100vh;
  overflow: visible !important;
}

.invoice-report-header {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.invoice-report-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.invoice-report-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}

.invoice-filter-section {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: visible !important;
}

.invoice-filter-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.invoice-filter-section h3 i {
  color: #1A5319;
}

.invoice-filter-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.invoice-filter-group {
  flex: 1;
  min-width: 200px;
}

.invoice-filter-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-filter-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.invoice-filter-input:focus {
  outline: none;
  border-color: #1A5319;
  box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

.invoice-filter-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.invoice-btn-primary {
  padding: 12px 30px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.invoice-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
  color: #fff;
  text-decoration: none;
}

.invoice-btn-secondary {
  padding: 12px 24px;
  background: #fff;
  color: #4a5568;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.invoice-btn-secondary:hover {
  border-color: #cbd5e0;
  background: #f7fafc;
  color: #4a5568;
  text-decoration: none;
}

.invoice-btn-download {
  padding: 12px 30px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.invoice-btn-download:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
}

.invoice-btn-download:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.invoice-btn-download .btn-loader {
  display: none;
}

.invoice-btn-download.loading .btn-text {
  display: none;
}

.invoice-btn-download.loading .btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.invoice-table-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.invoice-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.invoice-table thead {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
}

.invoice-table th {
  padding: 18px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.invoice-table th.text-center {
  text-align: center;
}

.invoice-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.invoice-table tbody tr:hover {
  background: #f7fafc;
}

.invoice-table tbody tr:last-child {
  border-bottom: none;
}

.invoice-table td {
  padding: 20px;
  font-size: 14px;
  color: #4a5568;
  vertical-align: middle;
}

.invoice-table td.text-center {
  text-align: center;
}

.invoice-number {
  color: #1A5319;
  font-weight: 600;
}

.invoice-order-id {
  color: #1A5319;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.invoice-order-id:hover {
  color: #2d7a2e;
  text-decoration: underline;
}

.invoice-amount {
  font-weight: 600;
  color: #2d3748;
}

.invoice-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-print-btn:hover {
  background: linear-gradient(135deg, #2d7a2e 0%, #1A5319 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
  color: #fff;
  text-decoration: none;
}

.invoice-print-btn i {
  font-size: 14px;
}

.invoice-empty {
  text-align: center;
  padding: 60px 20px;
  color: #718096;
}

.invoice-empty-icon {
  font-size: 64px;
  color: #cbd5e0;
  margin-bottom: 20px;
}

.invoice-empty-text {
  font-size: 18px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 10px;
}

.invoice-empty-subtext {
  font-size: 14px;
  color: #718096;
}

/* Date Picker Styling - Beautiful & Centered */
.picker {
  z-index: 999999 !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.picker__holder {
  background: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25) !important;
  overflow: hidden !important;
  min-width: 320px !important;
}

.picker__frame {
  padding: 0 !important;
  border-radius: 12px !important;
}

.picker__wrap {
  background: #fff !important;
}

.picker__header {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%) !important;
  color: white !important;
  padding: 20px !important;
  text-align: center !important;
}

.picker__month,
.picker__year {
  color: white !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

.picker__nav--prev,
.picker__nav--next {
  color: white !important;
  padding: 10px !important;
  border-radius: 50% !important;
}

.picker__nav--prev:hover,
.picker__nav--next:hover {
  background: rgba(255,255,255,0.2) !important;
}

.picker__table {
  margin: 0 !important;
  padding: 20px !important;
  border-collapse: separate !important;
  border-spacing: 4px !important;
}

.picker__weekday {
  color: #1A5319 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  padding: 10px 0 !important;
}

.picker__day {
  padding: 10px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  transition: all 0.2s ease !important;
}

.picker__day:hover {
  background: #e8f5e9 !important;
  color: #1A5319 !important;
  cursor: pointer !important;
}

.picker__day--selected,
.picker__day--selected:hover {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%) !important;
  color: white !important;
  font-weight: 700 !important;
}

.picker__day--today {
  position: relative !important;
  color: #1A5319 !important;
  font-weight: 700 !important;
}

.picker__day--today:before {
  content: '' !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 4px !important;
  height: 4px !important;
  background: #1A5319 !important;
  border-radius: 50% !important;
}

.picker__footer {
  padding: 15px 20px !important;
  background: #f8f9fa !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.picker__button--today,
.picker__button--clear,
.picker__button--close {
  padding: 8px 16px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.picker__button--today {
  background: #1A5319 !important;
  color: white !important;
}

.picker__button--today:hover {
  background: #2d7a2e !important;
}

.picker__button--clear {
  background: #fff !important;
  color: #dc3545 !important;
  border: 1px solid #dc3545 !important;
}

.picker__button--clear:hover {
  background: #dc3545 !important;
  color: white !important;
}

.picker__button--close {
  background: #e2e8f0 !important;
  color: #4a5568 !important;
}

.picker__button--close:hover {
  background: #cbd5e0 !important;
}

.picker--opened:before {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0,0,0,0.4) !important;
  z-index: 999998 !important;
}

/* Ensure containers don't hide the picker */
.invoice-report-wrapper,
.invoice-filter-section,
.invoice-table-wrapper {
  overflow: visible !important;
}

/* Common container overflow fix for date pickers */
.orders-page-container .container,
.invoice-report-wrapper .container,
.profile-page-container .container {
  overflow: visible !important;
}

/* Invoice Pagination Styles */
.invoice-pagination-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
  margin-top: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.invoice-pagination-info {
  color: #718096;
  font-size: 14px;
  font-weight: 500;
}

.invoice-pagination-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.invoice-pagination-links .pagination {
  margin: 0;
  display: flex;
  list-style: none;
  padding: 0;
  gap: 8px;
}

.invoice-pagination-links .pagination .page-item {
  margin: 0;
}

.invoice-pagination-links .pagination .page-link {
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #4a5568;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 44px;
  text-align: center;
  line-height: 1.5;
}

.invoice-pagination-links .pagination .page-link:hover {
  border-color: #1A5319;
  color: #1A5319;
  background: #f7fafc;
  text-decoration: none;
}

.invoice-pagination-links .pagination .page-item.active .page-link {
  background: #1A5319;
  color: #fff;
  border-color: #1A5319;
}

.invoice-pagination-links .pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Hide sprite icons and show Font Awesome icons for invoice pagination */
.invoice-pagination-links .pagination .page-link i.img-sprite {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
}

/* Previous/First page icon - show arrow left */
.invoice-pagination-links .pagination .page-item:first-child .page-link::before {
  content: '\f060';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

/* Next/Last page icon - show arrow right */
.invoice-pagination-links .pagination .page-item:last-child .page-link::after {
  content: '\f061';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

/* Responsive for invoice pagination */
@media (max-width: 768px) {
  .invoice-pagination-wrapper {
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
  }
  
  .invoice-pagination-info {
    text-align: center;
    width: 100%;
  }
  
  .invoice-pagination-links {
    width: 100%;
    justify-content: center;
  }
  
  .invoice-pagination-links .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .invoice-pagination-links .pagination .page-link {
    padding: 8px 12px;
    min-width: 40px;
    font-size: 13px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .invoice-filter-row {
      flex-direction: column;
  }
  
  .invoice-filter-group {
      width: 100%;
  }
  
  .invoice-filter-actions {
      flex-direction: column;
      width: 100%;
  }
  
  .invoice-btn-primary,
  .invoice-btn-secondary,
  .invoice-btn-download {
      width: 100%;
      justify-content: center;
  }
  
  .invoice-table-wrapper {
      overflow-x: auto !important;
  }
  
  .invoice-table {
      min-width: 700px;
  }
  
  /* Profile Page Responsive */
  .profile-page-container {
      padding: 15px 0;
  }
  
  .profile-page-header {
      padding: 20px;
      margin-bottom: 20px;
  }
  
  .profile-page-title {
      font-size: 1.5rem;
  }
  
  .profile-content-wrapper {
      padding: 20px;
  }
  
  .profile-picture-section {
      margin-bottom: 30px;
  }
  
  .profile-image {
      width: 120px;
      height: 120px;
  }
}

/* Address Page Styles - Matching My Orders Design */
.address-page-container {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 30px 0;
  overflow: visible !important;
}

.address-page-header {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: visible !important;
}

.address-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 25px 0;
}

.address-form-section {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.address-form-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
}

.address-form-group {
  margin-bottom: 20px;
}

.address-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-form-input,
.address-form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.address-form-input:focus,
.address-form-select:focus {
  outline: none;
  border-color: #1A5319;
  box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

.address-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  min-height: 100px;
  resize: vertical;
}

.address-form-textarea:focus {
  outline: none;
  border-color: #1A5319;
  box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

.address-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-btn-primary:hover {
  background: linear-gradient(135deg, #2d7a2e 0%, #1A5319 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
  color: #fff;
  text-decoration: none;
}

.address-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  color: #1A5319;
  border: 2px solid #1A5319;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.address-btn-secondary:hover {
  background: #1A5319;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.2);
}

.address-list-section {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.address-list-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
}

.address-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.address-card:hover {
  border-color: #1A5319;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.address-card.default {
  border-color: #1A5319;
  background: #fff;
}

.address-card-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.address-card-info {
  flex: 1;
  min-width: 0;
}

.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.address-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.address-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #1A5319;
  color: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.address-card-body {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.6;
}

.address-card-body p {
  margin: 5px 0;
}

.address-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-start;
  flex-shrink: 0;
  margin-top: 0;
}

.address-action-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 120px;
  justify-content: center;
}

.address-action-btn.edit {
  background: #fff;
  color: #1A5319;
  border: 2px solid #1A5319;
}

.address-action-btn.edit:hover {
  background: #1A5319;
  color: #fff;
}

.address-action-btn.delete {
  background: #fff;
  color: #e74c3c;
  border: 2px solid #e74c3c;
}

.address-action-btn.delete:hover {
  background: #e74c3c;
  color: #fff;
}

.address-action-btn.set-default {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
}

.address-action-btn.set-default:hover {
  background: linear-gradient(135deg, #2d7a2e 0%, #1A5319 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
}

.address-action-btn.set-default:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.empty-address-message {
  text-align: center;
  padding: 60px 20px;
  color: #718096;
}

.empty-address-message i {
  font-size: 48px;
  color: #cbd5e0;
  margin-bottom: 15px;
}

.empty-address-message h4 {
  font-size: 18px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 10px;
}

.empty-address-message p {
  font-size: 14px;
  color: #718096;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-wrapper label {
  font-size: 14px;
  color: #4a5568;
  cursor: pointer;
  margin: 0;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}

.address-form-input.error,
.address-form-select.error,
.address-form-textarea.error {
  border-color: #e74c3c;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

@media (max-width: 768px) {
  .address-form-section,
  .address-list-section {
      padding: 20px;
  }
  
  .address-card-content {
      flex-direction: column;
      gap: 15px;
  }
  
  .address-card-header {
      flex-direction: column;
      gap: 10px;
  }
  
  .address-card-actions {
      width: 100%;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: flex-start;
  }
  
  .address-action-btn {
      flex: 1;
      min-width: auto;
      justify-content: center;
  }
}

/* Modern Change Password Styles */
.password-change-wrapper {
  background: #f8f9fa;
  padding: 30px 0;
  min-height: 100vh;
}

.password-change-header {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.password-change-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.password-change-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}

.password-change-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.password-change-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.password-change-title i {
  color: #1A5319;
  font-size: 28px;
}

.password-change-form-group {
  margin-bottom: 25px;
}

.password-change-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
}

.password-change-label .required {
  color: #e53e3e;
  margin-left: 4px;
}

.password-change-label .info-icon {
  color: #1A5319;
  margin-left: 8px;
  cursor: help;
  font-size: 16px;
}

.password-change-input-wrapper {
  position: relative;
}

.password-change-input {
  width: 100%;
  padding: 14px 16px;
  padding-right: 45px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  color: #1a202c;
}

.password-change-input:focus {
  outline: none;
  border-color: #1A5319;
  box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

.password-change-input.error {
  border-color: #e53e3e;
}

.password-change-input.error:focus {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.password-change-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #718096;
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  transition: color 0.2s ease;
  z-index: 10;
}

.password-change-toggle:hover {
  color: #1A5319;
}

.password-change-help-text {
  font-size: 12px;
  color: #718096;
  margin-top: 6px;
  font-style: italic;
}

.password-change-error {
  color: #e53e3e;
  font-size: 13px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.password-change-error i {
  font-size: 14px;
}

.password-change-alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 4px solid;
}

.password-change-alert-danger {
  background: #fff5f5;
  border-color: #e53e3e;
  color: #c53030;
}

.password-change-alert-danger ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.password-change-alert-danger li {
  margin-bottom: 4px;
}

.password-change-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e2e8f0;
}

.password-change-btn {
  padding: 14px 35px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(26, 83, 25, 0.2);
}

.password-change-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
  color: #fff;
}

.password-change-btn:active {
  transform: translateY(0);
}

.password-change-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.password-change-requirements {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px 20px;
  margin-top: 10px;
}

.password-change-requirements-title {
  font-size: 13px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.password-change-requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.password-change-requirements-list li {
  font-size: 13px;
  color: #718096;
  margin-bottom: 8px;
  padding-left: 28px;
  position: relative;
  transition: all 0.3s ease;
}

.password-change-requirements-list li:before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #e53e3e;
  font-weight: bold;
  font-size: 16px;
  width: 20px;
  display: inline-block;
  text-align: center;
}

.password-change-requirements-list li.valid {
  color: #1A5319;
}

.password-change-requirements-list li.valid:before {
  content: "✓";
  color: #1A5319;
}

/* Responsive */
@media (max-width: 768px) {
  .password-change-card {
      padding: 25px 20px;
  }
  
  .password-change-title {
      font-size: 20px;
  }
  
  .password-change-actions {
      flex-direction: column;
  }
  
  .password-change-btn {
      width: 100%;
      justify-content: center;
  }
}


/* ========================================
   SP HEADER - COMPLETE FRESH BUILD
   UNIQUE CLASS NAMES TO AVOID CONFLICTS
   ======================================== */
/* Note: Global reset moved to top of file to avoid conflicts */

/* ========================================
 MAIN HEADER WRAPPER
 ======================================== */
.sp-main-wrapper {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  overflow: visible; /* Allow dropdowns to show */
  border-bottom: 1px solid #e9ecef;
  contain: layout; /* Prevent layout shifts */
}


/* ========================================
 HEADER BAR
 ======================================== */
.sp-header-bar {
  padding: 8px 0;
  background: #ffffff;
  width: 100%;
}

.sp-container {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.sp-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Logo Section */
.sp-logo-section {
  flex: 0 0 auto;
}

.sp-logo-img {
  height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sp-logo-img:hover {
  transform: scale(1.05);
}

/* ========================================
 NAVIGATION SECTION
 ======================================== */
.sp-nav-section {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.sp-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px;
  align-items: center;
}

.sp-nav-list li {
  position: relative;
}

.sp-nav-list li a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.3px;
  white-space: nowrap;
  display: inline-block;
}

.sp-nav-list li a:hover {
  color: #1A5319;
  text-decoration: none;
}

.sp-nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #1A5319, #399918);
  transition: width 0.3s ease;
}

.sp-nav-list li a:hover::after {
  width: 80%;
}

/* ========================================
 MEGA DROPDOWN MENU - MODERN APPROACH
 ======================================== */
.sp-dropdown-item {
  position: relative;
}

.sp-mega-dropdown {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 20px;
  width: 90vw;
  max-width: 800px;
  z-index: 1001;
  border: 1px solid #e0e0e0;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  max-height: 70vh;
  overflow: hidden;
}

.sp-mega-dropdown.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.sp-dropdown-item.active-dropdown > a {
  color: #1A5319;
}

.sp-mega-wrap {
  background: white;
  border-radius: 8px;
  width: 100%;
  overflow: hidden;
}

.sp-mega-wrap .row {
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.sp-category-box {
  margin-bottom: 12px;
  min-height: 100px;
  padding: 3px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.sp-cat-link {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #2c3e50;
  height: 100%;
  font-size: 12px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  word-wrap: break-word;
}

.sp-cat-link:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-decoration: none;
  color: #1A5319;
}

.sp-cat-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.sp-cat-link:hover .sp-cat-img {
  transform: scale(1.1);
}

/* ========================================
 ICONS SECTION
 ======================================== */
.sp-icons-section {
  flex: 0 0 auto;
}

.sp-icons-group {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.sp-icon-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
 ICON BUTTONS
 ======================================== */

/* Search Button */
.sp-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: rgba(26, 83, 25, 0.1);
  color: #1A5319;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sp-search-btn:hover {
  background: #1A5319;
  color: white;
  text-decoration: none;
  transform: scale(1.1);
}

/* Action Buttons (Cart, Wishlist, Notification, Profile) */
.sp-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  color: #2c3e50;
  font-size: 18px;
  width: 32px;
  height: 32px;
}

.sp-action-btn:hover {
  background: rgba(26, 83, 25, 0.1);
  transform: scale(1.05);
  color: #1A5319;
}

.sp-action-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Ensure user icon images have same size as other icons */
.sp-action-btn img[src*="user-icon.png"] {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sp-action-btn:hover img {
  transform: scale(1.1);
}

/* FontAwesome Icon Styling */
.sp-action-btn.fa {
  font-size: 18px;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.sp-action-btn.fa:hover {
  color: #1A5319;
}

/* Badge Counter */
.sp-badge {
  position: absolute;
  top: -4px;
  right: 0;
  background: linear-gradient(135deg, #1A5319, #399918);
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(26, 83, 25, 0.3);
  animation: sp-pulse 2s infinite;
}

@keyframes sp-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ========================================
 USER DROPDOWN MENUS
 ======================================== */

/* Profile Wrapper */
.sp-profile-wrapper {
  position: relative;
}

/* Auth User Dropdown */
.sp-auth-dropdown {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 1002;
  width: 250px;
  max-width: calc(100vw - 40px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e9ecef;
  overflow: hidden;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  list-style: none;
  padding: 0;
  margin: 0;
  animation: sp-dropdown-slide 0.3s ease;
}

/* Dropdown Animation */
@keyframes sp-dropdown-slide {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.sp-user-banner {
  width: 100%;
  background: linear-gradient(135deg, #1A5319, #399918);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.sp-user-avatar {
  background: white;
  height: 28px;
  width: 28px;
  padding: 3px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.sp-user-name {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.sp-dropdown-link {
  padding: 10px 20px;
  border-bottom: 1px solid #f1f3f4;
  list-style: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 13px;
}

.sp-dropdown-link:hover {
  background: linear-gradient(90deg, #f8f9fa, #e9ecef);
  color: #1A5319;
  font-weight: 600;
  transform: translateX(5px);
}

.sp-dropdown-link:last-child {
  border-bottom: none;
}

/* Guest User Dropdown */
.sp-guest-dropdown {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 1002;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e9ecef;
  padding: 18px;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  animation: sp-dropdown-slide 0.3s ease;
}

.sp-dropdown-title {
  font-size: 24px;
  color: #1A5319;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 8px;
}

.sp-dropdown-subtitle {
  font-size: 12px;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 20px !important;
}

.sp-btn-primary {
  padding: 10px 18px;
  background: linear-gradient(135deg, #1A5319, #399918);
  border-radius: 25px;
  margin: 8px 0;
  text-align: center;
  color: white;
  text-decoration: none;
  display: block;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 83, 25, 0.3);
  font-size: 13px;
}

.sp-btn-primary:hover {
  background: linear-gradient(135deg, #399918, #1A5319);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 83, 25, 0.4);
}

/* ========================================
 MOBILE & TABLET RESPONSIVE
 ======================================== */

/* Mobile Navigation */
.sp-mobile-nav {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid #dee2e6;
  display: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.sp-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 15px 0;
}

.sp-mobile-menu li {
  margin: 5px 0;
}

.sp-mobile-menu li a {
  color: #2c3e50;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
}

.sp-mobile-menu li a:hover {
  background: linear-gradient(90deg, #1A5319, #399918);
  color: white;
  text-decoration: none;
  transform: translateX(5px);
}

.sp-mobile-menu.display {
  display: block;
}

.sp-mobile-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-menu-btn {
  color: #1A5319;
  font-size: 20px;
  text-decoration: none;
  padding: 8px 12px;
  background: rgba(26, 83, 25, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: bold;
}

.sp-menu-btn:hover {
  background: #1A5319;
  color: white;
  text-decoration: none;
}

/* Tablet - iPad Portrait (max-width: 1024px) */
@media (max-width: 1024px) {
  .sp-container {
      padding: 0 15px;
  }
  
  .sp-logo-img {
      height: 38px;
  }
  
  .sp-nav-list {
      gap: 10px;
  }
  
  .sp-nav-list li a {
      font-size: 12px;
      padding: 6px 10px;
  }
  
  .sp-mega-dropdown {
      width: 95vw;
      max-width: 700px;
      padding: 15px;
      max-height: 60vh;
      overflow: hidden;
  }
  
  .sp-cat-img {
      width: 45px;
      height: 45px;
  }
}

/* Tablet & Mobile - Portrait (max-width: 768px) */
@media (max-width: 768px) {
  /* Header Bar Adjustments */
  .sp-header-bar {
      padding: 6px 0;
  }
  
  .sp-container {
      padding: 0 10px;
  }
  
  .sp-header-flex {
      gap: 12px;
  }
  
  /* Logo Size */
  .sp-logo-img {
      height: 35px;
      max-width: 130px;
  }
  
  /* Navigation - Hide on Mobile */
  .sp-nav-section {
      display: none !important;
  }
  
  /* Header Icons */
  .sp-icons-group {
      gap: 6px;
  }
  
  /* Icon Buttons */
  .sp-search-btn {
      width: 30px;
      height: 30px;
      font-size: 13px;
  }
  
  .sp-action-btn {
      padding: 4px;
      width: 28px;
      height: 28px;
  }
  
  .sp-action-btn img {
      width: 20px;
      height: 20px;
  }
  
  .sp-action-btn.fa {
      font-size: 16px;
  }
  
  /* Count Badge */
  .sp-badge {
      font-size: 9px;
      padding: 2px 5px;
      min-width: 15px;
  }
  
  /* Dropdowns */
  .sp-auth-dropdown {
      width: 220px;
      max-width: calc(100vw - 20px);
      top: 38px;
  }
  
  .sp-guest-dropdown {
      width: 260px;
      max-width: calc(100vw - 20px);
      padding: 15px;
      top: 38px;
  }
  
  .sp-user-banner {
      padding: 12px 15px;
  }
  
  .sp-user-avatar {
      height: 25px;
      width: 25px;
  }
  
  .sp-user-name {
      font-size: 12px;
  }
  
  .sp-dropdown-link {
      padding: 8px 15px;
      font-size: 12px;
  }
  
  .sp-dropdown-title {
      font-size: 20px;
  }
  
  .sp-dropdown-subtitle {
      font-size: 11px;
  }
  
  .sp-btn-primary {
      padding: 8px 15px;
      font-size: 12px;
  }
  
  /* Mega Dropdown */
  .sp-mega-dropdown {
      width: 98vw;
      max-width: 600px;
      padding: 12px;
      max-height: 50vh;
      top: 50px;
      overflow: hidden;
  }
  
  .sp-category-box {
      min-height: 90px;
  }
  
  .sp-cat-img {
      width: 40px;
      height: 40px;
  }
  
  .sp-cat-link {
      padding: 10px 6px;
      font-size: 11px;
  }
}

/* Mobile - Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .sp-header-bar {
      padding: 5px 0;
  }
  
  .sp-container {
      padding: 0 8px;
  }
  
  .sp-header-flex {
      gap: 8px;
  }
  
  .sp-logo-img {
      height: 32px;
      max-width: 110px;
  }
  
  .sp-icons-group {
      gap: 5px;
  }
  
  .sp-search-btn {
      width: 28px;
      height: 28px;
      font-size: 12px;
  }
  
  .sp-action-btn {
      padding: 3px;
      width: 26px;
      height: 26px;
  }
  
  .sp-action-btn img {
      width: 18px;
      height: 18px;
  }
  
  .sp-action-btn.fa {
      font-size: 14px;
  }
  
  .sp-badge {
      font-size: 8px;
      padding: 2px 4px;
      min-width: 14px;
  }
  
  .sp-auth-dropdown {
      width: 200px;
  }
  
  .sp-guest-dropdown {
      width: 240px;
      padding: 12px;
  }
  
  .sp-dropdown-title {
      font-size: 18px;
  }
  
  .sp-dropdown-subtitle {
      font-size: 10px;
  }
  
  .sp-btn-primary {
      padding: 8px 12px;
      font-size: 11px;
  }
  
  .sp-mobile-menu li a {
      font-size: 13px;
      padding: 8px 12px;
  }
}

/* Notification Dropdown */
.dropdown-menu-media {
  min-width: 300px;
  max-height: 400px;
  overflow-y: auto;
  /* Hide scrollbar for Chrome, Safari and Opera */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  /* Prevent page overflow */
  position: absolute;
  right: 0;
  top: 100%;
  transform: translateX(0);
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 100px);
}

.dropdown-menu-media::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* Ensure dropdown doesn't affect header layout */
.sp-icon-box {
  position: relative;
  overflow: visible;
}

.sp-notification-btn {
  position: relative;
  z-index: 1001;
}

.dropdown-menu {
  position: absolute;
  z-index: 1002;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  right: 0;
  top: 100%;
  transform: translateX(0);
  max-width: 90vw;
  max-height: 80vh;
}

/* Prevent dropdown from causing page overflow */
.dropdown-menu-right {
  right: 0 !important;
  left: auto !important;
  transform: translateX(0) !important;
}

.notification-text {
  font-size: 12px;
  color: #6c757d;
}

.media-meta {
  font-size: 10px;
  color: #999;
}

/* Search Modal Styles - Fixed Size */
#searchModal .modal-dialog {
  max-width: 1000px;
  width: 1000px;
  min-width: 800px;
  height: 600px; /* Fixed height */
  margin: auto !important; /* Ensure centering */
  display: flex;
  align-items: center;
  justify-content: center;
}

#searchModal .modal-dialog-centered {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: calc(100% - 1rem) !important;
}

#searchModal .modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%; /* Fixed height */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: auto;
}

#searchModal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 30px;
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: white;
  border-radius: 15px 15px 0 0;
  flex-shrink: 0; /* Prevent header from shrinking */
}

#searchModal .modal-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: white;
}

#searchModal .close {
  color: white;
  opacity: 0.9;
  font-size: 28px;
  font-weight: 300;
  text-shadow: none;
}

#searchModal .close:hover {
  opacity: 1;
  color: white;
}

#searchModal .modal-body {
  padding: 30px;
  flex: 1; /* Take remaining space */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0; /* No gap between elements */
}

.search-container {
  position: relative;
  height: 100%; /* Take full height of modal body */
  display: flex;
  flex-direction: column;
  gap: 0; /* No gap between elements */
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 25px;
  flex-shrink: 0; /* Prevent input from shrinking */
  z-index: 10; /* Ensure input stays above results */
}

.search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f9fa;
  position: relative;
  z-index: 10; /* Ensure input stays above results */
}

.search-input:focus {
  outline: none;
  border-color: #1A5319;
  background: white;
  box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 18px;
}

.search-results {
  flex: 1; /* Take remaining space */
  overflow-y: auto;
  width: 100%;
  height: 400px; /* Fixed height for results area */
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Start from top instead of center */
  align-items: stretch; /* Stretch items instead of center */
  margin-top: 0; /* Ensure no negative margin */
  position: relative;
  z-index: 1; /* Lower z-index than input */
}

.search-section {
  margin-bottom: 25px;
  margin-top: 0; /* Ensure no negative margin */
  position: relative;
  z-index: 1;
}

/* Search States - Fixed Size */
.search-welcome {
  text-align: center;
  padding: 40px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.search-hint {
  text-align: center;
  padding: 40px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.search-loading {
  text-align: center;
  padding: 40px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.no-results.error-state {
  color: #dc3545;
}

.search-section-title {
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 10px;
  padding-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  width: 100%;
  min-height: 100px;
}

.search-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.search-item-link {
  display: flex;
  align-items: center;
  padding: 15px;
  text-decoration: none;
  color: inherit;
}

.search-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
}

.search-item-content {
  flex: 1;
}

.search-item-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
  line-height: 1.3;
}

.search-item-price {
  font-size: 14px;
  color: #1A5319;
  font-weight: 600;
  margin: 0;
}

.search-item-variant {
  font-size: 12px;
  color: #6c757d;
  margin: 3px 0;
}

.search-item-type {
  font-size: 12px;
  color: #6c757d;
  font-style: italic;
  margin: 3px 0;
}

.search-item-badges {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.search-item-badges .badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 500;
  display: inline-block;
}

.badge-featured {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.badge-bestseller {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.badge-material {
  background: #e9ecef;
  color: #495057;
}

.result-count {
  font-size: 12px;
  color: #adb5bd;
  font-weight: 400;
  margin-left: 5px;
}

.search-loading,
.search-hint {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
  width: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.search-loading i {
  font-size: 24px;
  margin-right: 10px;
  color: #1A5319;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
  width: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.no-results p {
  font-size: 16px;
  margin: 5px 0;
}

.no-results .text-muted {
  font-size: 14px;
  color: #adb5bd;
}

.error-state {
  color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
  #searchModal .modal-dialog {
      margin: 10px auto !important;
      max-width: calc(100% - 20px);
      width: calc(100% - 20px);
      min-width: calc(100% - 20px);
      height: auto;
      min-height: 500px;
      max-height: 90vh;
  }

  #searchModal .modal-content {
      max-height: 90vh;
      height: auto;
  }

  #searchModal .modal-body {
      padding: 20px;
      max-height: calc(90vh - 80px);
      overflow-y: visible;
  }
  
  .search-results {
      max-height: 50vh;
      min-height: 150px;
  }

  .search-items {
      grid-template-columns: 1fr;
      min-height: 80px;
  }

  .search-input {
      padding: 12px 45px 12px 15px;
      font-size: 14px;
  }
}

/* ============================================
   MODERN LOGIN MODAL - CLEAN DESIGN
   ============================================ */
:root {
  --modal-bg: #ffffff;
  --modal-muted: #6b7280;
  --modal-accent: #2e8b2d;
  --modal-danger: #ef4444;
  --modal-radius: 12px;
  --modal-shadow: 0 10px 30px rgba(2,6,23,0.12);
  --modal-max-width: 520px;
}

/* backdrop */
.modalx-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.45);
  z-index: 1200;
}

.modalx-backdrop.open {
  display: flex !important;
}

/* dialog - single column */
.modalx-dialog {
  width: 100%;
  max-width: var(--modal-max-width);
  background: var(--modal-bg);
  border-radius: var(--modal-radius);
  box-shadow: var(--modal-shadow);
  overflow: hidden;
  position: relative;
  padding: 26px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modalx-close {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--modal-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}

.modalx-close:hover {
  background: rgba(0, 0, 0, 0.04);
}

.modalx-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

.modalx-head .title {
  font-size: 20px;
  margin: 0;
  color: #0b1220;
  font-weight: 600;
}

.modalx-head .subtitle {
  font-size: 13px;
  margin: 0;
  color: var(--modal-muted);
}

.modalx-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.modalx-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modalx-form .field label {
  font-size: 13px;
  color: var(--modal-muted);
  font-weight: 500;
}

.modalx-form .field input {
  height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e6e9ee;
  font-size: 15px;
  outline: none;
  width: 100%;
}

.modalx-form .field input:focus {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.28);
}

.modalx-form .password-row {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
}

.modalx-form .password-row input {
  flex: 1;
  width: 100%;
  padding-right: 52px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #e6e9ee;
  font-size: 15px;
  outline: none;
}

.modalx-form .toggle-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  border-radius: 6px;
}

.modalx-form .toggle-eye:hover {
  background: rgba(0, 0, 0, 0.04);
}

.modalx-form .submitx {
  height: 46px;
  border-radius: 10px;
  background: var(--modal-accent);
  color: #fff;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.modalx-form .submitx:hover {
  background: #267024;
}

.modalx-form .submitx:active {
  transform: translateY(1px);
}

.modalx-form .submitx:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.modalx-form .submitx .btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modalx-form .submitx .btn-loader i {
  font-size: 14px;
}

.modalx-form .form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--modal-muted);
}

.modalx-form .form-row a {
  color: var(--modal-accent);
  text-decoration: none;
}

.modalx-form .form-row a:hover {
  text-decoration: underline;
}

.modalx-form .signup {
  margin-top: 6px;
  font-size: 14px;
  text-align: center;
}

.modalx-form .signup a {
  color: var(--modal-accent);
  text-decoration: none;
  font-weight: 600;
}

.modalx-form .signup a:hover {
  text-decoration: underline;
}

.modalx-form .errbox {
  min-height: 18px;
  color: var(--modal-danger);
  font-size: 13px;
  background: rgba(239, 68, 68, 0.1);
  padding: 10px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--modal-danger);
}

/* small helper for subtle divider */
.modalx-form .divider {
  height: 1px;
  background: #f1f5f9;
  border-radius: 2px;
  margin: 8px 0;
}

@media (max-width: 520px) {
  .modalx-dialog {
    padding: 18px;
  }
}

/* Bootstrap Modal Compatibility */
#ModalSignIn.modal {
  display: none;
}

#ModalSignIn.modal.show,
#ModalSignIn.modal.fade.show {
  display: flex !important;
}

/* Forgot Password Modal */
.forgotpassword .verifymobile-text {
  font-size: 20px;
  font-weight: 600;
  color: #1A5319;
  text-align: center;
  margin-bottom: 15px;
}

.forgotpassword .other-verifymobile {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 25px;
}

/* Responsive Login Modal */
@media (max-width: 768px) {
  .login-modal .modal-dialog {
    min-width: 90%;
    max-width: 90%;
    margin: 50px auto;
    height: auto;
    min-height: auto;
  }
  
  .login-modal .modal-body .login-row {
    height: auto;
    flex-direction: column;
  }
  
  .login-modal .login-img-container {
    display: none;
  }
  
  .login-modal .baseLogin {
    padding: 2rem 1.5rem;
  }
  
  .modal-otp .otp-grid {
    gap: 5px;
  }
  
  .modal-otp .otp_field {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Modern Logout Modal Styles */
.logout-modal-custom {
  z-index: 9999;
}

.logout-modal-custom .modal-dialog {
  max-width: 450px;
  margin: 100px auto;
}

.logout-modal-custom .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.logout-modal-custom .modal-header {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: white;
  padding: 25px 30px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logout-modal-custom .modal-header .close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  opacity: 0.9;
  font-size: 24px;
  font-weight: 300;
  text-shadow: none;
  padding: 0;
  margin: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.logout-modal-custom .modal-header .close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) rotate(90deg);
}

.logout-modal-custom .modal-header .logout-icon {
  font-size: 48px;
  margin-bottom: 10px;
  display: block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
}

.logout-modal-custom .modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  width: 100%;
  color: white;
}

.logout-modal-custom .modal-body {
  padding: 40px 30px;
  text-align: center;
  background: #fff;
}

.logout-modal-custom .logout-message {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 30px;
}

.logout-modal-custom .logout-message strong {
  color: #1A5319;
  font-weight: 600;
}

.logout-modal-custom .logout-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.logout-modal-custom .logout-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  justify-content: center;
}

.logout-modal-custom .logout-btn-primary {
  background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
}

.logout-modal-custom .logout-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 83, 25, 0.4);
  color: #fff;
}

.logout-modal-custom .logout-btn-secondary {
  background: #fff;
  color:rgb(243, 243, 243);
  border: 2px solid #e2e8f0;
}

.logout-modal-custom .logout-btn-secondary:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
  color: #2d3748;
}

.logout-modal-custom .logout-btn i {
  font-size: 16px;
}

.logout-modal-custom .modal-footer {
  border: none;
  padding: 0;
  background: #fff;
}

/* Responsive */
@media (max-width: 576px) {
  .logout-modal-custom .modal-dialog {
      margin: 50px 15px;
      max-width: calc(100% - 30px);
  }
  
  .logout-modal-custom .modal-body {
      padding: 30px 20px;
  }
  
  .logout-modal-custom .logout-actions {
      flex-direction: column;
  }
  
  .logout-modal-custom .logout-btn {
      width: 100%;
  }
}

.cat-active{
	color:#a9353b!important;
}

.price-container {
        display: flex;
        align-items: center;
        gap: 10px; /* Space between price and strike-through price */
    }

    .price {
        font-size: 16px;
        font-weight: bold;
        color: #000;
    }

    .price-strike {
        font-size: 14px;
        color: #888;
        text-decoration: line-through;
    }
    

/* ===================================
   NEW MODERN FILTER STYLES
   =================================== */

/* Filter Container */
.new-filter {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e8ecef;
}

/* Filter Header */
/* Old filter header style - overridden by new clean design */
.new-filter-header {
    background: transparent !important;
    padding: 15px 0 !important;
    color: inherit !important;
}

.filter-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1A5319 !important;
    display: flex;
    align-items: center;
}

.filter-title i {
    color: #1A5319 !important;
}

.active-count {
    display: block;
    font-size: 12px;
    color: #666 !important;
    margin-top: 4px;
    font-weight: 500;
}

.btn-reset-all {
    background: #dc3545 !important;
    border: none !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-all:hover {
    background: #c82333 !important;
    transform: scale(1.05);
}

.btn-reset-all i {
    color: white !important;
}

/* Removed - Active Filters Pills from sidebar (no longer used) */

/* Filter Body */
.new-filter-body {
    padding: 20px;
    max-height: none !important;
    overflow-y: visible !important;
    overflow: visible !important;
    height: auto !important;
}

.new-filter-body::-webkit-scrollbar {
    width: 6px;
}

.new-filter-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.new-filter-body::-webkit-scrollbar-thumb {
    background: #1A5319;
    border-radius: 10px;
}

.new-filter-body::-webkit-scrollbar-thumb:hover {
    background: #2d5a2d;
}

/* Modern Filter Section */
.modern-filter-section {
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid #e8ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-filter-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.modern-filter-toggle {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #2c3e50;
}

.modern-filter-toggle:hover {
    background: #e9ecef;
}

.modern-filter-toggle .filter-label {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.modern-filter-toggle .filter-label i {
    color: #1A5319;
}

.filter-badge {
    background: #1A5319;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    margin-right: 8px;
}

.toggle-icon {
    color: #6c757d;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.modern-filter-toggle[aria-expanded="false"] .toggle-icon {
    transform: rotate(-90deg);
}

/* Filter Content */
.modern-filter-content {
    background: white;
    padding: 16px;
    border-top: 1px solid #e8ecef;
}

.modern-filter-content:not(.show) {
    display: none;
}

/* Modern Checkbox */
.modern-checkbox {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.modern-checkbox:hover {
    padding-left: 8px;
}

.modern-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    background: white;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modern-checkbox input:checked ~ .checkbox-custom {
    background: #1A5319;
    border-color: #1A5319;
}

.modern-checkbox input:checked ~ .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.modern-checkbox:hover .checkbox-custom {
    border-color: #1A5319;
    box-shadow: 0 0 0 2px rgba(26, 83, 25, 0.1);
}

.checkbox-label {
    font-size: 14px;
    color: #495057;
    display: flex;
    align-items: center;
    flex: 1;
}

.modern-checkbox input:checked ~ .checkbox-label {
    color: #1A5319;
    font-weight: 600;
}

/* Material & Feature Icons */
.material-icon,
.feature-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* Category Styles */
.category-group {
    margin-bottom: 8px;
}

.parent-category {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.parent-category:hover {
    background: #e9ecef;
    color: #1A5319;
}

.parent-category i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.parent-category[aria-expanded="true"] i:last-child {
    transform: rotate(180deg);
}

.child-categories {
    padding-left: 20px;
    margin-top: 4px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #495057;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.category-item:hover {
    background: #f8f9fa;
    color: #1A5319;
    padding-left: 16px;
}

.category-item.active {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    color: #1A5319;
    font-weight: 600;
    border-left: 3px solid #1A5319;
}

/* Price Slider */
.price-slider-container {
    padding: 10px 0;
}

.modern-price-slider {
    margin: 20px 8px;
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.price-min,
.price-max {
    font-size: 16px;
    font-weight: 700;
    color: #1A5319;
}

.price-separator {
    color: #6c757d;
    font-weight: 600;
}

.price-info {
    margin-top: 8px;
    font-size: 11px;
    color: #6c757d;
    text-align: center;
}

.price-info i {
    color: #1A5319;
}

/* Apply Filters Button (Mobile) */
.filter-apply-btn {
    padding: 15px 20px;
    border-top: 1px solid #e8ecef;
    background: white;
}

.btn-apply-filters {
    background: linear-gradient(135deg, #1A5319 0%, #2d5a2d 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-apply-filters:hover {
    background: linear-gradient(135deg, #2d5a2d 0%, #1A5319 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 83, 25, 0.3);
}

/* Animation */
@keyframes filterSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-filter-section {
    animation: filterSlideIn 0.3s ease-out forwards;
}

.modern-filter-section:nth-child(1) { animation-delay: 0.05s; }
.modern-filter-section:nth-child(2) { animation-delay: 0.1s; }
.modern-filter-section:nth-child(3) { animation-delay: 0.15s; }
.modern-filter-section:nth-child(4) { animation-delay: 0.2s; }
.modern-filter-section:nth-child(5) { animation-delay: 0.25s; }

/* Product Listing Page - Clean Design Matching Orders/Invoice Pages */
.product-listing-page-container {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 30px 0;
    overflow: visible !important;
}

.product-listing-page-container .container {
    overflow: visible !important;
    max-width: 1600px !important;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 1400px) {
    .product-listing-page-container .container {
        max-width: 1400px;
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 1200px) {
    .product-listing-page-container .container {
        max-width: 1200px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .product-listing-page-container .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.product-listing-header {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-listing-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
}

.search-results-header {
    background: #fff;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #1A5319;
}

.product-listing-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
}

.product-listing-filters {
    width: 320px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.product-listing-filters .position-sticky {
    position: sticky;
    top: 20px;
    z-index: 1;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.product-listing-products {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 0;
    overflow: visible;
}

@media (max-width: 992px) {
    .product-listing-products {
        width: 100%;
    }
}

/* Filter Styles */
.new-filter {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.new-filter-header {
    padding: 15px 0 !important;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 15px;
    background: transparent !important;
}

.filter-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1A5319 !important;
    margin: 0 !important;
}

.filter-title i {
    color: #1A5319 !important;
}

.active-count {
    font-size: 12px !important;
    color: #666 !important;
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.btn-reset-all {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}

.modern-filter-section {
    margin-bottom: 15px;
}

.modern-filter-toggle {
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-filter-toggle:hover {
    background: #e9ecef;
}

.modern-filter-content {
    padding: 15px;
    background: #fff;
    overflow: visible !important;
}

.new-filter-body {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.modern-checkbox {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
}

.modern-checkbox input:checked + .checkbox-custom {
    background: #1A5319;
    border-color: #1A5319;
}

.modern-checkbox input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Product Grid */
.product-listing {
    width: 100% !important;
    position: relative;
    z-index: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    float: none !important;
    clear: both;
}

.modern-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
    position: relative;
    z-index: 0;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.modern-product-grid.list-view {
    grid-template-columns: 1fr;
}

.modern-product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.modern-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    border-color: #1A5319;
}

.product-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: #dc3545;
    color: white;
}

.badge-featured {
    background: #ffc107;
    color: #333;
}

.badge-bestseller {
    background: #6f42c1;
    color: white;
}

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.modern-product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.action-btn:hover {
    background: #1A5319;
    color: white;
}

.wishlist-btn.active {
    background: #dc3545;
    color: white;
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: #1A5319;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.feature-tag {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #666;
}

.product-pricing {
    margin-bottom: 10px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: #1A5319;
}

.price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.discount-badge {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.add-to-cart-section {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.btn-add-to-cart {
    width: 100%;
    background: #1A5319;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-add-to-cart:hover {
    background: #14532D;
}

/* Pagination Styles for Product Listing */
.product-listing {
    width: 100%;
}

.product-listing .pagination,
.product-listing ul.pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 30px 0 !important;
    margin: 30px 0 0 0 !important;
    list-style: none !important;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    clear: both;
}

.product-listing .pagination .page-item,
.product-listing ul.pagination .page-item {
    margin: 0;
    list-style: none;
}

.product-listing .pagination .page-link,
.product-listing ul.pagination .page-link {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #4a5568;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
    line-height: 1.5;
    gap: 6px;
}

.product-listing .pagination .page-item.prev .page-link,
.product-listing ul.pagination .page-item.prev .page-link,
.product-listing .pagination .page-item.previous .page-link,
.product-listing ul.pagination .page-item.previous .page-link {
    padding-left: 12px;
}

/* Hide sprite icons and show Font Awesome icons */
.product-listing .pagination .page-link i.img-sprite,
.product-listing ul.pagination .page-link i.img-sprite {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* Previous/First page icon - show arrow left */
.product-listing .pagination .page-item:first-child .page-link,
.product-listing ul.pagination .page-item:first-child .page-link {
    position: relative;
}

.product-listing .pagination .page-item:first-child .page-link::before,
.product-listing ul.pagination .page-item:first-child .page-link::before {
    content: '\f060';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    display: inline-block;
    line-height: 1;
}

/* Next/Last page icon - show arrow right */
.product-listing .pagination .page-item:last-child .page-link,
.product-listing ul.pagination .page-item:last-child .page-link {
    position: relative;
}

.product-listing .pagination .page-item:last-child .page-link::after,
.product-listing ul.pagination .page-item:last-child .page-link::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    display: inline-block;
    line-height: 1;
}

.product-listing .pagination .page-link:hover,
.product-listing ul.pagination .page-link:hover {
    border-color: #1A5319;
    color: #1A5319;
    background: #f7fafc;
    text-decoration: none;
}

.product-listing .pagination .page-item.active .page-link,
.product-listing ul.pagination .page-item.active .page-link {
    background: #1A5319;
    color: #fff;
    border-color: #1A5319;
}

.product-listing .pagination .page-item.disabled .page-link,
.product-listing ul.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .product-listing-content {
        flex-direction: column;
    }
    
    .product-listing-filters {
    width: 100%;
}

    .product-listing-products {
        width: 100% !important;
    }
    
    .modern-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-listing-filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 350px;
        height: 100vh;
        background: white;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .product-listing-filters.show {
        left: 0;
    }
}

/* Large Screen Optimization */
@media (min-width: 1200px) {
    .product-listing-page {
        padding: 0 20px !important;
    }
    
    .modern-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    #list-filter {
        padding-right: 20px !important;
    }
    
    .col-sm-9 {
        padding-left: 20px !important;
    }
}

/* Extra Large Screen Optimization */
@media (min-width: 1400px) {
    .modern-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Filter Section Optimization */
#list-filter {
    padding-left: 0 !important;
    padding-right: 15px !important;
}

#list-filter .filter {
    margin-right: 0;
    padding-right: 0;
}

/* Product Listing Section Optimization */
.col-sm-9 {
    padding-left: 15px !important;
    padding-right: 0 !important;
}

/* Modern Product Grid Styles */
.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
    margin-left: 0;
    margin-right: 0;
}

/* List View Styles */
.modern-product-grid.list-view {
    grid-template-columns: 1fr;
    gap: 15px;
}

.modern-product-grid.list-view .modern-product-card {
    display: flex;
    flex-direction: row;
    height: auto;
}

.modern-product-grid.list-view .product-image-container {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.modern-product-grid.list-view .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modern-product-grid.list-view .product-features {
    margin-bottom: 8px;
}

.modern-product-grid.list-view .product-pricing {
    margin-bottom: 8px;
}

.modern-product-grid.list-view .material-indicator {
    border-top: none;
    padding-top: 0;
}

.modern-product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #1A5319;
}

.product-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.badge-new {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.badge-featured {
    background: linear-gradient(135deg, #ffd93d 0%, #ffb800 100%);
    color: #333;
}

.badge-bestseller {
    background: linear-gradient(135deg, #6c5ce7 0%, #5f3dc4 100%);
    color: white;
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.modern-product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: #1A5319;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
}

.wishlist-btn.active {
    background: #ff6b6b;
    color: white;
}

.wishlist-btn.active:hover {
    background: #ff5252;
}

/* Add to Cart Section */
.add-to-cart-section {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #1A5319 0%, #2d5a2d 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(26, 83, 25, 0.2);
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #2d5a2d 0%, #1A5319 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 83, 25, 0.3);
}

.btn-add-to-cart:active {
    transform: translateY(0);
}

.btn-add-to-cart i {
    font-size: 16px;
}

.btn-add-to-cart span {
    font-size: 13px;
}


.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em; /* 2 lines * 1.4 line-height */
}

.product-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #1A5319;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
    min-height: 30px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.feature-tag.eco-friendly {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.feature-tag.microwave-safe {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
    border: 1px solid #ff9800;
}

.feature-tag.dishwasher-safe {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border: 1px solid #2196f3;
}

.feature-tag.capacity {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
    border: 1px solid #9c27b0;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    min-height: 30px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: #1A5319;
}

.price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.material-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    padding-bottom: 8px;
    border-top: 1px solid #f0f0f0;
}

.material-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Prevent the dot from shrinking */
}

.material-dot.material-plastic {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.material-dot.material-paper {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.material-dot.material-biodegradable {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.material-dot.material-compostable {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.material-text {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1; /* Ensure consistent line height */
    display: flex;
    align-items: center; /* Center the text vertically */
}

/* Active Filters Bar (Between Header and Products) */
.active-filters-bar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease-out;
    display: flex;
    min-height: auto;
    max-height: fit-content;
}

/* Hide if no pills inside */
.active-filters-bar:not(:has(.main-filter-pill)) {
    display: none !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filters-bar-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    min-height: 0;
}

.filters-label {
    display: flex;
    align-items: center;
    color: #2c3e50;
    font-size: 14px;
    white-space: nowrap;
}

.filters-label i {
    color: #1A5319;
}

.filters-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
    align-items: center;
}

.main-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1A5319 0%, #2d5a2d 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(26, 83, 25, 0.2);
    transition: all 0.3s ease;
    animation: pillFadeIn 0.3s ease-out;
}

@keyframes pillFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.main-filter-pill:hover {
    background: linear-gradient(135deg, #2d5a2d 0%, #1A5319 100%);
    box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
    transform: translateY(-2px);
}

.main-filter-pill .pill-label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-filter-pill .remove-main-pill {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.main-filter-pill .remove-main-pill:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.btn-clear-all-filters {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.btn-clear-all-filters:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Empty State Styling */
/* Cart Section Styles */
.cart-section {
    width: 100%;
    padding: 20px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.cart-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-box {
    width: 100%;
    padding: 0;
}

.shopping-bag {
    margin-bottom: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.productdetails {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.productdetails .image-box {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.productdetails .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.productdetails .description {
    flex: 1;
    min-width: 0;
}

.productdetails .description .name {
    font-size: 18px;
    font-weight: 600;
    color: #1A5319;
    margin-bottom: 10px;
}

.productdetails .description-box {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.productdetails .description-box label {
    font-weight: 600;
    color: #495057;
    margin-right: 5px;
}

.productdetails .quantity-text {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

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

.productdetails .product-remove {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.productdetails .product-remove:hover {
    color: #c82333;
    text-decoration: underline;
}

.productdetails .product-remove i {
    margin-right: 5px;
}

/* Summary Box Styles */
.summary-box {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    margin-top: 20px;
}

.summary-titel {
    font-size: 20px;
    font-weight: 700;
    color: #1A5319;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.mainSummary {
    margin-bottom: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mainSummary:last-child {
    border-bottom: none;
}

.mainSummary .total-text {
    font-size: 14px;
    color: #495057;
    margin: 0;
}

.mainSummary .total-price {
    font-size: 14px;
    font-weight: 600;
    color: #1A5319;
    margin: 0;
    text-align: right;
}

.mainSummaryTotal {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
}

.mainSummaryTotal .total-text {
    font-size: 18px;
    font-weight: 700;
    color: #1A5319;
}

.mainSummaryTotal .total-price {
    font-size: 18px;
    font-weight: 700;
    color: #1A5319;
}

.btn-placeorder {
    background: #1A5319;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-placeorder:hover {
    background: #14532D;
    color: #fff;
    text-decoration: none;
}

.btn-placeorder.fillbase {
    background: #6c757d;
}

.btn-placeorder.fillbase:hover {
    background: #5a6268;
}

/* Empty Cart Styles */
.cartempty {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

.cartempty .img-section {
    margin-bottom: 20px;
}

.cartempty .img-section i {
    font-size: 48px;
    color: #6c757d;
}

.cartempty .details {
    font-size: 16px;
    color: #495057;
}

.cartempty .details span {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 15px;
}

.cartempty .details a {
    color: #1A5319;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
    font-size: 16px;
}

.cartempty .details a:hover {
    text-decoration: underline;
}

/* Cart Page Container - New Design */
.cart-page-container {
    background: #ffffff;
    min-height: 100vh;
    padding: 30px 0;
}

.cart-alert {
    background: #ecf8ff;
    border-left: 4px solid #17a2b8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.cart-alert-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-alert-icon {
    font-size: 24px;
    color: #17a2b8;
}

.cart-alert-text {
    flex: 1;
}

.cart-alert-text h5 {
    color: #0c5460;
    font-weight: 600;
    margin: 0 0 5px 0;
    font-size: 16px;
}

.cart-alert-text p {
    color: #0c5460;
    font-size: 14px;
    margin: 0;
}

.cart-alert-btn {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.cart-alert-btn:hover {
    background: #138496;
}

.cart-content-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cart-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1A5319;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.cart-items-section {
    margin-bottom: 30px;
}

.cart-item-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.cart-item-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 600;
    color: #1A5319;
    margin: 0 0 10px 0;
}

.cart-item-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-meta {
    margin-bottom: 15px;
}

.cart-item-sku {
    font-size: 14px;
    color: #666;
}

.cart-item-sku strong {
    color: #495057;
}

.cart-item-quantity {
    margin-bottom: 15px;
}

.cart-item-quantity label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.cart-quantity-input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.cart-item-price {
    margin-bottom: 15px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.discount-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #1A5319;
    margin-bottom: 5px;
}

.total-price-text {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

.savings-text {
    color: #28a745;
    font-size: 12px;
    margin-top: 2px;
    font-weight: 600;
}

.cart-item-actions {
    margin-top: 15px;
}

.cart-remove-btn {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cart-remove-btn:hover {
    color: #c82333;
    text-decoration: underline;
}

.cart-remove-btn i {
    margin-right: 5px;
}

/* Cart Summary Card */
.cart-summary-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A5319;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.summary-items {
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.summary-item-name {
    font-size: 14px;
    color: #495057;
    flex: 1;
}

.summary-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #1A5319;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-label {
    font-size: 14px;
    color: #495057;
}

.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #1A5319;
}

.discount-row .summary-label,
.discount-row .summary-value {
    color: #28a745;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    margin-top: 15px;
    border-top: 2px solid #e9ecef;
}

.summary-total .summary-label {
    font-size: 18px;
    font-weight: 700;
    color: #1A5319;
}

.summary-total .summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #1A5319;
}

.summary-actions {
    margin-top: 20px;
}

.btn-cart-primary {
    display: block;
    width: 100%;
    background: #1A5319;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    margin-bottom: 10px;
    transition: background 0.3s ease;
}

.btn-cart-primary:hover {
    background: #14532D;
    color: #fff;
    text-decoration: none;
}

.btn-cart-primary i {
    margin-right: 8px;
}

.btn-cart-secondary {
    display: block;
    width: 100%;
    background: #6c757d;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-cart-secondary:hover {
    background: #5a6268;
    color: #fff;
    text-decoration: none;
}

.btn-cart-secondary i {
    margin-right: 8px;
}

/* Empty Cart State */
.cart-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    font-size: 80px;
    color: #6c757d;
    margin-bottom: 20px;
}

.empty-cart-title {
    font-size: 28px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 15px;
}

.empty-cart-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Responsive Cart Styles */
@media (max-width: 768px) {
  .cart-content-wrapper {
      padding: 20px 15px;
  }
  
  .cart-item-card {
      flex-direction: column;
      padding: 15px;
  }
  
  .cart-item-image {
      width: 100%;
      height: 200px;
  }
  
  .cart-summary-card {
      position: static;
      margin-top: 30px;
  }
  
  .summary-box {
      padding: 20px 15px;
  }
  
  .btn-placeorder {
      width: 100%;
      text-align: center;
      margin-bottom: 10px;
  }
  
  .cart-alert-content {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .cart-alert-btn {
      width: 100%;
  }
}

/* Filter Overlay for Mobile */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    transition: background 0.3s ease;
    display: none;
}

.filter-overlay.active {
    background: rgba(0, 0, 0, 0.5);
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .product-listing-page {
        padding: 0 10px !important;
    }
    
    .modern-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 0;
    }
    
    /* New Filter Mobile Styles */
    #list-filter {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 350px;
        height: 100vh;
        background: white;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    #list-filter.show {
        left: 0;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .modal-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
        z-index: 10000;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        cursor: pointer;
    }
    
    .new-filter {
        height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .new-filter-header {
        padding: 15px;
    }
    
    .filter-title {
        font-size: 18px;
    }
    
    .active-count {
        font-size: 11px;
    }
    
    .btn-reset-all {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .new-filter-body {
        padding: 15px;
        max-height: none !important;
        flex: 1;
        overflow-y: visible !important;
        overflow: visible !important;
        height: auto !important;
    }
    
    .modern-filter-section {
        margin-bottom: 6px;
    }
    
    .modern-filter-toggle {
        padding: 12px 14px;
    }
    
    .modern-filter-toggle .filter-label {
        font-size: 13px;
    }
    
    .modern-filter-content {
        padding: 12px 14px;
    }
    
    .modern-checkbox {
        padding: 8px 0;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
    
    .category-item,
    .parent-category {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .price-display {
        padding: 10px;
    }
    
    .price-min,
    .price-max {
        font-size: 14px;
    }
    
    .filter-apply-btn {
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #e8ecef;
        padding: 12px 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .btn-apply-filters {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* Product Cards Mobile */
    .modern-product-card {
        border-radius: 12px;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 14px;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.8em; /* 2 lines * 1.4 line-height */
    }
    
    .product-features {
        margin-bottom: 12px;
    }
    
    .feature-tag {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .price-current {
        font-size: 16px;
    }
    
    .col-sm-9 {
        padding-left: 10px !important;
    }
    
    /* Active Filters Bar Mobile */
    .active-filters-bar {
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    
    .filters-bar-content {
        gap: 10px;
    }
    
    .filters-label {
        font-size: 12px;
        width: 100%;
        margin-bottom: 4px;
    }
    
    .filters-pills-container {
        width: 100%;
        gap: 6px;
    }
    
    .main-filter-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .btn-clear-all-filters {
        padding: 6px 12px;
        font-size: 12px;
        width: 100%;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .modern-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image-container {
        height: 160px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: 2.6em; /* 2 lines * 1.3 line-height for smaller font */
    }
    
    .price-current {
        font-size: 15px;
    }
}

/* product detail css */
 /* Disable any zoom scripts or overlays */
 .zoomImg,
 .zoomContainer,
 .zoomWindow,
 .zoomLens {
     display: none !important;
     opacity: 0 !important;
     visibility: hidden !important;
     pointer-events: none !important;
 }

 .product-section .product-box .new-product-tag {
     display: none;
 }

 .btn-detail-wishlist{
     border-radius: 0;
     font-size: 14px;
     color: #14532d !important;
     font-weight: 400;
     padding: 12px;
     display: inline-flex;
     align-items: center;
     text-transform: uppercase;
     min-width: 172px;
     background-size: 1000px;
     background-repeat: no-repeat;
     background-position: 0%;
     transition: background 0.6s ease, color 0.3s linear;
     border: 2px solid #14532d;
     float: left;
 }


 .btn-download {
     background-color: #007bff; /* Adjust as needed */
     color: #fff;
     padding: 10px 20px;
     border: none;
     border-radius: 4px;
     text-decoration: none;
     display: inline-block;
     margin-left: 10px; /* Adjust as needed */
 }

 .btn-download:hover {
     background-color: #0056b3; /* Adjust as needed */
     color: #fff;
 }

 /* two-line description clamp */
/* Product Details Page Container */
.product-details-page-container {
    background: #ffffff;
    min-height: calc(100vh - 200px);
    padding: 30px 0;
}

.product-details-page-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.product-details-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-description {
    margin-bottom: 30px;
}

.product-name {
    font-size: 24px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Product Details Info Section */
.product-details {
    margin-bottom: 20px;
}

#product-sku {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 15px;
}

#product-sku span {
    color: #1A5319;
    font-weight: 600;
}

/* Price Section */
.product-details-container .mt-1 {
    margin-top: 15px;
    margin-bottom: 20px;
}

.product-details-container .mt-1 span[style*="font-size: 20px"] {
    font-size: 28px !important;
    font-weight: 700;
    color: #1a202c;
}

.price-strike {
    color: #718096;
    text-decoration: line-through;
    font-size: 16px;
}

.total-discount-div {
    color: #1A5319;
    font-weight: 600;
    font-size: 16px;
}

/* Quantity Area */
.quantity-area {
    margin-top: 25px;
    margin-bottom: 25px;
}

.quality-text {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.quantity-counter-wrapper {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    width: auto;
}

.quantity-counter-cart {
    width: 120px;
    padding: 10px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    -moz-appearance: textfield;
}

.quantity-counter-cart::-webkit-outer-spin-button,
.quantity-counter-cart::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-counter-cart:focus {
    outline: none;
    border-color: #1A5319;
    box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

/* Bootstrap Touchspin Buttons Positioning - Fixed */
.product-details-container .bootstrap-touchspin {
    position: relative;
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.product-details-container .bootstrap-touchspin input {
    padding-left: 40px !important;
    padding-right: 40px !important;
    text-align: center !important;
    width: 120px !important;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-down {
    position: absolute !important;
    left: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 30px !important;
    border: 2px solid #1A5319 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #1A5319 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: all !important;
    z-index: 10 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-down:hover {
    background: #1A5319 !important;
    color: white !important;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-down i {
    font-size: 12px !important;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-up {
    position: absolute !important;
    right: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 30px !important;
    border: 2px solid #1A5319 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #1A5319 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: all !important;
    z-index: 10 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-up:hover {
    background: #1A5319 !important;
    color: white !important;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-up i {
    font-size: 12px !important;
}

/* Override any conflicting styles */
.product-details-container .bootstrap-touchspin .input-group-btn,
.product-details-container .bootstrap-touchspin .input-group-append,
.product-details-container .bootstrap-touchspin .input-group-prepend {
    display: none !important;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-down.disabled-max-min,
.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-up.disabled-max-min {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
    border-color: #cbd5e0;
    color: #a0aec0;
}

.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-down.disabled-max-min:hover,
.product-details-container .bootstrap-touchspin .bootstrap-touchspin-injected .bootstrap-touchspin-up.disabled-max-min:hover {
    background: #f8f9fa;
    color: #a0aec0;
}

/* Action Buttons */
.btn-detail-cart {
    background: linear-gradient(135deg, #1A5319 0%, #2d7a2e 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-detail-cart:hover {
    background: linear-gradient(135deg, #2d7a2e 0%, #1A5319 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 83, 25, 0.3);
    color: white;
    text-decoration: none;
}

.btn-detail-wishlist,
.wishlist-box {
    background: #fff;
    color: #1A5319;
    padding: 12px 30px;
    border: 2px solid #1A5319;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-detail-wishlist a,
.wishlist-box a {
    color: #1A5319;
    text-decoration: none;
}

.btn-detail-wishlist:hover,
.wishlist-box:hover {
    background: #1A5319;
    color: white;
}

.btn-detail-wishlist:hover a,
.wishlist-box:hover a {
    color: white;
}

/* Description and Specifications */
.details-devider {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 30px 0;
}

.product-more-description-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
}

.product-more-description {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.8;
}

.product-more-description ul {
    list-style: none;
    padding: 0;
}

.product-more-description li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-more-description li::before {
    content: "•";
    color: #1A5319;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Specifications Table */
.Tablediatributed {
    margin-bottom: 20px;
}

.Tablediatributed table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.Tablediatributed table tr {
    border-bottom: 1px solid #e2e8f0;
}

.Tablediatributed table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #1a202c;
    background: #f8f9fa;
    width: 40%;
}

.Tablediatributed table td {
    padding: 12px 15px;
    color: #4a5568;
}

/* Similar Products Section */
.similar-products-section {
    margin-top: 50px;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .product-details-container {
        padding: 20px;
    }
    
    .product-name {
        font-size: 20px;
    }
    
    .btn-detail-cart,
    .btn-detail-wishlist,
    .wishlist-box {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }
    
    .Tablediatributed {
        margin-bottom: 30px;
    }
    
    .Tablediatributed table th,
    .Tablediatributed table td {
        padding: 10px;
        font-size: 13px;
    }
}

.two-line-desc {
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     white-space: normal;
     line-height: 1.4;
     max-height: calc(1.4em * 2);
     color: #555;
     font-size: 14px;
    margin-top: 8px;
    margin-bottom: 8px;
 }

 /* Modern Product Image Gallery Styling */
 .product-image-gallery {
     display: flex;
     gap: 15px;
     margin-bottom: 20px;
 }

 .thumbnail-sidebar {
     display: flex;
     flex-direction: column;
     gap: 10px;
     width: 80px;
     flex-shrink: 0;
     max-height: 450px;
     overflow-y: auto;
     overflow-x: hidden;
     scrollbar-width: thin;
     scrollbar-color: #009D0A #f0f0f0;
 }

 .thumbnail-sidebar::-webkit-scrollbar {
     width: 6px;
 }

 .thumbnail-sidebar::-webkit-scrollbar-track {
     background: #f0f0f0;
     border-radius: 10px;
 }

 .thumbnail-sidebar::-webkit-scrollbar-thumb {
     background: #1A5319;
     border-radius: 10px;
 }

 .thumbnail-sidebar::-webkit-scrollbar-thumb:hover {
     background: #2d7a2e;
 }

 .thumbnail-item {
     width: 80px;
     height: 80px;
     border: 2px solid #e0e0e0;
     border-radius: 8px;
     overflow: hidden;
     cursor: pointer;
     transition: all 0.3s ease;
     background: #f8f9fa;
 }

 .thumbnail-item:hover {
     border-color: #1A5319;
     transform: scale(1.05);
 }

 .thumbnail-item.active {
     border-color: #1A5319;
     border-width: 3px;
 }

 .thumbnail-item img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     padding: 5px;
 }

 .main-image-wrapper {
     flex: 1;
     position: relative;
     background: #f8f9fa;
     border: 1px solid #e0e0e0;
     border-radius: 12px;
     overflow: hidden;
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 450px;
 }

 #product-main-image {
     width: 100%;
     height: 100%;
     display: flex !important;
     align-items: center;
     justify-content: center;
     padding: 20px;
     position: relative;
 }

 #product-main-image img,
 #main-display-image {
     max-width: 100% !important;
     max-height: 450px !important;
     width: auto !important;
     height: auto !important;
     object-fit: contain !important;
     display: block !important;
     transition: transform 0.3s ease !important;
     cursor: zoom-in;
 }

 #product-main-image:hover img,
 #main-display-image:hover {
     transform: scale(1.15) !important;
 }

 /* Override any existing zoom styles */
 #product-main-image .show,
 #product-main-image a {
     display: contents !important;
 }

 .zoom-hint {
     position: absolute;
     bottom: 15px;
     right: 15px;
     background: rgba(0, 0, 0, 0.7);
     color: white;
     padding: 8px 12px;
     border-radius: 6px;
     font-size: 12px;
     display: flex;
     align-items: center;
     gap: 6px;
     opacity: 0;
     transition: opacity 0.3s ease;
     pointer-events: none;
 }

 .main-image-wrapper:hover .zoom-hint {
     opacity: 1;
 }

 .zoom-hint i {
     font-size: 14px;
 }

 .image-loader {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: 50px;
     height: 50px;
     border: 4px solid #f3f3f3;
     border-top: 4px solid #1A5319;
     border-radius: 50%;
     animation: spin 1s linear infinite;
     display: none;
     z-index: 10;
 }

 @keyframes spin {
     0% { transform: translate(-50%, -50%) rotate(0deg); }
     100% { transform: translate(-50%, -50%) rotate(360deg); }
 }

 .image-loading .image-loader {
     display: block;
 }

 .image-loading #main-display-image {
     opacity: 0.3;
 }

 @media (max-width: 768px) {
     .product-image-gallery {
         flex-direction: column-reverse;
     }

     .thumbnail-sidebar {
         flex-direction: row;
         width: 100%;
         overflow-x: auto;
         padding-bottom: 10px;
     }

     .thumbnail-item {
         flex-shrink: 0;
     }

     .main-image-wrapper {
         min-height: 350px;
     }

     #product-main-image img {
         max-height: 350px;
     }
 }

 /* Similar Products Carousel Styling */
 #Product-carousel {
     position: relative;
 }

 #Product-carousel .owl-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 100%;
     display: flex;
     justify-content: space-between;
     pointer-events: none;
 }

 #Product-carousel .owl-nav button {
     pointer-events: all;
     background: #14532D !important;
     color: white !important;
     border: none;
     border-radius: 50%;
     width: 40px;
     height: 40px;
     font-size: 18px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
 }

 #Product-carousel .owl-nav button:hover {
     background: #0f3d1f !important;
     transform: scale(1.1);
 }

 #Product-carousel .owl-nav .owl-prev {
     position: absolute;
     left: -20px;
 }

 #Product-carousel .owl-nav .owl-next {
     position: absolute;
     right: -20px;
 }

 #Product-carousel .item {
     padding: 0 10px;
 }

 #Product-carousel .product-box {
     border: 1px solid #ddd;
     border-radius: 8px;
     overflow: hidden;
     transition: all 0.3s ease;
     height: 100%;
 }

 #Product-carousel .product-box:hover {
     box-shadow: 0 4px 12px rgba(0,0,0,0.1);
     transform: translateY(-2px);
 }

 /* frequently product */
 /* Custom Slider Styles */
.custom-slider-container {
  position: relative;
  overflow: visible;
  width: 100%;
  padding: 0 50px; /* Add padding to accommodate navigation buttons */
}

.custom-slider-wrapper {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
}

.slider-item {
  flex: 0 0 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .slider-item {
      flex: 0 0 50%;
  }
  
  .custom-slider-container {
      padding: 0 45px; /* Adjust padding for tablet */
  }
  
  .slider-nav {
      width: 38px;
      height: 38px;
      font-size: 17px;
  }
  
  .productimg-box img {
      height: 250px;
  }
}

@media (max-width: 480px) {
  .slider-item {
      flex: 0 0 100%;
  }
  
  .custom-slider-container {
      padding: 0 40px; /* Reduce padding on mobile */
  }
  
  .slider-nav {
      width: 35px;
      height: 35px;
      font-size: 16px;
  }
  
  .slider-nav.prev {
      left: 5px;
  }
  
  .slider-nav.next {
      right: 5px;
  }
  
  .productimg-box img {
      height: 280px;
  }
  
  .product-details {
      padding: 10px 12px 12px 12px;
  }
  
  .similar-products-price .price {
      font-size: 16px;
  }
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #14532D;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background: #0f3d1f;
  transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}

.slider-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slider-nav:disabled:hover {
  transform: translateY(-50%);
  background: #14532D;
}

.product-box {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: auto;
  background: white;
  display: flex;
  flex-direction: column;
}

.product-box:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: #009D0A;
}

.productimg-box {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  flex-shrink: 0;
}

.productimg-box img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 10px;
}

.product-box:hover .productimg-box img {
  transform: scale(1.08);
}

.new-product-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #009D0A 0%, #00b80c 100%);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,157,10,0.3);
}

.product-details {
  padding: 12px 15px 15px 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-details .name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  text-decoration: none;
}

.product-details a {
  text-decoration: none;
  color: inherit;
}

.product-details a:hover .name {
  color: #009D0A;
}

.similar-products-price {
  margin-top: 8px;
}

.similar-products-price .price {
  font-size: 18px;
  font-weight: 700;
  color: #009D0A;
  margin-bottom: 3px;
  line-height: 1.2;
}

.similar-products-price .price-strike {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 3px;
  line-height: 1.2;
}

.similar-products-price .discount-black {
  font-size: 11px;
  font-weight: 600;
  color: #009D0A;
  line-height: 1.2;
  margin-bottom: 0;
}

.slider-dots {
  text-align: center;
  margin-top: 20px;
}

.slider-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dot.active {
  background-color: #14532D;
}

/* ============================================
   ULTRA MODERN FOOTER DESIGN
   ============================================ */
   .footer-new-wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-new-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1A5319 0%, #2d7a29 50%, #1A5319 100%);
}

.footer-new-main {
    padding-bottom: 50px;
}

.footer-new-logo-area {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid #e8e8e8;
    position: relative;
}

.footer-new-logo-area::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #1A5319 0%, #2d7a29 100%);
}

.footer-new-logo-area a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-new-logo-area a:hover {
    transform: translateY(-5px);
}

.footer-new-logo-area img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(26, 83, 25, 0.2));
}

.footer-new-tagline {
    margin-top: 15px;
    font-size: 16px;
    color: #666;
    font-style: italic;
}

.footer-new-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-new-section-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.footer-new-section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1A5319 0%, #2d7a29 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-new-section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 83, 25, 0.15);
    border-color: #1A5319;
}

.footer-new-section-card:hover::before {
    transform: scaleX(1);
}

.footer-new-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1A5319;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.footer-new-section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
    border-radius: 2px;
    display: inline-block;
}

.footer-new-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-new-links-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.footer-new-links-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #1A5319;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-new-links-list li:hover::before {
    transform: translateX(5px);
    color: #2d7a29;
}

.footer-new-links-list li a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

.footer-new-links-list li a:hover {
    color: #1A5319;
    transform: translateX(5px);
    font-weight: 600;
}

.footer-new-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-new-contact-item:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

.footer-new-contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(26, 83, 25, 0.2);
}

.footer-new-contact-info {
    flex: 1;
}

.footer-new-contact-info a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-new-contact-info a:hover {
    color: #1A5319;
}

.footer-new-contact-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.footer-new-bottom-bar {
    background: linear-gradient(135deg, #1A5319 0%, #2d7a29 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.footer-new-bottom-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { left: -50%; }
    100% { left: 0; }
}

.footer-new-copyright {
    text-align: center;
    color: white;
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.footer-new-copyright strong {
    font-weight: 700;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.footer-new-copyright .heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-new-content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-new-wrapper {
        padding: 60px 0 0;
    }
    
    .footer-new-content-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-new-logo-area {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .footer-new-logo-area img {
        max-width: 180px;
    }
    
    .footer-new-section-card {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    .footer-new-wrapper {
        padding: 40px 0 0;
    }
    
    .footer-new-logo-area img {
        max-width: 150px;
    }
    
    .footer-new-section-title {
        font-size: 18px;
    }
    
    .footer-new-copyright {
        font-size: 14px;
    }
}