/* ── Page background ── */
.toko-page-bg {
  background: #f5f5f5;
  min-height: 100vh;
}

.balance-card { 
  border-radius: 12px;
  padding: 0px 15px; 
  border: 1px solid #ff5200;
  margin: 10px 20px;
}
/* ── Main wrapper ── */
.toko-main-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  min-height: calc(100vh - 60px);
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .toko-main-wrapper { 
    margin: 2rem auto 4rem auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    overflow: hidden;
    padding-bottom: 20px;
    min-height: unset;
  }
}

/* ── Shop Header Banner ── */
.toko-shop-header {
  background: linear-gradient(135deg, #ff5200 0%, #ff783e 100%);
  padding: 30px 20px 60px;
  color: white;
}

@media (min-width: 768px) {
  .toko-shop-header {
    padding: 40px 40px 80px;
    border-radius: 24px 24px 0 0;
  }
}

.toko-shop-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.toko-shop-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: #eee;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .toko-shop-avatar { width: 80px; height: 80px; }
}

.toko-shop-info h5 {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.1rem;
  color: white;
}

@media (min-width: 768px) {
  .toko-shop-info h5 { font-size: 1.4rem; }
}

.toko-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.15);
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.2s;
}

.toko-shop-link:hover { background: rgba(0, 0, 0, 0.25); color: white; }
.toko-shop-link:active { transform: scale(0.95); }

/* ── Stat Card ── */
.toko-stat-container {
  margin-top: -30px;
  padding: 0 15px;
  position: relative;
  z-index: 5;
}

@media (min-width: 768px) {
  .toko-stat-container {
    margin-top: -40px;
    padding: 0 40px;
  }
}

.toko-stat-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.toko-stat-item {
  text-align: center;
  border-right: 1px solid #eee;
  flex: 1;
}

.toko-stat-item:last-child { border-right: none; }

.toko-stat-value {
  font-weight: 800;
  color: #ff5200;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .toko-stat-value { font-size: 1.5rem; }
}

.toko-stat-label {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ── Content Area ── */
.toko-content-area {
  padding: 0;
}

@media (min-width: 768px) {
  .toko-content-area {
    padding: 0 38px;
    margin-top: 0;
  }
}

/* ── Section title ── */
.toko-section-title {
  padding: 0 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #222;
}

@media (min-width: 768px) {
  .toko-section-title { padding: 0; font-size: 1rem; }
}

/* ── Order status box ── */
.toko-order-box {
  background: white;
  margin: 10px 20px;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #ff5200;
}

@media (min-width: 768px) {
  .balance-card{
    margin: 10px 0;
  }
  .toko-order-box {
    margin: 10px 0;
    box-shadow: none !important;
  }
}

.toko-order-item {
  transition: 0.2s;
  border-radius: 12px !important;
  cursor: pointer;
}

.toko-order-item:hover {
  background: #fafafa !important;
  transform: translateY(-2px);
}

.toko-status-wrap {
  position: relative;
  display: inline-block;
}

.toko-badge-notif {
  position: absolute;
  top: -5px;
  right: -12px;
  background: #ff5200;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  border: 2px solid white;
  min-width: 18px;
  line-height: 1;
  text-align: center;
}

.toko-order-label {
  font-size: 0.7rem;
  color: #444;
  margin-top: 4px;
}

/* ── Menu Grid ── */
.toko-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 15px 20px 20px;
}

@media (min-width: 768px) {
  .toko-menu-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 15px 0 20px;
  }
}

.toko-menu-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none !important;
}

.toko-menu-item:hover { transform: translateY(-3px); }
.toko-menu-item:active .toko-menu-icon { transform: scale(0.9); }

.toko-menu-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ff5200 0%, #ff783e 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  transition: 0.2s;
}

@media (min-width: 768px) {
  .toko-menu-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    border-radius: 18px;
  }
}

.toko-menu-item span {
  font-size: 0.7rem;
  color: #333;
  line-height: 1.3;
  display: block;
  font-weight: 500;
}

/* ── Desktop Sidebar Card ── */
.toko-sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #eee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); 
  margin: 20px 20px 20px 0px;
}

.toko-btn-pelajari {
  border: 1.5px solid #ff5200 !important;
  color: #ff5200 !important;
}

.toko-btn-pelajari:hover {
  background: #ff5200 !important;
  color: white !important;
}
