/* --------------- Market home/Product Listing ------------ */
/* ==========================================
   0. DESIGN SYSTEM TOKENS (Variables)
   ========================================== */
   :root {
    --organic-cream: #fbfaf7;
    --deep-forest-green: #1f3d2b;
    --harvest-mustard: #eebb4d;
    --font-heading: 'Georgia', serif;
    
    /* Spacing Scale */
    --s-12: 12px;
    --s-16: 16px;
    --s-24: 24px;
    --s-32: 32px;
    
    /* Borders & Shadows */
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-soft: 0 4px 15px rgba(31, 61, 43, 0.05);
  }
  
  /* ==========================================
     1. GLOBAL RESET & BASE RULES
     ========================================== */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    width: 100%;
    overflow-x: hidden; /* Stops elements from causing horizontal scrolling */
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #f7f5f0;
  }
  
  /* Main Wrapper */
  .dash-container {
    width: 100%;
    max-width: 1440px; /* Restricts maximum width on large desktop screens */
    margin: 0 auto;
    padding: 0 var(--s-16);
  }
  
  /* Makes the entire product card layout safely clickable */
  .card-link-full {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  /* Section Dividers */
  .organic-hr, hr {
    border: 0;
    height: 1px;
    background: rgba(31, 61, 43, 0.1);
    margin: var(--s-24) 0;
  }
  
  .results-heading, .grid-label {
    font-family: var(--font-heading);
    color: var(--deep-forest-green);
    margin: var(--s-16) 0;
  }
  
  /* ==========================================
     2. HERO SECTION
     ========================================== */
  .hero-banner-premium {
    position: relative;
    height: 200px; /* Mobile first height */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-top: var(--s-16);
  }
  
  .hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Ensures light overlay text is legible */
  }
  
  .hero-overlay-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--organic-cream);
    padding: 0 var(--s-16);
  }
  
  .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem); /* Smooth scaling text */
    margin: 0 0 8px 0;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
  }
  
  /* ==========================================
     3. SEARCH & FILTER PILLS
     ========================================== */
  .search-area-premium {
    padding: var(--s-32) 0;
  }
  
  .search-form-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--s-24);
    align-items: center;
  }
  
  .search-input-forest {
    position: relative;
    width: 100%;
    max-width: 600px;
  }
  
  .search-input-forest input {
    width: 100%;
    padding: 14px 50px 14px 20px; /* Right padding keeps text clear of search icon */
    border: 2px solid rgba(31, 61, 43, 0.2);
    border-radius: 30px;
    background: var(--organic-cream);
    font-size: 1rem;
    color: var(--deep-forest-green);
    outline: none;
  }
  
  .search-trigger {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--deep-forest-green);
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  
  /* Scrollable Filter Pills */
  .filter-pill-group {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: flex-start; /* Mobile first layout alignment */
    overflow-x: auto; /* Adds touch swipe functionality if options overflow screen width */
    padding-bottom: 8px;
    padding-left: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hides horizontal scrollbar on Firefox */
  }
  
  .filter-pill-group::-webkit-scrollbar {
    display: none; /* Hides horizontal scrollbar on Chrome, Safari, and Edge */
  }
  
  .pill-item input {
    display: none;
  }
  
  .pill-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1.5px solid var(--deep-forest-green);
    border-radius: 20px;
    color: var(--deep-forest-green);
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap; /* Forces pill text to stay on a single horizontal line */
  }
  
  .pill-item input:checked + .pill-btn {
    background: var(--harvest-mustard);
    border-color: var(--harvest-mustard);
  }
  
  /* ==========================================
     4. NEW: STORES HORIZONTAL SCROLL ROW
     ========================================== */
  .stores-top-row {
    display: flex;
    gap: var(--s-16);
    overflow-x: auto;
    padding-bottom: var(--s-16);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 61, 43, 0.2) transparent;
  }
  
  /* Customize row scrollbars for premium look */
  .stores-top-row::-webkit-scrollbar {
    height: 6px;
  }
  
  .stores-top-row::-webkit-scrollbar-thumb {
    background: rgba(31, 61, 43, 0.15);
    border-radius: 10px;
  }
  
  /* Enforce structured mobile size layouts for row child elements */
  .stores-top-row .product-card-premium {
    flex: 0 0 180px; 
  }
  
  /* ==========================================
     5. THE PRODUCT GRID & CARDS
     ========================================== */
  .market-grid-premium {
    display: grid;
    /* Mobile default: Safe 2 columns on mobile down to 360px without squashing item values */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--s-12);
    padding: var(--s-12) 0;
    width: 100%;
  }
  
  .product-card-premium {
    background: var(--organic-cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(31, 61, 43, 0.05);
    height: 100%; /* Keeps all cards aligned evenly in their grid rows */
    overflow: hidden;
  }
  
  .product-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(31, 61, 43, 0.1);
  }
  
  .media-container {
    position: relative;
    width: 100%;
    height: 140px; /* Mobile first default */
    background-color: rgba(31, 61, 43, 0.02);
  }
  
  .media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .badge-wholesale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--harvest-mustard);
    color: var(--deep-forest-green);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 1;
  }
  
  .card-body-premium {
    padding: var(--s-12); /* Mobile first spacing */
    display: flex;
    flex-direction: column;
    gap: 4px; /* Mobile first gap */
    flex-grow: 1; /* Pushes content down so footer buttons line up perfect */
  }
  
  .item-title {
    color: var(--deep-forest-green);
    font-family: var(--font-heading);
    font-size: 1rem; /* Mobile first text sizing */
    margin: 0;
  }
  
  .card-body-premium p {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.4;
  }
  
  .meta-pricing-row {
    display: flex;
    flex-direction: column; /* Mobile first vertical stacked layout */
    align-items: flex-start;
    gap: 4px;
    margin-top: auto; /* Locks price row directly above card footer action zone */
    padding-top: 8px;
  }
  
  .item-price {
    color: var(--deep-forest-green);
    font-weight: 800;
    font-size: 1.1rem; /* Mobile first price sizing */
  }
  
  .item-size {
    font-size: 0.85rem;
    color: #666666;
    background: rgba(31, 61, 43, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
  }
  
  /* ==========================================
     6. BUTTONS & ACTIONS
     ========================================== */
  .card-footer-action {
    padding: 0 var(--s-16) var(--s-16);
  }
  
  .btn-action-forest {
    width: 100%;
    background: var(--deep-forest-green);
    color: var(--organic-cream);
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .btn-action-forest:hover {
    background: var(--harvest-mustard);
    color: var(--deep-forest-green);
  }
  
  /* ==========================================
     7. NEW: PAGINATION NAVIGATION
     ========================================== */
  .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--s-16);
    margin: var(--s-32) 0;
    width: 100%;
  }
  
  .pagination-container .btn-action-forest {
    width: auto;
    padding: 10px var(--s-24);
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .current-page {
    font-family: var(--font-heading);
    color: var(--deep-forest-green);
    font-weight: 600;
    font-size: 0.95rem;
  }
  
  /* ==========================================
     8. RESPONSIVE MEDIA QUERIES (DESKTOP)
     ========================================== */
  
  /* Tablet & Mid-Size Desktop Views */
  @media (min-width: 769px) and (max-width: 1024px) {
    .market-grid-premium {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: var(--s-16);
    }
  }
  
  /* Desktop View Layout Upgrades */
  @media (min-width: 769px) {
    .hero-banner-premium {
      height: 300px;
    }
  
    .filter-pill-group {
      justify-content: center;
      padding-left: 0;
    }
  
    .stores-top-row .product-card-premium {
      flex: 0 0 240px; /* Give stores more wide space room on desktops */
    }
  
    .market-grid-premium {
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: var(--s-32);
      padding: var(--s-16) 0 var(--s-32) 0;
    }
  
    .media-container {
      height: 200px;
    }
  
    .card-body-premium {
      padding: var(--s-16);
      gap: 8px;
    }
  
    .item-title {
      font-size: 1.2rem;
    }
  
    .meta-pricing-row {
      flex-direction: row; /* Spread horizontal layout items again */
      align-items: center;
    }
  
    .item-price {
      font-size: 1.25rem;
    }
  }
  
  /* Ultra Small Viewports (e.g. iPhone SE) */
  @media (max-width: 360px) {
    .market-grid-premium {
      grid-template-columns: 1fr; /* Drops down to a comfortable single column layout stack */
    }
    
    .stores-top-row .product-card-premium {
      flex: 0 0 150px; /* Shrinks row block size item footprint for narrow screens */
    }
  }  
  


/*-------------- Product detail page -----------------*/
/* --- CONTAINER & LAYOUT --- */
.dash-container {
  max-width: 1200px;
  margin: var(--s-32) auto;
  padding: 0 var(--s-16);
}

.detail-card-premium {
  background: var(--organic-cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--s-32);
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* 60/40 Split */
  gap: 48px;
  align-items: start;
}

/* --- 1. CLICKABLE STORE HEADER --- */
.store-link-wrapper {
  grid-column: span 2; 
  text-decoration: none;
  display: flex;
  flex-direction: column;
  width: fit-content;
  padding: var(--s-8) var(--s-24);
  margin-bottom: var(--s-16);
  border-left: 5px solid var(--harvest-mustard);
  background: rgba(31, 61, 43, 0.03);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: all 0.3s ease;
}

.store-link-wrapper:hover {
  background: rgba(212, 160, 23, 0.1);
  transform: translateX(8px);
}

.detail-store-name {
  color: var(--deep-forest-green);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.store-location-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-grey);
  margin-top: 4px;
}

.store-meta-text {
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- 2. FULL IMAGE CAROUSEL (Scroll & Snap) --- */
.detail-image-premium {
  position: relative;
  width: 100%;
  background: #EBE7DD; /* Backdrop for contained images */
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-photo-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  height: 500px;
  -webkit-overflow-scrolling: touch;
}

/* Hide Scrollbar */
.product-photo-carousel::-webkit-scrollbar { display: none; }

.product-photo-carousel img {
  min-width: 100%;
  height: 100%;
  object-fit: contain; /* SHOWS FULL IMAGE WITHOUT CROPPING */
  scroll-snap-align: start;
  background: var(--organic-cream);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: var(--s-16) 0;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(31, 61, 43, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.dot.active {
  background: var(--harvest-mustard);
  transform: scale(1.4);
}

.badge-wholesale-detail {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--harvest-mustard);
  color: var(--deep-forest-green);
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- 3. PRODUCT INFO SECTION --- */
.detail-info-body {
  display: flex;
  flex-direction: column;
}

.detail-product-title {
  font-family: var(--font-heading);
  color: var(--deep-forest-green);
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: var(--s-16);
}

.detail-description {
  line-height: 1.7;
  color: var(--deep-forest-green);
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: var(--s-32);
}

/* Specs Layout */
.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: var(--s-40);
}

.spec-card {
  background: white;
  padding: var(--s-24);
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 61, 43, 0.05);
}

.spec-label {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--text-grey);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.spec-value-mustard {
  color: var(--harvest-mustard);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
}

.spec-value-forest {
  color: var(--deep-forest-green);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

/* --- 4. ACTION BUTTON --- */
.btn-action-large {
  width: 100%;
  background: var(--deep-forest-green);
  color: var(--organic-cream);
  border: none;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-action-large:hover {
  background: var(--harvest-mustard);
  color: var(--deep-forest-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}

/* --- 5. ENLARGED QUANTITY MODAL --- */
.premium-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  width: 95%;
  max-width: 500px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  background: var(--organic-cream);
}

.dialog-inner {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dialog-title {
  font-family: var(--font-heading);
  color: var(--deep-forest-green);
  font-size: 2rem;
  text-align: center;
  margin: 0;
}

.dialog-input {
  width: 100%;
  padding: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid rgba(31, 61, 43, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--deep-forest-green);
}

.dialog-footer {
  display: flex;
  gap: 16px;
}

.btn-confirm-mustard {
  flex: 2;
  background: var(--harvest-mustard);
  color: var(--deep-forest-green);
  padding: 18px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.btn-cancel {
  flex: 1;
  background: transparent;
  border: 2px solid var(--deep-forest-green);
  color: var(--deep-forest-green);
  padding: 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.premium-dialog::backdrop {
  background: rgba(31, 61, 43, 0.85);
  backdrop-filter: blur(5px);
}

/* --- MOBILE STACK --- */
@media (max-width: 768px) {
  .detail-card-premium {
      grid-template-columns: 1fr;
      padding: var(--s-24);
      gap: 32px;
  }
  
  .product-photo-carousel { height: 350px; }
  .detail-product-title { font-size: 2.2rem; }
  .store-link-wrapper { grid-column: span 1; }
}


/*-------------------- Store Page ---------------------*/
/* --- STORE HEADER SECTION --- */
.store-banner-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--deep-forest-green) 0%, #2c523a 100%);
  border-radius: var(--radius-lg);
  padding: var(--s-40);
  margin-bottom: var(--s-40);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--organic-cream);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.store-banner-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(var(--harvest-mustard) 0.5px, transparent 0.5px);
  background-size: 30px 30px;
  opacity: 0.1;
}

.store-profile-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-32);
  z-index: 2;
}

.store-avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--harvest-mustard);
  overflow: hidden;
  background: var(--organic-cream);
  flex-shrink: 0;
}

.store-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-title-large {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 0 0 8px 0;
  color: var(--organic-cream) !important; /* Forces cream over default link blue */
}

.store-description-text {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: var(--s-16);
  line-height: 1.5;
}

.store-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- MESSAGE BUTTON --- */
.btn-message-floating {
  position: relative;
  z-index: 2;
  background: var(--harvest-mustard);
  color: var(--deep-forest-green) !important;
  text-decoration: none !important;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  transition: 0.3s ease;
}

.btn-message-floating img {
  width: 20px;
  filter: brightness(0) saturate(100%) invert(18%) sepia(16%) saturate(1415%) hue-rotate(94deg) brightness(96%) contrast(92%);
}

/* --- PRODUCT GRID RESET (The "No Blue" Fix) --- */
.market-grid-premium {
  margin-top: var(--s-32);
}

.section-label-forest {
  color: var(--deep-forest-green);
  border-left: 5px solid var(--harvest-mustard);
  padding-left: 15px;
  margin-bottom: var(--s-24);
}

/* This targets your card link specifically to stop the blue underlines */
.card-link-full {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}

/* Re-asserting your design colors inside the card link */
.card-link-full .item-title {
  color: var(--deep-forest-green) !important;
  text-decoration: none !important;
}

.card-link-full .item-price {
  color: var(--harvest-mustard) !important;
}

/* --- MOBILE --- */
@media (max-width: 992px) {
  .store-banner-wrap {
      flex-direction: column;
      text-align: center;
      padding: var(--s-32) var(--s-16);
  }
  .store-profile-container { flex-direction: column; }
  .btn-message-floating { width: 100%; justify-content: center; }
}


/*---------------Cart-----------------*/
/* --- CART WRAPPER & GRID --- */
.cart-wrapper-premium {
  max-width: 1200px;
  margin: var(--s-32) auto;
}

.cart-heading-forest {
  color: var(--deep-forest-green);
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: var(--s-32);
  border-bottom: 2px solid var(--harvest-mustard);
  display: inline-block;
  padding-bottom: var(--s-8);
}

.cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px; /* Main column + Sticky Sidebar */
  gap: 40px;
  align-items: start;
}

/* --- CART ITEM CARDS --- */
.cart-items-column {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
}

.cart-item-card {
  background: var(--organic-cream);
  border-radius: var(--radius-md);
  padding: var(--s-16) var(--s-24);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 61, 43, 0.05);
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-item-info img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: white;
}

.cart-item-name {
  color: var(--deep-forest-green);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.cart-item-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-price {
  color: var(--harvest-mustard);
  font-weight: 800;
}

.cart-item-qty {
  font-size: 0.85rem;
  color: var(--text-grey);
}

/* --- ACTIONS (Remove/Clear) --- */
.btn-remove-item {
  background: transparent;
  color: #d93025; /* Standard alert red for removal */
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-clear-organic {
  background: transparent;
  color: var(--deep-forest-green);
  border: 1px solid var(--deep-forest-green);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  margin-top: var(--s-24);
  width: fit-content;
}

.btn-clear-organic:hover {
  background: rgba(31, 61, 43, 0.05);
}

/* --- STICKY SUMMARY CARD --- */
.cart-summary-sticky {
  position: sticky;
  top: 100px; /* Under your sticky nav */
}

.summary-card-premium {
  background: white;
  padding: var(--s-32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--organic-cream);
}

.summary-title {
  color: var(--deep-forest-green);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: var(--s-24);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--s-16);
}

.total-value-mustard {
  color: var(--harvest-mustard);
  font-size: 1.4rem;
  font-weight: 800;
}

.summary-hr {
  border: 0;
  border-top: 1px solid rgba(31, 61, 43, 0.1);
  margin: var(--s-24) 0;
}

.btn-checkout-mustard {
  display: block;
  background: var(--harvest-mustard);
  color: var(--deep-forest-green) !important;
  text-align: center;
  text-decoration: none !important;
  padding: 18px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.1rem;
  transition: 0.3s;
}

.btn-checkout-mustard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}

.trust-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-grey);
  margin-top: 15px;
}

/* --- EMPTY STATE --- */
.empty-cart-state {
  text-align: center;
  padding: var(--s-40);
  background: var(--organic-cream);
  border-radius: var(--radius-lg);
}

/* --- MOBILE --- */
@media (max-width: 992px) {
  .cart-layout-grid {
      grid-template-columns: 1fr;
  }
  
  .cart-summary-sticky {
      position: relative;
      top: 0;
  }
  
  .cart-item-card {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
  }
  
  .cart-item-actions {
      width: 100%;
      text-align: right;
  }
}

/*--------------- Checkout --------------------*/
/* --- CHECKOUT LAYOUT --- */
.checkout-wrapper-premium {
  max-width: 1100px;
  margin: var(--s-32) auto;
}

.checkout-heading-forest {
  color: var(--deep-forest-green);
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: var(--s-32);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

/* --- PREMIUM FORM STYLING --- */
.premium-form-organic {
  background: white;
  padding: var(--s-32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: var(--s-24);
}

.form-section-title {
  color: var(--deep-forest-green);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--s-8);
}

.input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--deep-forest-green);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.premium-input {
  width: 100%;
  padding: 14px 16px;
  background-color: var(--organic-cream);
  border: 1px solid rgba(31, 61, 43, 0.1);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--deep-forest-green);
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease;
}

.premium-input:focus {
  border-color: var(--harvest-mustard);
}

/* Form Grids */
.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
}

/* --- ADDRESS AUTOCOMPLETE DROPDOWN --- */
.autocomplete-container {
  position: relative;
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}

.suggestions-dropdown li {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--organic-cream);
}

.suggestions-dropdown li:hover {
  background: var(--organic-cream);
}

/* --- DELIVERY INFO BOX (JS Injected) --- */
.delivery-calc-box {
  background: rgba(212, 160, 23, 0.08);
  border-left: 4px solid var(--harvest-mustard);
  padding: var(--s-16);
  border-radius: 4px;
  font-weight: 600;
  color: var(--deep-forest-green);
}

/* --- PAYMENT BUTTON --- */
.btn-pay-mustard {
  width: 100%;
  background: var(--harvest-mustard);
  color: var(--deep-forest-green);
  border: none;
  padding: 20px;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.btn-pay-mustard:hover {
  transform: translateY(-3px);
}

/* --- SUMMARY CARD --- */
.summary-card-organic {
  background: var(--organic-cream);
  padding: var(--s-24);
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 61, 43, 0.05);
}

.summary-title {
  color: var(--deep-forest-green);
  margin-bottom: var(--s-16);
  font-weight: 700;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: var(--s-12);
}

.summary-divider {
  border: 0;
  border-top: 1px solid rgba(31, 61, 43, 0.1);
  margin: var(--s-16) 0;
}

.trust-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-grey);
}

/* --- RESPONSIVE --- */
@media (max-width: 850px) {
  .checkout-grid {
      grid-template-columns: 1fr;
  }
  
  .checkout-summary-column {
      order: -1; /* Show summary first on mobile */
  }
}


/* -------------- messages ----------------*/
/* MESSAGES WRAPPER */
.messages-wrapper-premium {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.messages-heading-forest {
  font-family: 'Playfair Display', serif;
  color: var(--forest-green);
  margin-bottom: 30px;
  font-size: 2rem;
}

.chat-list-container {
  background: white;
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

/* INDIVIDUAL CHAT CARDS */
.chat-item-card {
  border-bottom: 1px solid var(--organic-cream);
  transition: background 0.3s ease;
}

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

.chat-item-card:hover {
  background-color: var(--organic-cream);
}

.chat-link-wrapper {
  text-decoration: none;
  display: block;
  padding: 20px;
}

.chat-item-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* AVATAR STYLE */
.chat-avatar-placeholder {
  width: 50px;
  height: 50px;
  background-color: var(--forest-green);
  color: var(--organic-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chat-text-meta {
  flex-grow: 1;
}

.chat-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.chat-display-name {
  color: var(--forest-green);
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
}

.chat-timestamp {
  font-size: 0.8rem;
  color: var(--harvest-mustard);
  font-weight: 600;
}

.chat-preview-text {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

/* EMPTY STATE */
.empty-messages-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--forest-green);
}

.empty-icon {
  width: 80px;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* MOBILE ADAPTATION */
@media (max-width: 600px) {
  .messages-wrapper-premium {
      padding: 20px 10px;
  }
  .chat-avatar-placeholder {
      width: 45px;
      height: 45px;
  }
}

/*---------- Chat --------------*/
/* Premium Organic Theme Design Variables */
:root {
  --organic-cream: #F5F1E8;    /* 60% base structural backgrounds */
  --deep-forest: #1F3D2B;      /* 30% brand visual hierarchy typography */
  --harvest-mustard: #D4A017;  /* 10% active highlights CTA fields */
  --white-pure: #FFFFFF;
  --gray-soft: #EAE3D2;
}

/* Container framework wrapper */
.chat-log-premium {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column !important; /* Forces strict vertical layout cascade */
  gap: 1.25rem;
  background-color: var(--organic-cream);
  width: 100%;
}

/* Structural block row row styling */
.message-bubble-wrapper {
  display: block; /* Overrides conflicting global container rules */
  width: 100%;
  clear: both;
}

/* Inner message box wrapper settings */
.message-bubble {
  max-width: 70%;
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
 RIGHT SIDE SIDE CONFIGURATION: Sent by Current Logged-in User
 ========================================================================== */
.message-bubble-wrapper.sent-by-me {
  text-align: right;
}

.message-bubble-wrapper.sent-by-me .message-bubble {
  background-color: var(--deep-forest) !important;
  color: var(--organic-cream) !important;
  border-radius: 18px 18px 4px 18px !important;
  margin-left: auto !important; /* Pushes element tightly against the right wall */
  margin-right: 0 !important;
  align-items: flex-end;
}

.message-bubble-wrapper.sent-by-me .message-sender {
  color: var(--harvest-mustard);
  text-align: right;
  display: block;
}

.message-bubble-wrapper.sent-by-me .message-text {
  text-align: right;
  color: var(--organic-cream);
}

/* ==========================================================================
 LEFT SIDE CONFIGURATION: Received from Counterpart Partner
 ========================================================================== */
.message-bubble-wrapper.received-by-them {
  text-align: left;
}

.message-bubble-wrapper.received-by-them .message-bubble {
  background-color: var(--white-pure) !important;
  color: var(--deep-forest) !important;
  border: 1px solid var(--gray-soft) !important;
  border-radius: 18px 18px 18px 4px !important;
  margin-right: auto !important; /* Pushes element tightly against the left wall */
  margin-left: 0 !important;
  align-items: flex-start;
}

.message-bubble-wrapper.received-by-them .message-sender {
  color: var(--harvest-mustard);
  text-align: left;
  display: block;
}

.message-bubble-wrapper.received-by-them .message-text {
  text-align: left;
  color: var(--deep-forest);
}

/* Simple text resets */
.message-sender {
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 2px;
}

.message-text {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}


.no-messages {
  text-align: center;
  color: var(--deep-forest);
  opacity: 0.6;
  font-style: italic;
  margin-top: auto;
  margin-bottom: auto;
}

/* Input Bar Styling (10% Harvest Mustard Pop) */
.chat-input-bar {
  padding: 1.25rem 1.5rem;
  background-color: var(--white-pure);
  border-top: 1px solid var(--gray-soft);
}

.input-inner-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

#chat-message-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--gray-soft);
  border-radius: 30px;
  background-color: var(--organic-cream);
  color: var(--deep-forest);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

#chat-message-input:focus {
  border-color: var(--deep-forest);
}

.btn-send-mustard {
  background-color: var(--harvest-mustard);
  color: var(--white-pure);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.btn-send-mustard:hover {
  background-color: #bfa313;
  transform: scale(1.05);
}

.btn-send-mustard svg {
  transform: translate(-1px, 1px);
}










/*----------------- delivery location cord -------------------*/
.search-container { width: 350px; margin: auto; position: relative; }
.suggestions-list { 
    position: absolute; width: 100%; background: #fff; border: 1px solid #ccc;
    list-style: none; padding: 0; margin: 0; z-index: 10;
}
.suggestions-list li { padding: 10px; cursor: pointer; border-bottom: 1px solid #eee; }
.suggestions-list li:hover { background: #f0f0f0; }



/*----------- Form ----------------*/
/* Base Container */
.upload-form {
    max-width: 900px;
    margin: 2rem auto;
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Main Section Card */
.main-form-section {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.field-wrapper {
    flex: 1 1 calc(50% - 20px); /* Two columns for main info */
    display: flex;
    flex-direction: column;
}

/* Variants Grid Card */
.formset-container {
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
}

.variants {
    background: #F5F1E8;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Auto-responsive columns */
    gap: 12px;
}

/* Inputs */
.product-input, .variant-fields input, .variant-fields select {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.submit-btn {
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
}

/* Title styling */
.form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.section-subtitle { font-size: 1.1rem; font-weight: 600; margin: 2rem 0 1rem; }

/* Edit Mode Variant Card */
.variants.edit-mode {
    display: flex; /* Side-by-side: Image | Fields */
    gap: 20px;
    align-items: start;
    border-left: 4px solid #000; /* Visual cue for individual variants */
}

.variant-image-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.variant-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

/* Specific styling for the Delete checkbox provided by Django */
.delete-box {
    background: #fff1f2;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #fda4af;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delete-box label { color: #be123c; margin: 0; font-size: 12px; }

/* Form Footer */
.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.cancel-link {
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.cancel-link:hover { text-decoration: underline; }


/* Specific layout for Store creation */
.form-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.inner-section-title {
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

/* Make the description or address take up the whole row */
.full-width {
    flex: 1 1 100% !important;
}

/* Style for textareas (Description) */
textarea.product-input {
    min-height: 120px;
    resize: vertical;
}

.help-text {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.field-wrapper input[type="file"] {
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 14px;
  width: 100%;
  cursor: pointer;
}

/* Style the file input clear checkbox if visible during editing */
.field-wrapper a {
  color: #000;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
}

/* Global Form Validation Error Styles */
.errorlist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  color: #be123c;
  font-size: 12px;
  font-weight: 500;
}


/* -------------- Dashboard --------------- */
/* --- DASHBOARD WRAPPER --- */
.dash-container.upload-form {
  max-width: 1440px;
  margin: var(--s-32) auto;
  padding: 0 var(--s-32);
  box-sizing: border-box;
}

.dash-title {
  font-family: var(--font-heading);
  color: var(--deep-forest-green);
  font-size: 2.5rem;
  margin-bottom: var(--s-32);
}

/* --- 1. EMPTY STATE (User without Store) --- */
.dash-empty-state {
  background: var(--organic-cream);
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(31, 61, 43, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--s-32);
}

.btn-mustard {
  background-color: var(--harvest-mustard);
  color: var(--deep-forest-green) !important;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
}

.btn-mustard:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}

/* --- 2. DASHBOARD HEADER (Merchant & Staff View) --- */
.dash-header {
  background: white;
  padding: var(--s-32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid rgba(31, 61, 43, 0.05);
}

.dash-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--organic-cream);
  border: 3px solid var(--organic-cream);
  flex-shrink: 0;
}

.dash-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-h2 {
  font-family: var(--font-heading);
  color: var(--deep-forest-green);
  font-size: 1.8rem;
  margin: 0;
}

.dash-meta {
  color: var(--text-grey);
  font-weight: 500;
  margin: 4px 0;
}

.dash-link {
  color: var(--harvest-mustard);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
}

.dash-link:hover {
  text-decoration: underline;
}

/* Financial Pills (Metric Display) */
.dash-pill {
  background: var(--organic-cream);
  padding: var(--s-16) var(--s-24);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 150px;
}

.dash-pill label {
  display: block;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--text-grey);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.dash-pill p {
  color: var(--deep-forest-green);
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0;
}

/* --- 3. TAB NAVIGATION (AJAX Links) --- */
.dashboard-nav {
  display: flex;
  gap: 12px;
  margin: var(--s-32) 0;
  overflow-x: auto;
  padding-bottom: 10px;
}

.nav-btn {
  background: white;
  color: var(--deep-forest-green);
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1.5px solid rgba(31, 61, 43, 0.1);
  white-space: nowrap;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.nav-btn:hover {
  border-color: var(--harvest-mustard);
  color: var(--harvest-mustard);
}

.nav-btn.active {
  background: var(--deep-forest-green);
  color: var(--organic-cream);
  border-color: var(--deep-forest-green);
}

/* --- 4. CONTENT AREA & AJAX LOADING --- */
#dashboard-content-area {
  transition: opacity 0.3s ease;
  min-height: 400px;
}

/* --- 5. STAFF ADMINISTRATION (Store Grid View) --- */
.section-subtitle {
  font-family: var(--font-heading);
  color: var(--deep-forest-green);
  font-size: 1.5rem;
  margin: var(--s-40) 0 var(--s-24) 0;
}

.dash-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--s-24);
}

.admin-row {
  background: white;
  padding: var(--s-24);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(31, 61, 43, 0.05);
  transition: all 0.3s ease;
}

.admin-row:hover {
  transform: translateY(-5px);
  border-color: var(--harvest-mustard);
}

.dash-h4 a {
  color: var(--deep-forest-green);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.btn-forest {
  background: var(--deep-forest-green) !important;
  color: var(--organic-cream) !important;
  border: none !important;
}

/* --- 6. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .dash-header {
      flex-direction: column;
      text-align: center;
      padding: var(--s-24);
  }
  
  .dash-pill { width: 100%; }
  
  .dash-admin-grid {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dash-container.upload-form {
      padding: 0 var(--s-16);
  }

  .dash-title {
      font-size: 1.8rem;
  }

  .admin-row {
      flex-direction: column;
      gap: 15px;
      text-align: center;
  }

  .dashboard-nav {
      gap: 8px;
  }
  
  .nav-btn {
      padding: 8px 16px;
      font-size: 0.8rem;
  }
}

/*------------------ Transaction partials------------------*/
/* --- TRANSACTION WRAPPER --- */
.transaction-grid {
  display: flex;
  flex-direction: column;
  gap: var(--s-16);
  margin-top: var(--s-24);
}

.transaction-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--s-24);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 61, 43, 0.05);
  display: flex;
  flex-direction: column;
}

/* Header with Order ID and Status */
.transaction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--organic-cream);
  padding-bottom: var(--s-12);
  margin-bottom: var(--s-12);
}

.order-id-label {
  font-weight: 800;
  color: var(--deep-forest-green);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Grid Row for Item Details */
.transaction-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  align-items: center;
  gap: var(--s-16);
  padding: var(--s-8) 0;
}

.item-name-forest {
  color: var(--deep-forest-green);
  font-weight: 700;
  margin: 0;
}

.item-qty-meta {
  color: var(--text-grey);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.item-total-mustard {
  color: var(--harvest-mustard);
  font-weight: 900;
  text-align: right;
  font-size: 1.2rem;
  margin: 0;
}

/* Status Badges */
.status-badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.status-delivered {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-pending {
  background: rgba(212, 160, 23, 0.1);
  color: var(--harvest-mustard);
}

/* Empty State Styling */
.no-data-msg {
  text-align: center;
  padding: 60px var(--s-24);
  background: var(--organic-cream);
  border-radius: var(--radius-lg);
  color: var(--text-grey);
  font-weight: 600;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 600px) {
  .transaction-item-row {
      grid-template-columns: 1fr;
      gap: 8px;
      text-align: left;
  }
  
  .item-total-mustard {
      text-align: left;
      margin-top: 5px;
      padding-top: 5px;
      border-top: 1px dashed var(--organic-cream);
  }
}


